Add more range sync tests (#6872)

Currently we have very poor coverage of range sync with unit tests. With the event driven test framework we could cover much more ground and be confident when modifying the code.


  Add two basic cases:
- Happy path, complete a finalized sync for 2 epochs
- Post-PeerDAS case where we start without enough custody peers and later we find enough

⚠️  If you have ideas for more test cases, please let me know! I'll write them
This commit is contained in:
Lion - dapplion
2025-02-10 04:55:22 -03:00
committed by GitHub
parent 62a0f25f97
commit d5a03c9d86
9 changed files with 223 additions and 33 deletions

View File

@@ -10,8 +10,10 @@ eth2 = { workspace = true }
eth2_network_config = { workspace = true }
genesis = { workspace = true }
gossipsub = { workspace = true }
k256 = "0.13.4"
kzg = { workspace = true }
matches = "0.1.8"
rand_chacha = "0.3.1"
serde_json = { workspace = true }
slog-async = { workspace = true }
slog-term = { workspace = true }