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: extend pool configuration #10985

Merged
merged 3 commits into from
Sep 18, 2024
Merged

Conversation

greged93
Copy link
Contributor

Adds a configurable minimal base fee and block gas limit for the pool, which up to now defaulted to MIN_PROTOCOL_BASE_FEE and ETHEREUM_BLOCK_GAS_LIMIT.

Comment on lines 53 to 55
/// The max gas limit of the block
#[arg(long = "txpool.block-gas-limit", default_value_t = ETHEREUM_BLOCK_GAS_LIMIT)]
pub block_gas_limit: u64,
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is slightly problematic because we also use this for op,base and I'd like to solve this differently, where do enforce this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

hmm, this is actually a different problem and we need to make this dynamic based on the newest head.
can we rephrase the docs, so it becomes obvious that this is the default enforced gas limit.

I'm opening an issue for the update

Copy link
Collaborator

Choose a reason for hiding this comment

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

@mattsse mattsse added this pull request to the merge queue Sep 18, 2024
@mattsse mattsse added the A-tx-pool Related to the transaction mempool label Sep 18, 2024
Merged via the queue into paradigmxyz:main with commit 6d49dc1 Sep 18, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tx-pool Related to the transaction mempool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants