mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore(evm): turn associated ConfigureEvm fns into methods (#9322)
This commit is contained in:
@ -122,7 +122,8 @@ where
|
||||
DB: Database<Error: Into<ProviderError> + std::fmt::Display>,
|
||||
{
|
||||
// apply pre execution changes
|
||||
apply_beacon_root_contract_call::<EvmConfig, _, _>(
|
||||
apply_beacon_root_contract_call(
|
||||
&self.evm_config,
|
||||
&self.chain_spec,
|
||||
block.timestamp,
|
||||
block.number,
|
||||
@ -271,7 +272,7 @@ where
|
||||
fn evm_env_for_block(&self, header: &Header, total_difficulty: U256) -> EnvWithHandlerCfg {
|
||||
let mut cfg = CfgEnvWithHandlerCfg::new(Default::default(), Default::default());
|
||||
let mut block_env = BlockEnv::default();
|
||||
EvmConfig::fill_cfg_and_block_env(
|
||||
self.executor.evm_config.fill_cfg_and_block_env(
|
||||
&mut cfg,
|
||||
&mut block_env,
|
||||
self.chain_spec(),
|
||||
|
||||
Reference in New Issue
Block a user