mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 23:58:46 -05:00
chain-state: replace primitive imports with alloy-eips (#11038)
This commit is contained in:
committed by
GitHub
parent
668807802b
commit
8ba95a1667
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -6424,6 +6424,7 @@ dependencies = [
|
||||
name = "reth-chain-state"
|
||||
version = "1.0.7"
|
||||
dependencies = [
|
||||
"alloy-eips",
|
||||
"alloy-primitives",
|
||||
"alloy-signer",
|
||||
"alloy-signer-local",
|
||||
|
||||
@@ -21,7 +21,8 @@ reth-primitives.workspace = true
|
||||
reth-storage-api.workspace = true
|
||||
reth-trie.workspace = true
|
||||
|
||||
# alloy
|
||||
# ethereum
|
||||
alloy-eips.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
# async
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
use alloy_eips::BlockNumHash;
|
||||
use alloy_primitives::BlockNumber;
|
||||
use parking_lot::RwLock;
|
||||
use reth_chainspec::ChainInfo;
|
||||
use reth_primitives::{BlockNumHash, SealedHeader};
|
||||
use reth_primitives::SealedHeader;
|
||||
use std::{
|
||||
sync::{
|
||||
atomic::{AtomicU64, Ordering},
|
||||
|
||||
@@ -4,14 +4,15 @@ use crate::{
|
||||
CanonStateNotification, CanonStateNotificationSender, CanonStateNotifications,
|
||||
ChainInfoTracker, MemoryOverlayStateProvider,
|
||||
};
|
||||
use alloy_eips::BlockNumHash;
|
||||
use alloy_primitives::{Address, TxHash, B256};
|
||||
use parking_lot::RwLock;
|
||||
use reth_chainspec::ChainInfo;
|
||||
use reth_execution_types::{Chain, ExecutionOutcome};
|
||||
use reth_metrics::{metrics::Gauge, Metrics};
|
||||
use reth_primitives::{
|
||||
BlockNumHash, Header, Receipt, Receipts, SealedBlock, SealedBlockWithSenders, SealedHeader,
|
||||
TransactionMeta, TransactionSigned,
|
||||
Header, Receipt, Receipts, SealedBlock, SealedBlockWithSenders, SealedHeader, TransactionMeta,
|
||||
TransactionSigned,
|
||||
};
|
||||
use reth_storage_api::StateProviderBox;
|
||||
use reth_trie::{updates::TrieUpdates, HashedPostState};
|
||||
|
||||
Reference in New Issue
Block a user