Fix tests

This commit is contained in:
dapplion
2026-05-27 21:59:06 -06:00
parent 6f89fdad11
commit 4c80d82948
4 changed files with 70 additions and 20 deletions

View File

@@ -1004,6 +1004,7 @@ impl TestRig {
// Add genesis block for completeness
let genesis_block = external_harness.get_head_block();
let genesis_block_root = genesis_block.canonical_root();
self.network_blocks_by_root
.insert(genesis_block.canonical_root(), genesis_block.clone());
self.network_blocks_by_slot
@@ -1038,6 +1039,7 @@ impl TestRig {
}
// Re-log to have a nice list of block roots at the end
self.log(&format!("Build chain (Slot(0), {genesis_block_root})"));
for block in &blocks {
self.log(&format!("Build chain {block:?}"));
}