Skip to content

Commit

Permalink
chore(exex-eips): replace reth-primitives with alloy-eips (#11275)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishekkochar <[email protected]>
  • Loading branch information
Abhishekkochar authored Sep 27, 2024
1 parent ea060fe commit fbb0b11
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/exex/exex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ reth-tracing.workspace = true

# alloy
alloy-primitives.workspace = true
alloy-eips.workspace = true

## async
futures.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion crates/exex/exex/src/notifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,12 @@ mod tests {

use super::*;
use alloy_consensus::Header;
use alloy_eips::BlockNumHash;
use eyre::OptionExt;
use futures::StreamExt;
use reth_db_common::init::init_genesis;
use reth_evm_ethereum::execute::EthExecutorProvider;
use reth_primitives::{Block, BlockNumHash};
use reth_primitives::Block;
use reth_provider::{
providers::BlockchainProvider2, test_utils::create_test_provider_factory, BlockWriter,
Chain,
Expand Down
3 changes: 2 additions & 1 deletion crates/exex/exex/src/wal/cache.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use std::collections::{BTreeMap, VecDeque};

use alloy_eips::BlockNumHash;
use alloy_primitives::B256;
use dashmap::DashMap;
use parking_lot::RwLock;
use reth_exex_types::ExExNotification;
use reth_primitives::{BlockNumHash, B256};

/// The block cache of the WAL.
///
Expand Down
2 changes: 1 addition & 1 deletion crates/exex/exex/src/wal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pub use storage::Storage;

use std::{path::Path, sync::Arc};

use alloy_eips::BlockNumHash;
use reth_exex_types::ExExNotification;
use reth_primitives::BlockNumHash;
use reth_tracing::tracing::{debug, instrument};

/// WAL is a write-ahead log (WAL) that stores the notifications sent to ExExes.
Expand Down

0 comments on commit fbb0b11

Please sign in to comment.