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

Specify gas limit multiplier for relaying #432

Merged
merged 3 commits into from
Jul 13, 2022
Merged

Conversation

EricBolten
Copy link
Contributor

This adds a CLI option for specifying an Ethereum gas limit multiplier, and converts relay contract calls into legacy versions to account for a bug in ethers that does not respect manually set gas limits in EIP1559 transactions.

Note that manually specified gas limits will always be overwritten if the access list estimate is lower:

https://github.com/iqlusioninc/ethers-rs/blob/4959552eb667ed2c765f6c0123bb0b7352cf948e/ethers-providers/src/lib.rs#L183-L204

This adds a CLI option for specifying an Ethereum gas limit multiplier,
and converts relay contract calls into legacy versions to account for a
bug in ethers that does not respect manually set gas limits in EIP1559
transactions.
@EricBolten EricBolten temporarily deployed to CI July 12, 2022 22:58 Inactive
@EricBolten EricBolten temporarily deployed to CI July 13, 2022 00:21 Inactive
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.

3 participants