Skip to content

feat: implement eth_getFilterChanges RPC method#728

Open
hawkadrian wants to merge 5 commits intoa16z:masterfrom
hawkadrian:feat/implement-eth-getFilterChanges
Open

feat: implement eth_getFilterChanges RPC method#728
hawkadrian wants to merge 5 commits intoa16z:masterfrom
hawkadrian:feat/implement-eth-getFilterChanges

Conversation

@hawkadrian
Copy link
Copy Markdown

@hawkadrian hawkadrian commented Oct 28, 2025

Implements eth_getFilterChanges RPC method to support polling for filter changes.

Changes:

  • Add get_filter_changes method to HeliosApi trait
  • Implement filter changes logic with last_poll tracking
  • Support both log and block filters
  • Add update_last_poll method to FilterState
  • Replace "not implemented" stub with actual implementation
  • Add comprehensive tests for filter functionality

Testing:

  • Added tests for log and block filter changes
  • Verified equivalence with reference Ethereum node

Fixes #614

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.

feat: implement eth_getFilterChanges

1 participant