chore: move StorageEntry to reth-primitives-traits (#8949)

This commit is contained in:
joshieDo
2024-06-19 18:39:30 +02:00
committed by GitHub
parent 01766217ba
commit a21a2b72eb
3 changed files with 7 additions and 4 deletions

View File

@ -30,6 +30,9 @@ pub use request::{Request, Requests};
mod withdrawal;
pub use withdrawal::{Withdrawal, Withdrawals};
mod storage;
pub use storage::StorageEntry;
/// Common header types
pub mod header;
#[cfg(any(test, feature = "arbitrary", feature = "test-utils"))]

View File

@ -1,4 +1,4 @@
use super::{B256, U256};
use alloy_primitives::{B256, U256};
use reth_codecs::{derive_arbitrary, Compact};
use serde::{Deserialize, Serialize};

View File

@ -39,7 +39,6 @@ mod receipt;
/// Helpers for working with revm
pub mod revm;
pub use reth_static_file_types as static_file;
mod storage;
pub mod transaction;
#[cfg(any(test, feature = "arbitrary"))]
pub use block::{generate_valid_header, valid_header_strategy};
@ -60,9 +59,10 @@ pub use log::{logs_bloom, Log};
pub use receipt::{
gas_spent_by_transactions, Receipt, ReceiptWithBloom, ReceiptWithBloomRef, Receipts,
};
pub use reth_primitives_traits::{Account, Bytecode, Request, Requests, Withdrawal, Withdrawals};
pub use reth_primitives_traits::{
Account, Bytecode, Request, Requests, StorageEntry, Withdrawal, Withdrawals,
};
pub use static_file::StaticFileSegment;
pub use storage::StorageEntry;
pub use transaction::{
BlobTransaction, BlobTransactionSidecar, FromRecoveredPooledTransaction,