-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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(ctb): finalizeWithdrawalTransaction
gas limit dos (v2)
#5017
Conversation
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #5017 +/- ##
===========================================
+ Coverage 40.98% 41.00% +0.01%
===========================================
Files 339 339
Lines 20787 20790 +3
Branches 771 771
===========================================
+ Hits 8520 8524 +4
- Misses 11609 11611 +2
+ Partials 658 655 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Moving back into draft- docs could use some rewording + tests should preferably account for fluctuating dynamic gas in the external call. |
Hey @clabby! This PR has merge conflicts. Please fix them before continuing review. |
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
cd10ca1
to
87e0f66
Compare
Applied the |
Agree- Will poke Kelvin or Mark about this one if I come across them today 😄 |
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 definitely the best solution yet
2a66300
to
77eaeab
Compare
packages/contracts-bedrock/contracts/test/invariants/SafeCall.t.sol
Outdated
Show resolved
Hide resolved
packages/contracts-bedrock/contracts/test/invariants/SafeCall.t.sol
Outdated
Show resolved
Hide resolved
John's nits pt. 3
77eaeab
to
8be97a4
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
V2 of #4954, see that PR for the full explanation of the changes. This one implements @smartcontracts' proposed method of breaking out the
callWithMinGas
function intoSafeCall
and testing it independently, which is a good bit cleaner.Will be followed up with a PR to use the new
callWithMinGas
function in theCrossDomainMessenger
.Metadata
Fixes CLI-3387
Fixes CLI-3386