Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzing tests for ledger rpc #403

Merged
merged 55 commits into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from 51 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f7b4a80
Adding test rpc
theochap May 31, 2023
c8fc175
Adding test rpc
theochap May 31, 2023
2e8cb70
Adding test rpc
theochap May 31, 2023
22373fc
Tests rpc
theochap Jun 6, 2023
b956809
Tests rpc
theochap Jun 6, 2023
8a7c5c9
Testing rpc
theochap Jun 6, 2023
39824cd
Finishing the ledger rpc tests
theochap Jun 6, 2023
b25af17
Reverting TODO commit
theochap Jun 6, 2023
f2e3b6d
fixing rollup-config
theochap Jun 6, 2023
b8edbda
fixing dependencies
theochap Jun 6, 2023
74c794d
Fixing comments
theochap Jun 6, 2023
5c87030
Moving data structures to mocks
theochap Jun 6, 2023
0668e4f
Fixing pr comments
theochap Jun 7, 2023
3b30048
Changing curl to reqwest
theochap Jun 7, 2023
a72b97c
Fix merging conflicts
theochap Jun 7, 2023
867a59e
Fixing tests
theochap Jun 7, 2023
b9c76d1
Merge branch 'main' of github.com:Sovereign-Labs/sovereign into theo/…
theochap Jun 7, 2023
6900d32
adding more tests
theochap Jun 9, 2023
6a30323
Merging with main
theochap Jun 9, 2023
d6c27e3
Refactor tests
theochap Jun 9, 2023
0db4882
Adding proptest for get_head
theochap Jun 12, 2023
8c6872e
Adding proptest regression
theochap Jun 12, 2023
d88c448
Ledger getHead test
theochap Jun 13, 2023
2fc27c3
Get_batches
theochap Jun 14, 2023
9862be3
Finishing get batch
theochap Jun 14, 2023
717eb3c
Get_txs
theochap Jun 14, 2023
e897619
Get_events
theochap Jun 14, 2023
850dd74
Finishing ledger rpc fuzzing
theochap Jun 14, 2023
c9de376
Simple lint
theochap Jun 14, 2023
36e67e8
Remove unused methods
theochap Jun 14, 2023
0a85f40
Modify workflows to save the regression
theochap Jun 14, 2023
f581e1a
Try to force temp folder deletion
theochap Jun 15, 2023
a8cf96b
Fix lint
theochap Jun 16, 2023
5d3c8d1
Merging with main
theochap Jun 16, 2023
3f6f127
nit
theochap Jun 16, 2023
ebebcaa
re-enable flaky test
preston-evans98 Jun 19, 2023
d173a44
Use Arbitrary for Event proptest gen
preston-evans98 Jun 19, 2023
6f740b0
Try to save proptest regressions on cov
preston-evans98 Jun 19, 2023
fd73ee6
Use arbitrary for tx receipt
preston-evans98 Jun 19, 2023
0f52473
Rpc tests
preston-evans98 Jun 20, 2023
bb39b90
Merge branch 'main' into preston/rpc-tests
preston-evans98 Jun 20, 2023
4d34573
Merge branch 'main' into preston/rpc-tests
preston-evans98 Jun 20, 2023
c9fc6d1
Implement Arbitrary for BatchReceipts
preston-evans98 Jun 20, 2023
7345c93
Merge branch 'preston/rpc-tests' into theo/tests-rpc
preston-evans98 Jun 20, 2023
c6ccf75
Add bytes/serde dep to mocks
preston-evans98 Jun 20, 2023
d1b095b
Migrate ledger rpc proptests to any() impl
preston-evans98 Jun 20, 2023
b8b27e3
Fix clippy warnings
preston-evans98 Jun 20, 2023
6e8cc55
Update examples/demo-rollup/Cargo.toml
citizen-stig Jun 28, 2023
effab90
Address comments after discussion
citizen-stig Jun 28, 2023
19acf49
Use big-endian for serializing `u64_wrapper` keys in RocksDB (#443)
neysofu Jul 3, 2023
8470c7b
Linting
neysofu Jul 3, 2023
8d0af4c
Replace &Vec<...> with &[...]
neysofu Jul 3, 2023
9aaac75
Revert changes to .github/workflows/rust.yml
neysofu Jul 3, 2023
d2cd0bf
Small improvements to fuzzing.rs
neysofu Jul 3, 2023
729f4f0
Move MerkleHasher trait into fuzzing.rs
neysofu Jul 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- '**.md'
- "**.md"
pull_request:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- '**.md'
- "**.md"

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
with:
version: "v0.4.0"
- name: Run cargo test
run: cargo test
run: cargo test || find -type f -iname '*.proptest-regressions' -exec cat {} +
neysofu marked this conversation as resolved.
Show resolved Hide resolved
coverage:
runs-on: ubuntu-latest
env:
Expand Down
2 changes: 2 additions & 0 deletions examples/demo-rollup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ sha2 = { workspace = true }
reqwest = "0.11"
tendermint = "0.32"
tempfile = { workspace = true }
proptest = { workspace = true }
sov-rollup-interface = { path = "../../rollup-interface", features = ["fuzzing"] }
11 changes: 11 additions & 0 deletions examples/demo-rollup/proptest-regressions/test_rpc.txt

Large diffs are not rendered by default.

Loading