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

chore: Improve gas price for cancelled transactions in driver #3241

Open
sunce86 opened this issue Jan 17, 2025 · 0 comments
Open

chore: Improve gas price for cancelled transactions in driver #3241

sunce86 opened this issue Jan 17, 2025 · 0 comments
Labels
oncall Issue/PR for consideration during oncall rotation track:maintenance maintenance track

Comments

@sunce86
Copy link
Contributor

sunce86 commented Jan 17, 2025

Background

If transaction is submitted at block X, and cancelling transaction is sent at X+5 block, for example, then cancelling transaction needs to be sent with bumped gas price.

Currently, we bump the gas price with 1.125 factor. Instead, we need to bump it 5 times with 1.125 to assume the worst case scenario where all 5 blocks were full and base fee increased with max capacity.

I am not sure this is also valid for BASE, so the issue needs double checking though.

@sunce86 sunce86 added oncall Issue/PR for consideration during oncall rotation track:maintenance maintenance track labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oncall Issue/PR for consideration during oncall rotation track:maintenance maintenance track
Projects
None yet
Development

No branches or pull requests

1 participant