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

Conversation

Francesco4203
Copy link
Contributor

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.

@huyngopt1994 huyngopt1994 merged commit b447aaf into axieinfinity:path-base-implementing Nov 9, 2024
1 check passed
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