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

Parameterize base fee and max priority fee #478

Open
cam-schultz opened this issue Sep 5, 2024 · 0 comments
Open

Parameterize base fee and max priority fee #478

cam-schultz opened this issue Sep 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cam-schultz
Copy link
Collaborator

Context and scope
The base fee and max priority fee per gas are hardcoded in the relayer source. The hardcoded numbers are conservatively high to increase the chances of the tx being accepted by validators in low traffic scenarios. These same numbers may not be high enough in high traffic scenarios

Discussion and alternatives
We should expose these fee numbers as configuration options for each destination chain. The current hardcoded values can be the default values for these config options.

Open questions
Should we implement a module that dynamically scales these fees according to network activity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

1 participant