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

[Fireblocks] Pass in gas info when calling contract #160

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

ian-shim
Copy link
Contributor

It used to rely on Fireblocks' gas estimation by passing in HIGH as feeLevel parameter when creating a transaction.
However, this estimation doesn't guarantee that replacement (boosting) transaction increases the gas cost by > 15% than the previous transaction, which is a requirement for replacing a pending transaction.
We need to explicitly pass in the gas fee cap and priority fee cap instead of passing in feeLevel in this case.

Copy link
Collaborator

@samlaf samlaf left a comment

Choose a reason for hiding this comment

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

lgtm

@ian-shim ian-shim merged commit 9527525 into master Mar 25, 2024
3 checks passed
@ian-shim ian-shim deleted the fireblocks-gas-fees branch March 25, 2024 04:34
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.

2 participants