From ebb2d55584de11ba938e6daa917f4f79819197f7 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Wed, 21 Aug 2024 12:30:39 +0200 Subject: [PATCH] chore(lint): allow needless update for tests (#10414) --- crates/ethereum/evm/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/ethereum/evm/src/lib.rs b/crates/ethereum/evm/src/lib.rs index ec22b9f089..636e0f7408 100644 --- a/crates/ethereum/evm/src/lib.rs +++ b/crates/ethereum/evm/src/lib.rs @@ -177,6 +177,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_configure() { // Create a default `EthEvmConfig` let evm_config = EthEvmConfig::default(); @@ -218,6 +219,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_env_default_spec() { let evm_config = EthEvmConfig::default(); @@ -238,6 +240,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_env_custom_cfg() { let evm_config = EthEvmConfig::default(); @@ -268,6 +271,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_env_custom_block_and_tx() { let evm_config = EthEvmConfig::default(); @@ -324,6 +328,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_inspector() { let evm_config = EthEvmConfig::default(); @@ -368,6 +373,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_env_and_default_inspector() { let evm_config = EthEvmConfig::default(); let db = CacheDB::>::default(); @@ -387,6 +393,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_env_inspector_and_custom_cfg() { let evm_config = EthEvmConfig::default(); let db = CacheDB::>::default(); @@ -411,6 +418,7 @@ mod tests { } #[test] + #[allow(clippy::needless_update)] fn test_evm_with_env_inspector_and_custom_block_tx() { let evm_config = EthEvmConfig::default(); let db = CacheDB::>::default();