feat(ethereum-forks): remove total difficulty for hardfork check (#13362)

Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
Kunal Arora
2024-12-20 20:58:05 +05:30
committed by GitHub
parent dc6394b05b
commit 82af170687
44 changed files with 382 additions and 646 deletions

View File

@ -2261,11 +2261,7 @@ where
// };
let state_hook = Box::new(|_state: &EvmState| {});
let output = self.metrics.executor.execute_metered(
executor,
(&block, U256::MAX).into(),
state_hook,
)?;
let output = self.metrics.executor.execute_metered(executor, &block, state_hook)?;
trace!(target: "engine::tree", elapsed=?exec_time.elapsed(), ?block_number, "Executed block");