mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore(exex-eips): replace reth-primitives with alloy-eips (#11275)
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -7394,6 +7394,7 @@ name = "reth-exex"
|
|||||||
version = "1.0.7"
|
version = "1.0.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alloy-consensus",
|
"alloy-consensus",
|
||||||
|
"alloy-eips",
|
||||||
"alloy-genesis",
|
"alloy-genesis",
|
||||||
"alloy-primitives",
|
"alloy-primitives",
|
||||||
"dashmap 6.1.0",
|
"dashmap 6.1.0",
|
||||||
|
|||||||
@ -34,6 +34,7 @@ reth-tracing.workspace = true
|
|||||||
|
|
||||||
# alloy
|
# alloy
|
||||||
alloy-primitives.workspace = true
|
alloy-primitives.workspace = true
|
||||||
|
alloy-eips.workspace = true
|
||||||
|
|
||||||
## async
|
## async
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
|
|||||||
@ -355,11 +355,12 @@ mod tests {
|
|||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use alloy_consensus::Header;
|
use alloy_consensus::Header;
|
||||||
|
use alloy_eips::BlockNumHash;
|
||||||
use eyre::OptionExt;
|
use eyre::OptionExt;
|
||||||
use futures::StreamExt;
|
use futures::StreamExt;
|
||||||
use reth_db_common::init::init_genesis;
|
use reth_db_common::init::init_genesis;
|
||||||
use reth_evm_ethereum::execute::EthExecutorProvider;
|
use reth_evm_ethereum::execute::EthExecutorProvider;
|
||||||
use reth_primitives::{Block, BlockNumHash};
|
use reth_primitives::Block;
|
||||||
use reth_provider::{
|
use reth_provider::{
|
||||||
providers::BlockchainProvider2, test_utils::create_test_provider_factory, BlockWriter,
|
providers::BlockchainProvider2, test_utils::create_test_provider_factory, BlockWriter,
|
||||||
Chain,
|
Chain,
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
use std::collections::{BTreeMap, VecDeque};
|
use std::collections::{BTreeMap, VecDeque};
|
||||||
|
|
||||||
|
use alloy_eips::BlockNumHash;
|
||||||
|
use alloy_primitives::B256;
|
||||||
use dashmap::DashMap;
|
use dashmap::DashMap;
|
||||||
use parking_lot::RwLock;
|
use parking_lot::RwLock;
|
||||||
use reth_exex_types::ExExNotification;
|
use reth_exex_types::ExExNotification;
|
||||||
use reth_primitives::{BlockNumHash, B256};
|
|
||||||
|
|
||||||
/// The block cache of the WAL.
|
/// The block cache of the WAL.
|
||||||
///
|
///
|
||||||
|
|||||||
@ -7,8 +7,8 @@ pub use storage::Storage;
|
|||||||
|
|
||||||
use std::{path::Path, sync::Arc};
|
use std::{path::Path, sync::Arc};
|
||||||
|
|
||||||
|
use alloy_eips::BlockNumHash;
|
||||||
use reth_exex_types::ExExNotification;
|
use reth_exex_types::ExExNotification;
|
||||||
use reth_primitives::BlockNumHash;
|
|
||||||
use reth_tracing::tracing::{debug, instrument};
|
use reth_tracing::tracing::{debug, instrument};
|
||||||
|
|
||||||
/// WAL is a write-ahead log (WAL) that stores the notifications sent to ExExes.
|
/// WAL is a write-ahead log (WAL) that stores the notifications sent to ExExes.
|
||||||
|
|||||||
Reference in New Issue
Block a user