Skip to content

Commit

Permalink
chore: make clippy happy (#7045)
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
Co-authored-by: DaniPopes <[email protected]>
  • Loading branch information
jsvisa and DaniPopes committed Mar 8, 2024
1 parent 43bb4cc commit ed0dce8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions bin/reth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,11 @@ pub mod rpc {
#[cfg(all(unix, any(target_env = "gnu", target_os = "macos")))]
pub mod sigsegv_handler;

/// Signal handler to extract a backtrace from stack overflow.
///
/// This is a no-op because this platform doesn't support our signal handler's requirements.
#[cfg(not(all(unix, any(target_env = "gnu", target_os = "macos"))))]
pub mod sigsegv_handler {
//! Signal handler to extract a backtrace from stack overflow.
//!
//! This is a no-op because this platform doesn't support our signal handler's requirements.

/// No-op function.
pub fn install() {}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/primitives/src/revm/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ where
(l.address, l.storage_keys.iter().map(|k| U256::from_be_bytes(k.0)).collect())
})
.collect();
tx_env.blob_hashes = tx.blob_versioned_hashes.clone();
tx_env.blob_hashes.clone_from(&tx.blob_versioned_hashes);
tx_env.max_fee_per_blob_gas = Some(U256::from(tx.max_fee_per_blob_gas));
}
#[cfg(feature = "optimism")]
Expand Down

0 comments on commit ed0dce8

Please sign in to comment.