Skip to content

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

Merged
zzzckck merged 1 commit intobnb-chain:developfrom
zzzckck:default_gas_ceil
Sep 5, 2024
Merged

txpool: set default GasCeil from 30M to 0#2688
zzzckck merged 1 commit intobnb-chain:developfrom
zzzckck:default_gas_ceil

Conversation

@zzzckck
Copy link
Copy Markdown
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
@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