From e27ad1a2bec91e06d80bcc11b0507955a1826e7c Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:15:24 -0700 Subject: [PATCH] very small refactor (#10382) --- crates/evm/execution-types/src/chain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/evm/execution-types/src/chain.rs b/crates/evm/execution-types/src/chain.rs index ceb73f96f3..1c24f09084 100644 --- a/crates/evm/execution-types/src/chain.rs +++ b/crates/evm/execution-types/src/chain.rs @@ -517,7 +517,7 @@ mod tests { #[test] fn chain_append() { - let block: SealedBlockWithSenders = SealedBlockWithSenders::default(); + let block = SealedBlockWithSenders::default(); let block1_hash = B256::new([0x01; 32]); let block2_hash = B256::new([0x02; 32]); let block3_hash = B256::new([0x03; 32]); @@ -647,7 +647,7 @@ mod tests { #[test] fn receipts_by_block_hash() { // Create a default SealedBlockWithSenders object - let block: SealedBlockWithSenders = SealedBlockWithSenders::default(); + let block = SealedBlockWithSenders::default(); // Define block hashes for block1 and block2 let block1_hash = B256::new([0x01; 32]);