Debug tests

This commit is contained in:
Emilia Hane
2023-01-22 00:51:58 +01:00
parent 995b2715f2
commit 7220f35ff6
7 changed files with 113 additions and 47 deletions

View File

@@ -141,7 +141,7 @@ async fn produces_attestations() {
.early_attester_cache
.add_head_block(
block_root,
Arc::new(block.clone()),
Arc::new(block.clone()).into(),
None,
proto_block,
&state,
@@ -198,7 +198,7 @@ async fn early_attester_cache_old_request() {
.early_attester_cache
.add_head_block(
head.beacon_block_root,
head.beacon_block.clone(),
head.beacon_block.clone().into(),
None,
head_proto_block,
&head.beacon_state,