mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: import codecs directly (#8385)
This commit is contained in:
@@ -13,7 +13,7 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-codecs.workspace = true
|
||||
reth-codecs-derive.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
alloy-rlp = { workspace = true, features = ["derive"] }
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//! types.
|
||||
|
||||
use alloy_rlp::{RlpDecodable, RlpDecodableWrapper, RlpEncodable, RlpEncodableWrapper};
|
||||
use reth_codecs::{add_arbitrary_tests, derive_arbitrary};
|
||||
use reth_codecs_derive::{add_arbitrary_tests, derive_arbitrary};
|
||||
use reth_primitives::{BlockBody, BlockHashOrNumber, Header, HeadersDirection, B256};
|
||||
|
||||
#[cfg(any(test, feature = "arbitrary"))]
|
||||
|
||||
@@ -6,7 +6,7 @@ use alloy_rlp::{
|
||||
};
|
||||
|
||||
use derive_more::{Constructor, Deref, DerefMut, From, IntoIterator};
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_codecs_derive::derive_arbitrary;
|
||||
use reth_primitives::{
|
||||
Block, Bytes, PooledTransactionsElement, TransactionSigned, TxHash, B256, U128,
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Implements the `GetReceipts` and `Receipts` message types.
|
||||
|
||||
use alloy_rlp::{RlpDecodableWrapper, RlpEncodableWrapper};
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_codecs_derive::derive_arbitrary;
|
||||
use reth_primitives::{ReceiptWithBloom, B256};
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Implements the `GetNodeData` and `NodeData` message types.
|
||||
|
||||
use alloy_rlp::{RlpDecodableWrapper, RlpEncodableWrapper};
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_codecs_derive::derive_arbitrary;
|
||||
use reth_primitives::{Bytes, B256};
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::EthVersion;
|
||||
use alloy_rlp::{RlpDecodable, RlpEncodable};
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_codecs_derive::derive_arbitrary;
|
||||
use reth_primitives::{
|
||||
hex, Chain, ChainSpec, ForkId, Genesis, Hardfork, Head, NamedChain, B256, MAINNET, U256,
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use alloy_rlp::{RlpDecodableWrapper, RlpEncodableWrapper};
|
||||
use derive_more::{Constructor, Deref, IntoIterator};
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_codecs_derive::derive_arbitrary;
|
||||
use reth_primitives::{
|
||||
transaction::TransactionConversionError, PooledTransactionsElement, TransactionSigned, B256,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user