mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make clippy happy (#8068)
This commit is contained in:
@ -338,7 +338,7 @@ impl StorageInner {
|
||||
///
|
||||
/// This returns the poststate from execution and post-block changes, as well as the gas used.
|
||||
pub(crate) fn execute<EvmConfig>(
|
||||
&mut self,
|
||||
&self,
|
||||
block: &BlockWithSenders,
|
||||
executor: &mut EVMProcessor<'_, EvmConfig>,
|
||||
) -> Result<(BundleStateWithReceipts, u64), BlockExecutionError>
|
||||
|
||||
@ -124,7 +124,7 @@ impl EngineHooksController {
|
||||
}
|
||||
|
||||
fn poll_next_hook_inner(
|
||||
&mut self,
|
||||
&self,
|
||||
cx: &mut Context<'_>,
|
||||
hook: &mut Box<dyn EngineHook>,
|
||||
args: EngineHookContext,
|
||||
|
||||
@ -446,7 +446,7 @@ where
|
||||
///
|
||||
/// Returns `true` if the head needs to be updated.
|
||||
fn on_head_already_canonical(
|
||||
&mut self,
|
||||
&self,
|
||||
header: &SealedHeader,
|
||||
attrs: &mut Option<EngineT::PayloadAttributes>,
|
||||
) -> bool {
|
||||
@ -804,7 +804,7 @@ where
|
||||
/// This also updates the safe and finalized blocks in the [CanonChainTracker], if they are
|
||||
/// consistent with the head block.
|
||||
fn ensure_consistent_forkchoice_state(
|
||||
&mut self,
|
||||
&self,
|
||||
state: ForkchoiceState,
|
||||
) -> ProviderResult<Option<OnForkChoiceUpdated>> {
|
||||
// Ensure that the finalized block, if not zero, is known and in the canonical chain
|
||||
|
||||
Reference in New Issue
Block a user