mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: move dao hardfork constants to evm-ethereum (#8078)
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
//! Ethereum block executor.
|
||||
|
||||
use crate::{verify::verify_receipts, EthEvmConfig};
|
||||
use crate::{
|
||||
dao_fork::{DAO_HARDFORK_BENEFICIARY, DAO_HARDKFORK_ACCOUNTS},
|
||||
verify::verify_receipts,
|
||||
EthEvmConfig,
|
||||
};
|
||||
use reth_evm::{
|
||||
execute::{
|
||||
BatchBlockExecutionOutput, BatchExecutor, BlockExecutionInput, BlockExecutionOutput,
|
||||
@ -19,7 +23,6 @@ use reth_primitives::{
|
||||
use reth_revm::{
|
||||
batch::{BlockBatchRecord, BlockExecutorStats},
|
||||
db::states::bundle_state::BundleRetention,
|
||||
eth_dao_fork::{DAO_HARDFORK_BENEFICIARY, DAO_HARDKFORK_ACCOUNTS},
|
||||
state_change::{apply_beacon_root_contract_call, post_block_balance_increments},
|
||||
Evm, State,
|
||||
};
|
||||
|
||||
@ -18,6 +18,9 @@ use reth_revm::{Database, EvmBuilder};
|
||||
pub mod execute;
|
||||
pub mod verify;
|
||||
|
||||
/// Ethereum DAO hardfork state change data.
|
||||
pub mod dao_fork;
|
||||
|
||||
/// Ethereum-related EVM configuration.
|
||||
#[derive(Debug, Clone, Copy, Default)]
|
||||
#[non_exhaustive]
|
||||
|
||||
@ -16,9 +16,6 @@ pub mod batch;
|
||||
/// State changes that are not related to transactions.
|
||||
pub mod state_change;
|
||||
|
||||
/// Ethereum DAO hardfork state change data.
|
||||
pub mod eth_dao_fork;
|
||||
|
||||
/// Common test helpers
|
||||
#[cfg(any(test, feature = "test-utils"))]
|
||||
pub mod test_utils;
|
||||
|
||||
Reference in New Issue
Block a user