-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
test: add cast proof test #6403
Conversation
735bc30
to
06f6aa1
Compare
Can you also add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thing is the proofs that are generated from 0
and bytes32(0)
are not the same, I found this when verifying them against an MPT where the proof from cast proof 0
reverts and cast proof bytes32(0)
was a valid proof, thats why I was updating the documentation
hmm, odd, as shown here both are parsed the same |
Ok so my above comment is wrong, both proofs are the same however the proof I get from my eth_getProof rpc when RLP encoding generates the correct output from an MPT, but the proof from |
Ok I figured it out, it ended up being error in my scripts interacting with cast proof sorry for the confusion |
ref foundry-rs/book#1052