Skip to content

core/txpool/legacypool: respect nolocals-setting (#28435)#231

Merged
trianglesphere merged 1 commit intooptimismfrom
jg/cherry_pick_txpool_fix
Jan 31, 2024
Merged

core/txpool/legacypool: respect nolocals-setting (#28435)#231
trianglesphere merged 1 commit intooptimismfrom
jg/cherry_pick_txpool_fix

Conversation

@trianglesphere
Copy link
Copy Markdown
Contributor

Description

This change adds a check to ensure that transactions added to the legacy pool are not treated as 'locals' if the global locals-management has been disabled.

This change makes the pool enforce the --txpool.pricelimit setting.

Tests

This backport PR has tests.

Additional context

This PR or the upstream commit should be removed when #215 is merged.

This change adds a check to ensure that transactions added to the legacy pool are not treated as 'locals' if the global locals-management has been disabled. 

This change makes the pool enforce the --txpool.pricelimit setting.
@trianglesphere trianglesphere enabled auto-merge (rebase) January 31, 2024 18:03
Copy link
Copy Markdown
Member

@sebastianst sebastianst left a comment

Choose a reason for hiding this comment

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

confirmed this is the upstream fix ethereum/go-ethereum#28435

@trianglesphere trianglesphere merged commit f49155a into optimism Jan 31, 2024
@trianglesphere trianglesphere deleted the jg/cherry_pick_txpool_fix branch January 31, 2024 18: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.

3 participants