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 {