mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use alloy-genesis imports for Genesis (#8973)
This commit is contained in:
@ -17,6 +17,7 @@ reth-basic-payload-builder.workspace = true
|
||||
reth-ethereum-payload-builder.workspace = true
|
||||
reth-node-ethereum.workspace = true
|
||||
reth-tracing.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
|
||||
eyre.workspace = true
|
||||
tokio.workspace = true
|
||||
|
||||
@ -22,6 +22,7 @@ use std::convert::Infallible;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use reth::{
|
||||
api::PayloadTypes,
|
||||
builder::{
|
||||
@ -51,7 +52,7 @@ use reth_payload_builder::{
|
||||
error::PayloadBuilderError, EthBuiltPayload, EthPayloadBuilderAttributes, PayloadBuilderHandle,
|
||||
PayloadBuilderService,
|
||||
};
|
||||
use reth_primitives::{Address, Genesis, Header, Withdrawals, B256};
|
||||
use reth_primitives::{Address, Header, Withdrawals, B256};
|
||||
use reth_rpc_types::{
|
||||
engine::{
|
||||
ExecutionPayloadEnvelopeV2, ExecutionPayloadEnvelopeV3, ExecutionPayloadEnvelopeV4,
|
||||
|
||||
@ -13,6 +13,7 @@ reth-node-core.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-node-ethereum.workspace = true
|
||||
reth-tracing.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
|
||||
eyre.workspace = true
|
||||
tokio.workspace = true
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use reth::{
|
||||
builder::{components::ExecutorBuilder, BuilderContext, NodeBuilder},
|
||||
primitives::{
|
||||
@ -21,7 +22,7 @@ use reth_chainspec::{Chain, ChainSpec};
|
||||
use reth_node_api::{ConfigureEvm, ConfigureEvmEnv, FullNodeTypes};
|
||||
use reth_node_core::{args::RpcServerArgs, node_config::NodeConfig};
|
||||
use reth_node_ethereum::{EthEvmConfig, EthExecutorProvider, EthereumNode};
|
||||
use reth_primitives::{Genesis, Header, TransactionSigned};
|
||||
use reth_primitives::{Header, TransactionSigned};
|
||||
use reth_tracing::{RethTracer, Tracer};
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@ tokio.workspace = true
|
||||
|
||||
# misc
|
||||
alloy-consensus = { workspace = true, features = ["kzg"] }
|
||||
alloy-genesis.workspace = true
|
||||
alloy-rlp.workspace = true
|
||||
alloy-sol-types = { workspace = true, features = ["json"] }
|
||||
eyre.workspace = true
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
//! The rollup contract accepts blocks of transactions and deposits of ETH and is deployed on
|
||||
//! Holesky at [ROLLUP_CONTRACT_ADDRESS], see <https://github.com/init4tech/zenith/blob/e0481e930947513166881a83e276b316c2f38502/src/Zenith.sol>.
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use alloy_sol_types::{sol, SolEventInterface, SolInterface};
|
||||
use db::Database;
|
||||
use execution::execute_block;
|
||||
@ -13,7 +14,7 @@ use reth_execution_types::Chain;
|
||||
use reth_exex::{ExExContext, ExExEvent};
|
||||
use reth_node_api::FullNodeComponents;
|
||||
use reth_node_ethereum::EthereumNode;
|
||||
use reth_primitives::{address, Address, Genesis, SealedBlockWithSenders, TransactionSigned, U256};
|
||||
use reth_primitives::{address, Address, SealedBlockWithSenders, TransactionSigned, U256};
|
||||
use reth_tracing::tracing::{error, info};
|
||||
use rusqlite::Connection;
|
||||
use std::sync::Arc;
|
||||
|
||||
@ -13,6 +13,7 @@ reth-node-core.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-node-ethereum.workspace = true
|
||||
reth-tracing.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
|
||||
eyre.workspace = true
|
||||
parking_lot.workspace = true
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use parking_lot::RwLock;
|
||||
use reth::{
|
||||
builder::{components::ExecutorBuilder, BuilderContext, NodeBuilder},
|
||||
@ -23,7 +24,7 @@ use reth_node_core::{args::RpcServerArgs, node_config::NodeConfig};
|
||||
use reth_node_ethereum::{EthEvmConfig, EthExecutorProvider, EthereumNode};
|
||||
use reth_primitives::{
|
||||
revm_primitives::{SpecId, StatefulPrecompileMut},
|
||||
Genesis, Header, TransactionSigned,
|
||||
Header, TransactionSigned,
|
||||
};
|
||||
use reth_tracing::{RethTracer, Tracer};
|
||||
use schnellru::{ByLength, LruMap};
|
||||
|
||||
Reference in New Issue
Block a user