Skip to content

[MEL] - Use geth's FilterLogs function #3224

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

ganeshvanahalli
Copy link
Contributor

This PR removes the filterLogs impl in delayed_message_lookup.go file, instead we use the exported FilterLogs function from geth's filters package.

Testing

We already have TestMessageExtractionLayer_DelayedMessageEquivalence_Simple that indirectly tests that the exported function works as intended, but we add an additional comparison check with ethclient's FilterLogs method and verify they both return the same logs as a result inside TestBloom system_test.

Pulls Geth PR- OffchainLabs/go-ethereum#453
Resolves NIT-3351

@ganeshvanahalli ganeshvanahalli requested a review from rauljordan May 8, 2025 10:38
@ganeshvanahalli ganeshvanahalli changed the title Use geth's FilterLogs function [MEL]- Use geth's FilterLogs function May 8, 2025
@ganeshvanahalli ganeshvanahalli changed the title [MEL]- Use geth's FilterLogs function [MEL] - Use geth's FilterLogs function May 8, 2025
@rauljordan rauljordan merged commit def6864 into raul/mel-inbox-reading May 8, 2025
11 checks passed
@rauljordan rauljordan deleted the use-geth-filterlogs branch May 8, 2025 19:04
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