-
Notifications
You must be signed in to change notification settings - Fork 5k
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: increase gas limit validation threshold #29264
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [5a837f0]
Page Load Metrics (1666 ± 41 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
@@ -154,7 +154,7 @@ describe('AdvancedGasFeeGasLimit', () => { | |||
); | |||
expect( | |||
screen.queryByText( | |||
`Gas limit must be greater than 29999 and less than 7920050`, | |||
`Gas limit must be greater than 29999 and less than 30000000`, |
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.
isn't the lower limit 20999?
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.
yeah I also tried to fix that and got stuck until I realised that we have an error logic where we use editGasLimitOutOfBoundsV2
which accepts two values so in the mocking data we are sending originalGasEstimate: '0x78D9B2' (30000)
and there is this logic here changing the min to 29999
.
Builds ready [ecca93f]
Page Load Metrics (1796 ± 160 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [1480430]
Page Load Metrics (1689 ± 73 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
This PR aims to increase the gas limit validation threshold to 30M.
Related issues
Fixes: #21927
Manual testing steps
Screenshots/Recordings
Screencast.from.17-12-2024.08.51.19.webm
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist