erigon-pulse/consensus
milen 1a6b83b82c
borheimdall: add test for span persistence (#8988)
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
2023-12-14 22:50:59 +02:00
..
aura Numerical instead of lexicographic sorting in borKeyValueConfigHelper (#8560) 2023-10-23 14:11:32 +02:00
bor borheimdall: add test for span persistence (#8988) 2023-12-14 22:50:59 +02:00
clique Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
ethash Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
merge Introduce extra functions for BorSpans (no-op) (#8648) 2023-11-04 10:59:07 +00:00
misc erigon-lib: remove unused constants from protocol.go (#8644) 2023-11-03 10:20:36 +01:00
mock borheimdall: add test for span persistence (#8988) 2023-12-14 22:50:59 +02:00
chain_reader.go Introduce extra functions for BorSpans (no-op) (#8648) 2023-11-04 10:59:07 +00:00
consensus.go borheimdall: add test for span persistence (#8988) 2023-12-14 22:50:59 +02:00
errors.go Don't mark blocks as bad on transient errors (#8197) 2023-09-17 11:14:36 +02:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00