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

txpool: set default GasCeil from 30M to 0 #2688

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

zzzckck
Copy link
Collaborator

@zzzckck zzzckck commented Sep 5, 2024

Description

This PR tries to improve #2680
If the node did not set Eth.Miner in config.toml, the default GasCeil will be 30000000, it is not an accurate number for both BSC mainnet and testnet. Set it to 0 means disable the transaction GasLimit check, i.e. the TxPool will accept transactions with any GasLimit size.

Rationale

NA

Example

NA

Changes

NA

@zzzckck zzzckck changed the title txpool: set default GasCeil from to 0 txpool: set default GasCeil from 30M to 0 Sep 5, 2024
This PR tries to improve bnb-chain#2680
If the node did not set `Eth.Miner` in config.toml, the default GasCeil
will be 30000000, it is not an accurate number for both BSC mainnet and testnet.
Set it to 0 means disable the transaction GasLimit check, i.e. the TxPool will
accept transactions with any GasLimit size.
@zzzckck zzzckck merged commit e7e5d50 into bnb-chain:develop Sep 5, 2024
7 checks passed
@zzzckck zzzckck deleted the default_gas_ceil branch September 5, 2024 14:01
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