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(op-node): update l1 gas price with fixed value #65

Merged
merged 6 commits into from
Oct 18, 2023

Conversation

redhdx
Copy link
Contributor

@redhdx redhdx commented Oct 12, 2023

Description

Update l1 gas price

Rationale

Currently l1 gas price is calculated the average gas price of the non-zero-gas-price transactions in the block.
If there is no non-zero-gas-price transaction in the block, it returns 3 gwei. The method is not stable. So update it by using default value 5 gwei in testnet and 3 gwei in other networks according to networks' gas price after Fermat hard fork.

Example

Changes

Set l1 gas price with 5 gwei in testnet and 3 gwei in other networks after Fermat hard fork.

@owen-reorg owen-reorg merged commit faa7cac into bnb-chain:develop Oct 18, 2023
9 checks passed
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