mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: import codecs directly (#8385)
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -6882,7 +6882,7 @@ dependencies = [
|
||||
"proptest",
|
||||
"proptest-derive",
|
||||
"rand 0.8.5",
|
||||
"reth-codecs",
|
||||
"reth-codecs-derive",
|
||||
"reth-net-common",
|
||||
"reth-primitives",
|
||||
"reth-tracing",
|
||||
|
||||
@ -216,6 +216,7 @@ reth-beacon-consensus = { path = "crates/consensus/beacon" }
|
||||
reth-blockchain-tree = { path = "crates/blockchain-tree" }
|
||||
reth-cli-runner = { path = "crates/cli/runner" }
|
||||
reth-codecs = { path = "crates/storage/codecs" }
|
||||
reth-codecs-derive = { path = "crates/storage/codecs/derive" }
|
||||
reth-config = { path = "crates/config" }
|
||||
reth-consensus = { path = "crates/consensus/consensus" }
|
||||
reth-consensus-common = { path = "crates/consensus/common" }
|
||||
|
||||
@ -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