Skip to content

config: apply default value for Eth.TxPool and Eth.GPO in config.toml#3023

Closed
zzzckck wants to merge 1 commit intobnb-chain:developfrom
zzzckck:config_default_value_gen_2
Closed

config: apply default value for Eth.TxPool and Eth.GPO in config.toml#3023
zzzckck wants to merge 1 commit intobnb-chain:developfrom
zzzckck:config_default_value_gen_2

Conversation

@zzzckck
Copy link
Collaborator

@zzzckck zzzckck commented Apr 14, 2025

Description

similar to #3022
make it easier for node operator to setup config.toml

And also change the default value of TxPool::PriceLimit to 1Gwei, which is the latest testnet/mainnet value.

Rationale

NA

Example

NA

Changes

NA

@MatusKysel MatusKysel requested a review from Copilot April 14, 2025 08:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

core/txpool/legacypool/legacypool.go:172

  • [nitpick] Consider replacing the hardcoded literal 1000000000 with a named constant (e.g., OneGwei) to improve clarity and maintainability.
PriceLimit: 1000000000, // by default 1 gwei

@zzzckck zzzckck marked this pull request as draft April 14, 2025 09:13
@zzzckck zzzckck closed this Apr 14, 2025
@zzzckck zzzckck deleted the config_default_value_gen_2 branch May 14, 2025 06:11
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.

5 participants

Comments