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 bloom reset #1049

Merged
merged 5 commits into from
Jan 22, 2024
Merged

Fix bloom reset #1049

merged 5 commits into from
Jan 22, 2024

Conversation

ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Jan 21, 2024

Why this should be merged

There is a bug that prevents pending txs to be added to bloom filter after reset.

How this works

Change variables from pendingTxs to iterated txs

How this was tested

Added UT

How is this documented

No need

plugin/evm/gossip_test.go Outdated Show resolved Hide resolved
@ceyonur ceyonur mentioned this pull request Jan 22, 2024
@ceyonur ceyonur merged commit b8b5ae8 into p2p-sdk-tweaks Jan 22, 2024
8 checks passed
@ceyonur ceyonur deleted the fix-bloom-reset branch January 22, 2024 18:06
ceyonur added a commit that referenced this pull request Jan 22, 2024
* tweak global limit

* uncomment submit

* update consts

* update avalanchego version

* fix compilation err

* simpler fix

* remove mempool configs

* bump latest avago rc

* fix tests

* update avalanchego

* fix mockgen

* bump ANR

* remove unnecessary log levels

* Fix bloom reset (#1049)

* add UT for eth tx pool subscribe

* fix eth tx pool subscribtion

* don't use journal

* simplify test

* increase timeout

* Update plugin/evm/tx_gossip_test.go

Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
ceyonur added a commit that referenced this pull request Jan 23, 2024
* rename tx handlers

* add p2p sdk handlers

* fix tests

* fix imports

* bump min go version

* downgrade golangci

* remove noop handler

* bump avago rc

* fix uint64

* bump avalanchego rc version

* fix linter

* revert txpool uint change

* bump subnet-evm version

* run simulator in a different step

* remove load test from precompile tests

* run simulator in a different step

* remove load test from precompile tests

* rename simulator to load test

* parallelize e2e steps

* use checkout

* split to different workflows

* move to same folder

* bump avago

* add time to codec

* fix load test (#1043)

* tweak global limit

* uncomment submit

* update consts

* update avalanchego version

* fix compilation err

* simpler fix

* remove mempool configs

* bump latest avago rc

* fix tests

* update avalanchego

* fix mockgen

* bump ANR

* remove unnecessary log levels

* Fix bloom reset (#1049)

* add UT for eth tx pool subscribe

* fix eth tx pool subscribtion

* don't use journal

* simplify test

* increase timeout

* Update plugin/evm/tx_gossip_test.go

Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>

* Fix racey bloom access and replace time.Sleep with require.Eventually

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Patrick O'Grady <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants