mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 09:38:24 -05:00
chore: make clippy happy (#7045)
Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
This commit is contained in:
@@ -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() {}
|
||||
}
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user