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: dynamic gas/pubdata price #365

Open
itegulov opened this issue Oct 29, 2024 · 0 comments
Open

feat: dynamic gas/pubdata price #365

itegulov opened this issue Oct 29, 2024 · 0 comments

Comments

@itegulov
Copy link
Contributor

itegulov commented Oct 29, 2024

There are two modes of operation: from a fork and independent. Both can be improved in how they set gas/pubdata price.

Fork

Current gas and pubdata price are taken from the fork at the moment of initialization and then never change. Which makes some amount of sense since we effectively "freeze" our fork view, but perhaps it would make sense to make it more dynamic to reflect production-like fluctuation.

Independent

era-test-node has default gas settings but they can be overridden via config. Perhaps we should allow a dynamic way to manipulate gas price or maybe manipulate prod-like fee params (e.g. manually set fake time txs spend in mempool). Also just generally consider time txs spend in mempool since we have one now.

@itegulov itegulov changed the title Dynamic gas/pubdata price feat: dynamic gas/pubdata price Nov 22, 2024
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

No branches or pull requests

1 participant