From 8f11d20625da9bdcafbf39db2e60bdd81f9dbe6e Mon Sep 17 00:00:00 2001 From: dapplion <35266934+dapplion@users.noreply.github.com> Date: Wed, 12 Jun 2024 00:53:52 +0200 Subject: [PATCH] fix --- src/ethereum.rs | 8 ++------ src/execute.rs | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/ethereum.rs b/src/ethereum.rs index 4b37fb1..8741f52 100644 --- a/src/ethereum.rs +++ b/src/ethereum.rs @@ -1,4 +1,5 @@ -///! This module is exactly identical to https://github.com/paradigmxyz/reth/blob/268e768d822a0d4eb8ed365dc6390862f759a849/crates/ethereum/evm/src/execute.rs +//! This module is exactly identical to + use reth::{ primitives::{BlockWithSenders, ChainSpec, Receipt, Request}, providers::ProviderError, @@ -44,11 +45,6 @@ where /// /// This applies the pre-execution and post-execution changes that require an [EVM](Evm), and /// executes the transactions. - /// - /// # Note - /// - /// It does __not__ apply post-execution changes that do not require an [EVM](Evm), for that see - /// [`EthBlockExecutor::post_execution`]. pub fn execute_state_transitions( &self, block: &BlockWithSenders, diff --git a/src/execute.rs b/src/execute.rs index 2f3f6de..8bba6e1 100644 --- a/src/execute.rs +++ b/src/execute.rs @@ -180,7 +180,7 @@ where self.state.set_state_clear_flag(state_clear_flag); } - /// Apply post execution state changes that do not require an [EVM](Evm), such as: block + /// Apply post execution state changes that do not require an such as: block /// rewards, withdrawals, and irregular DAO hardfork state change // [Gnosis/fork:DIFF] pub fn post_execution(