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

fix: Eth Tx Events Bloom Filter: fix slice modification bug and flaky test #12203

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

aarshkshah1992
Copy link
Contributor

This fixes a bug in the Bloom Filter for events that is part of ETH Tx receipts. The issue is that all receipts reference the same underlying backing empty array for it's events bloom filter during initialisation. However, modification to the bloom filter then also modifies the backing array... which is then used to initialise other bloom filters.

This also fixes the eth_filters flaky itest.

@aarshkshah1992 aarshkshah1992 changed the title fix: Eth Filter Bloom Filter: fix slice modification bug and flaky test fix: Eth Tx Events Bloom Filter: fix slice modification bug and flaky test Jul 9, 2024
@aarshkshah1992 aarshkshah1992 requested a review from rvagg July 9, 2024 13:37
node/impl/full/eth_utils.go Outdated Show resolved Hide resolved
@aarshkshah1992 aarshkshah1992 enabled auto-merge (squash) July 10, 2024 06:18
@aarshkshah1992 aarshkshah1992 removed the request for review from Stebalien July 10, 2024 06:19
@aarshkshah1992 aarshkshah1992 merged commit 1a94bd2 into master Jul 10, 2024
79 checks passed
@aarshkshah1992 aarshkshah1992 deleted the fix/flaky-api-test branch July 10, 2024 06:19
ribasushi pushed a commit to ribasushi/ci-abusing-lotus-fork that referenced this pull request Jul 17, 2024
ribasushi pushed a commit to ribasushi/ci-abusing-lotus-fork that referenced this pull request Jul 24, 2024
ribasushi pushed a commit to ribasushi/ci-abusing-lotus-fork that referenced this pull request Aug 17, 2024
ribasushi pushed a commit to ribasushi/ci-abusing-lotus-fork that referenced this pull request Aug 20, 2024
ribasushi pushed a commit to ribasushi/ci-abusing-lotus-fork that referenced this pull request Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

2 participants