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

eth/filters, core/rawdb: remove unused param, refactor filtering-loop #27891

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Aug 10, 2023

This PR removes a chainconfig parameter passed into rawdb.ReadLogs, which is not used nor needed.
It also modifies the filter loop slightly, avoiding a labeled break and instead using a method.

None of the changes in this PR (intentionally) modify behaviour.

@holiman holiman added this to the 1.12.2 milestone Aug 10, 2023
@holiman holiman merged commit 8d1db16 into ethereum:master Aug 10, 2023
@fjl fjl modified the milestones: 1.12.2, 1.13.0 Aug 11, 2023
@holiman holiman deleted the filters_refactor branch October 11, 2023 07:26
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
…ethereum#27891)

This change removes a chainconfig parameter passed into rawdb.ReadLogs, which is not used nor needed.
It also modifies the filter loop slightly, avoiding a labeled break and instead using a method.

This change does not modify any behaviour.
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
sduchesneau pushed a commit to streamingfast/go-ethereum that referenced this pull request Feb 26, 2024
27891 remove chainconfig param from ReadLogs.
Removing this param from our code required using ReadRawReceipts,
and filling the missing log fields that ReadReceipts does.
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