-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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(sdk): maybe add proof node #9663
Conversation
Warning Rate Limit Exceeded@smartcontracts has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 22 minutes and 24 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThe update encompasses a crucial patch for Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
aa3777d
to
c9cec31
Compare
Fixes a bug in the SDK that would cause it to be unable to prove certain types of withdrawals. Bug can be easily fixed on the client side by adding an extra proof element in certain cases.
c9cec31
to
d11e89d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #9663 +/- ##
============================================
+ Coverage 28.62% 40.75% +12.13%
============================================
Files 162 27 -135
Lines 7131 1742 -5389
Branches 1306 398 -908
============================================
- Hits 2041 710 -1331
+ Misses 4984 1032 -3952
+ Partials 106 0 -106
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
This is going over my head what bug this pr is fixing. Can you ELI5?
* fix(processor): maybe add proof node See also ethereum-optimism/optimism#9663 * test: add test cases for MaybeAddProofNode * chore: go mod tidy * chore(ci): run go test * feat: handle MaybeAddProofNode internal errors * chore: remove comments
Fixes a bug in the SDK that would cause it to be unable to prove certain types of withdrawals. Bug can be easily fixed on the client side by adding an extra proof element in certain cases.
Description
Fixes a bug in the SDK that would cause it to be unable to prove certain types of withdrawals. Bug can be easily fixed on the client side by adding an extra proof element in certain cases.
Tests
Adds a test for the case where a node is added and for the case where a node does not need to be added.