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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user