feat(ctb): MPT Fuzzing contract changes#4234
Conversation
|
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
fb36a91 to
fd4abc8
Compare
76bf8ed to
afccf16
Compare
fd4abc8 to
51a64b8
Compare
afccf16 to
9301c64
Compare
9301c64 to
d16cc7a
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## clabby/ctb-trie/go-fuzz #4234 +/- ##
===========================================================
+ Coverage 41.88% 42.64% +0.75%
===========================================================
Files 297 322 +25
Lines 16730 17419 +689
Branches 660 788 +128
===========================================================
+ Hits 7008 7428 +420
- Misses 9217 9483 +266
- Partials 505 508 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
51a64b8 to
7877931
Compare
6bd24cb to
bb3f1a5
Compare
smartcontracts
left a comment
There was a problem hiding this comment.
Fantastic work here
|
Hey @clabby! This PR has merge conflicts. Please fix them before continuing review. |
|
This PR has been added to the merge queue, and will be merged soon. |
|
Hey @clabby, this pull request failed to merge and has been dequeued from the merge train. If you believe your PR failed in the merge train because of a flaky test, requeue it by commenting with |
Remove `go-fuzz`
1b42014 to
ae7947f
Compare
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |

Overview
Adds a fuzz test input generator for testing Bedrock's
MerkleTrie.sol.Go version of #3847
Tests
Adds fuzz tests for
MerkleTrie:testFuzz_get_validProofs_successtestFuzz_get_invalidRoot_revertstestFuzz_get_extraProofElements_revertstestFuzz_get_invalidLargeInternalHash_revertstestFuzz_get_invalidInternalNodeHash_revertstestFuzz_get_corruptedProof_revertstestFuzz_get_invalidDataRemainder_revertstestFuzz_get_prefixedValidKey_revertstestFuzz_get_emptyKey_revertstestFuzz_get_partialProof_revertsMetadata
ENG-3048