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

@@ -726,7 +726,7 @@ impl<T: BeaconChainTypes> Worker<T> {
let verification_result = self
.chain
.clone()
.verify_block_for_gossip(block.clone())
.verify_block_for_gossip(block.clone().into())
.await;
let block_root = if let Ok(verified_block) = &verification_result {

View File

@@ -285,7 +285,7 @@ impl<T: BeaconChainTypes> Worker<T> {
let blocks: Vec<_> = downloaded_blocks.cloned().collect();
match self
.chain
.process_chain_segment(blocks, count_unrealized, notify_execution_layer)
.process_chain_segment(blocks.into(), count_unrealized, notify_execution_layer)
.await
{
ChainSegmentResult::Successful { imported_blocks } => {