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

Handle duplicate block number in the same getFilterChanges call #154

Merged

Conversation

Chengxuan
Copy link
Contributor

When the block hashes in the eth_getFilterChanges call has block number conflict, there is a edge case we don't handle.

This PR fixed the issue so that if the beginning block number has duplicate hashes in the same eth_getFilterChanges call, the logic should still be able to handle it.

@Chengxuan Chengxuan requested a review from a team as a code owner September 5, 2024 15:13
Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

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

This is a great find @Chengxuan !

those single character changes are always the hardest ones to diagnose

@Chengxuan Chengxuan merged commit 81ea8f3 into hyperledger:main Sep 5, 2024
3 checks passed
@Chengxuan Chengxuan deleted the handle-duplicate-block-number branch September 5, 2024 16:53
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.

2 participants