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

protocols/snap/sync_test: each peer have a different account trie #628

Open
wants to merge 1 commit into
base: path-base-implementing
Choose a base branch
from

Conversation

Francesco4203
Copy link
Collaborator

Reference: ethereum/go-ethereum#25532

Before PBSS, in the snap sync tests, there are no changes to the account trie, so it is acceptable for the peers to use the same account trie. However, PBSS added a tracer that also traces the accessed nodes, leading to the race condition.

This PR is to assign each peer with a copy of the account trie.

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.

1 participant