Skip to content

Commit 22ec3e8

Browse files
committed
updates Display impl to account to print block number and hash
1 parent 3294f3d commit 22ec3e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/sim/src/built.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ impl fmt::Debug for BuiltBlock {
3737
.field("host_fills", &self.host_fills.len())
3838
.field("transactions", &self.transactions.len())
3939
.field("gas_used", &self.gas_used)
40+
.field("block_number", &self.block_number)
41+
.field("hash", &self.contents_hash())
4042
.finish()
4143
}
4244
}

0 commit comments

Comments
 (0)