-
Notifications
You must be signed in to change notification settings - Fork 53
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
fix: override eth_getProof
to enable withdrawals
#97
Conversation
eth_getProof
to enable withdrawalseth_getProof
to enable withdrawals
|
||
// If we are targeting the withdrawal contract, then we only need to provide the storage | ||
// proofs for withdrawal. | ||
if address == WITHDRAWAL_CONTRACT { |
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.
is this something we want to bake into op-reth as well?
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.
I'd also like an e2e test, one for proving the withdrawal contract, one for proving something that isn't the withdrawal contract (to ensure the fallback works through refactors e.g.)
can take a look at our current e2e tests
9027de2
to
0dafa42
Compare
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.
looks good to me, great work bud
introduces [StorageRootProvider::storage_multiproof](paradigmxyz/reth#12879) that can be used on #97
closes #84 and closes #72
Overrides
eth_getProof
as to enable withdrawals