Skip to content

Add support for filtering txs given a list of accounts#1786

Merged
cffls merged 7 commits intodevelopfrom
raneet10/censor-txs
Sep 25, 2025
Merged

Add support for filtering txs given a list of accounts#1786
cffls merged 7 commits intodevelopfrom
raneet10/censor-txs

Conversation

@Raneet10
Copy link
Copy Markdown
Contributor

@Raneet10 Raneet10 commented Sep 23, 2025

Description

This PR enables miners to filter out txs sent from certain addresses, which can be configure in a comma-separated text file and passed as filtered-addresses in toml config or txpool.filtered-addresses in cli.

Changes

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Changes only for a subset of nodes

Checklist

  • I have added at least 2 reviewer or the whole pos-v1 team
  • I have added sufficient documentation in code
  • I will be resolving comments - if any - by pushing each fix in a separate commit and linking the commit hash in the comment reply
  • Created a task in Jira and informed the team for implementation in Erigon client (if applicable)
  • Includes RPC methods changes, and the Notion documentation has been updated

Testing

  • I have added unit tests
  • I have added tests to CI
  • I have tested this code manually on local environment
  • I have tested this code manually on remote devnet using express-cli
  • I have tested this code manually on amoy
  • I have created new e2e tests into express-cli

@Raneet10 Raneet10 requested a review from cffls September 23, 2025 12:21
Copy link
Copy Markdown
Contributor

@lucca30 lucca30 left a comment

Choose a reason for hiding this comment

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

lgtm

@cffls cffls changed the title Add support for censoring txs given a list of accounts Add support for filtering txs given a list of accounts Sep 25, 2025
@cffls cffls force-pushed the raneet10/censor-txs branch from f9a76d4 to 9d72388 Compare September 25, 2025 19:56
@sonarqubecloud
Copy link
Copy Markdown

@cffls cffls merged commit 1606594 into develop Sep 25, 2025
12 checks passed
@cffls cffls deleted the raneet10/censor-txs branch September 25, 2025 20:44
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