mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: alloy-evm and new revm integration (#14021)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> Co-authored-by: rakita <rakita@users.noreply.github.com>
This commit is contained in:
@ -12,8 +12,9 @@ use reth::{
|
||||
builder::{components::ExecutorBuilder, BuilderContext, FullNodeTypes},
|
||||
cli::Cli,
|
||||
revm::{
|
||||
db::State,
|
||||
primitives::{address, Address},
|
||||
DatabaseCommit, State,
|
||||
DatabaseCommit,
|
||||
},
|
||||
};
|
||||
use reth_chainspec::{ChainSpec, EthereumHardforks};
|
||||
@ -204,7 +205,7 @@ pub fn apply_withdrawals_contract_call(
|
||||
|
||||
// Clean-up post system tx context
|
||||
state.remove(&SYSTEM_ADDRESS);
|
||||
state.remove(&evm.block().coinbase);
|
||||
state.remove(&evm.block().beneficiary);
|
||||
|
||||
evm.db_mut().commit(state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user