mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm redundant chain_id function for Transaction (#11751)
This commit is contained in:
@ -27,6 +27,7 @@ revm.workspace = true
|
||||
alloy-eips.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
alloy-rlp.workspace = true
|
||||
alloy-consensus.workspace = true
|
||||
|
||||
# async/futures
|
||||
futures-util.workspace = true
|
||||
@ -54,7 +55,6 @@ rand = { workspace = true, optional = true }
|
||||
paste = { workspace = true, optional = true }
|
||||
proptest = { workspace = true, optional = true }
|
||||
proptest-arbitrary-interop = { workspace = true, optional = true }
|
||||
alloy-consensus = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
reth-primitives = { workspace = true, features = ["arbitrary"] }
|
||||
@ -69,12 +69,11 @@ pprof = { workspace = true, features = ["criterion", "flamegraph"] }
|
||||
assert_matches.workspace = true
|
||||
tempfile.workspace = true
|
||||
serde_json.workspace = true
|
||||
alloy-consensus.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["serde"]
|
||||
serde = ["dep:serde"]
|
||||
test-utils = ["rand", "paste", "serde", "alloy-consensus"]
|
||||
test-utils = ["rand", "paste", "serde"]
|
||||
arbitrary = ["proptest", "reth-primitives/arbitrary", "proptest-arbitrary-interop"]
|
||||
|
||||
[[bench]]
|
||||
|
||||
@ -7,6 +7,7 @@ use crate::{
|
||||
validate::ValidPoolTransaction,
|
||||
AllTransactionsEvents,
|
||||
};
|
||||
use alloy_consensus::Transaction as _;
|
||||
use alloy_eips::{eip2718::Encodable2718, eip2930::AccessList, eip4844::BlobAndProofV1};
|
||||
use alloy_primitives::{Address, TxHash, TxKind, B256, U256};
|
||||
use futures_util::{ready, Stream};
|
||||
|
||||
Reference in New Issue
Block a user