Skip to content
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

Extracted Gas Limit Multiplier from gas estimators to WrappedEvmEstimator #12534

Conversation

silaslenihan
Copy link
Contributor

@silaslenihan silaslenihan commented Mar 21, 2024

Previously, the gas limit multiplier was applied within each specific gas estimator. This PR extracts that logic to be carried out by WrappedEvmEstimator, enabled a simplified, all-encompassing calculation.

Copy link
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset.

FelixFan1992 and others added 2 commits March 21, 2024 19:38
* improve some nits and refactor foundry tests

* add changesets

* fix

* fix tests

* write registerUpkeep() foundry tests for auto v2.3 (#12535)

move addFunds() tests to foundry for auto v2.3

add tests for onTokenTransfer()

---------

Co-authored-by: Ryan Hall <[email protected]>
@silaslenihan silaslenihan requested review from a team and RensR as code owners March 21, 2024 23:38
@silaslenihan silaslenihan force-pushed the BCI-2702-Apply-LimitMultiplier-to-gas-limit-in-all-gas-estimators branch from 1e58dc0 to ec51b7b Compare March 21, 2024 23:39
@silaslenihan silaslenihan force-pushed the BCI-2702-Apply-LimitMultiplier-to-gas-limit-in-all-gas-estimators branch from ec51b7b to 58f0336 Compare March 22, 2024 00:18
amit-momin
amit-momin previously approved these changes Mar 22, 2024
@dimriou dimriou added this pull request to the merge queue Mar 28, 2024
Merged via the queue into develop with commit bd532b5 Mar 28, 2024
102 checks passed
@dimriou dimriou deleted the BCI-2702-Apply-LimitMultiplier-to-gas-limit-in-all-gas-estimators branch March 28, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants