Skip to content

Commit d2afc83

Browse files
test: add log
1 parent b2e275e commit d2afc83

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/blockchain-tree/src/chain.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ impl AppendableChain {
226226
let block_hash = block.hash();
227227
let block = block.unseal();
228228

229+
let start = Instant::now();
229230
let state = executor.execute((&block, U256::MAX, ancestor_blocks).into())?;
231+
tracing::debug!(target: "blockchain_tree::chain", elapsed = ?start.elapsed(), "test info: executed block");
230232
externals.consensus.validate_block_post_execution(
231233
&block,
232234
PostExecutionInput::new(&state.receipts, &state.requests),

0 commit comments

Comments
 (0)