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

borheimdall: add test for span persistence #8988

Merged
merged 4 commits into from
Dec 14, 2023
Merged

borheimdall: add test for span persistence #8988

merged 4 commits into from
Dec 14, 2023

Conversation

taratorio
Copy link
Member

  1. Adds an eth/stagedsync/test package which provides a test Harness object
  2. Adds the first automated test to the bor-heimdall stage regarding span persistence (more to come in subsequent PRs)
  3. Fixes a bug in the bor-heimdall stage which was uncovered with the test - we do not fetch span 0 when we sync straight from blockNum=0 without snapshots
  4. Reorganises all mocks to be placed under ./mock sub-package within their respective packages

@taratorio taratorio merged commit 1a6b83b into devel Dec 14, 2023
6 checks passed
@taratorio taratorio deleted the bh-tests branch December 14, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants