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

feat: introduce min estimated gas limit #3617

Merged
merged 1 commit into from Dec 2, 2022
Merged

feat: introduce min estimated gas limit #3617

merged 1 commit into from Dec 2, 2022

Conversation

mrekucci
Copy link
Contributor

@mrekucci mrekucci commented Dec 2, 2022

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Introduces the possibility to specify a minimum gas limit for a transaction in case the gas limit is estimated.


This change is Reviewable

@mrekucci mrekucci added the ready for review The PR is ready to be reviewed label Dec 2, 2022
@mrekucci mrekucci force-pushed the fix_gas_limit branch 2 times, most recently from a951df5 to 9915106 Compare December 2, 2022 14:49
@mrekucci mrekucci changed the title feat: introduce min gas limit feat: introduce min estimated gas limit Dec 2, 2022
Data: callData,
GasPrice: sctx.GetGasPrice(ctx),
GasLimit: sctx.GetGasLimit(ctx),
MinEstimatedGasLimit: 500_000,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrekucci can we add this to all the other calls in this pkg?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@mrekucci mrekucci merged commit 8656332 into master Dec 2, 2022
@mrekucci mrekucci deleted the fix_gas_limit branch December 2, 2022 16:17
@aloknerurkar aloknerurkar added this to the 1.10.0 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull-request ready for review The PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants