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

p2p sync tests #2394

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

p2p sync tests #2394

wants to merge 25 commits into from

Conversation

CHr15F0x
Copy link
Member

@CHr15F0x CHr15F0x commented Nov 20, 2024

Fixes: #2300

  • fake block generation now includes tries, respective commitments, and signatures
  • some fixtures removed
  • added an integration test with 3 cases:
    • full sync, recoverable errors triggered in each stage (ie. headers, transactions, ...) separately for checkpoint and track sync
    • full sync, interrupted by a fatal error during checkpoint sync
    • full sync, interrupted by a fatal error during tracking sync
  • removed a redundant test
  • other minor fixes and refactors

@CHr15F0x CHr15F0x force-pushed the chris/sync-tests2 branch 7 times, most recently from cd46651 to 26e6870 Compare November 22, 2024 18:34
@CHr15F0x CHr15F0x changed the title Chris/sync tests2 p2p sync tests Nov 22, 2024
@CHr15F0x CHr15F0x marked this pull request as ready for review November 22, 2024 19:14
@CHr15F0x CHr15F0x requested a review from a team as a code owner November 22, 2024 19:14
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.

Tests for tracking and checkpoint sync
1 participant