chore: lint

This commit is contained in:
sprites0
2025-07-19 21:21:59 +00:00
parent 736e0da620
commit 209a806c83
3 changed files with 5 additions and 3 deletions

View File

@ -219,7 +219,8 @@ fn not_from_system_tx<Eth: EthWrapper>(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`]

View File

@ -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};

View File

@ -112,7 +112,8 @@ where
) -> Result<ResultAndState<Self::HaltReason>, 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 {