From 209a806c835e0a4ca5de2f97c02af783eadd5c82 Mon Sep 17 00:00:00 2001 From: sprites0 <199826320+sprites0@users.noreply.github.com> Date: Sat, 19 Jul 2025 21:21:59 +0000 Subject: [PATCH] chore: lint --- src/hl_node_compliance.rs | 3 ++- src/lib.rs | 2 +- src/node/evm/mod.rs | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/hl_node_compliance.rs b/src/hl_node_compliance.rs index 6f29e7d98..272831996 100644 --- a/src/hl_node_compliance.rs +++ b/src/hl_node_compliance.rs @@ -219,7 +219,8 @@ fn not_from_system_tx(log: &Log, provider: &Eth::Provider) -> b !transactions .iter() .filter(|tx| tx.is_system_transaction()) - .map(|tx| *tx.tx_hash()).any(|tx_hash| tx_hash == log.transaction_hash.unwrap()) + .map(|tx| *tx.tx_hash()) + .any(|tx_hash| tx_hash == log.transaction_hash.unwrap()) } /// Helper to convert a serde error into an [`ErrorObject`] diff --git a/src/lib.rs b/src/lib.rs index 1bc2958b1..bfd3fd42c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ +pub mod call_forwarder; pub mod chainspec; pub mod consensus; mod evm; @@ -6,6 +7,5 @@ pub mod hl_node_compliance; pub mod node; pub mod pseudo_peer; pub mod tx_forwarder; -pub mod call_forwarder; pub use node::primitives::{HlBlock, HlBlockBody, HlPrimitives}; diff --git a/src/node/evm/mod.rs b/src/node/evm/mod.rs index 3ec468a52..1962969da 100644 --- a/src/node/evm/mod.rs +++ b/src/node/evm/mod.rs @@ -112,7 +112,8 @@ where ) -> Result, Self::Error> { // NOTE: This is used for block traces. // Per hyper-evm-sync, HyperEVM doesn't seem to call this method, so - // - we just return a success result with no changes, which gives the same semantics as HyperEVM. + // - we just return a success result with no changes, which gives the same semantics as + // HyperEVM. // - In a long term (ideally), consider implementing SystemCaller. Ok(ResultAndState::new( ExecutionResult::Success {