mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make txpool cargo test compile (#4058)
This commit is contained in:
@ -143,3 +143,7 @@ jsonrpsee-types = { version = "0.19" }
|
|||||||
|
|
||||||
## crypto
|
## crypto
|
||||||
secp256k1 = { version = "0.27.0", default-features = false, features = ["global-context", "rand-std", "recovery"] }
|
secp256k1 = { version = "0.27.0", default-features = false, features = ["global-context", "rand-std", "recovery"] }
|
||||||
|
|
||||||
|
### misc-testing
|
||||||
|
proptest = "1.0"
|
||||||
|
arbitrary = "1.1"
|
||||||
@ -63,7 +63,7 @@ metrics-util = "0.14.0"
|
|||||||
metrics-process = "1.0.9"
|
metrics-process = "1.0.9"
|
||||||
|
|
||||||
# test vectors generation
|
# test vectors generation
|
||||||
proptest = "1.0"
|
proptest.workspace = true
|
||||||
|
|
||||||
# tui
|
# tui
|
||||||
comfy-table = "7.0"
|
comfy-table = "7.0"
|
||||||
|
|||||||
@ -30,7 +30,7 @@ auto_impl = "1.0"
|
|||||||
thiserror.workspace = true
|
thiserror.workspace = true
|
||||||
tracing.workspace = true
|
tracing.workspace = true
|
||||||
rand.workspace = true
|
rand.workspace = true
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
secp256k1 = { workspace = true, default-features = false, features = [
|
secp256k1 = { workspace = true, default-features = false, features = [
|
||||||
"alloc",
|
"alloc",
|
||||||
"recovery",
|
"recovery",
|
||||||
@ -44,7 +44,7 @@ clap = { version = "4", features = ["derive"], optional = true }
|
|||||||
reth-db = { path = "../storage/db", features = ["test-utils"] }
|
reth-db = { path = "../storage/db", features = ["test-utils"] }
|
||||||
tokio = { workspace = true, features = ["full"] }
|
tokio = { workspace = true, features = ["full"] }
|
||||||
tokio-stream = { workspace = true, features = ["sync"] }
|
tokio-stream = { workspace = true, features = ["sync"] }
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
hex-literal = "0.3"
|
hex-literal = "0.3"
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = [
|
||||||
"alloc",
|
"alloc",
|
||||||
|
|||||||
@ -40,8 +40,8 @@ smol_str = "0.2"
|
|||||||
async-trait.workspace = true
|
async-trait.workspace = true
|
||||||
|
|
||||||
# arbitrary utils
|
# arbitrary utils
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
proptest = { version = "1.0", optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
proptest-derive = { version = "0.3", optional = true }
|
proptest-derive = { version = "0.3", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -56,8 +56,8 @@ hex = "0.4"
|
|||||||
rand.workspace = true
|
rand.workspace = true
|
||||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
|
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
proptest = { version = "1.0" }
|
proptest.workspace = true
|
||||||
proptest-derive = "0.3"
|
proptest-derive = "0.3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|||||||
@ -65,8 +65,8 @@ plain_hasher = "0.2"
|
|||||||
hash-db = "0.15"
|
hash-db = "0.15"
|
||||||
|
|
||||||
# arbitrary utils
|
# arbitrary utils
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
proptest = { version = "1.0", optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
proptest-derive = { version = "0.3", optional = true }
|
proptest-derive = { version = "0.3", optional = true }
|
||||||
strum = { workspace = true, features = ["derive"] }
|
strum = { workspace = true, features = ["derive"] }
|
||||||
|
|
||||||
@ -76,8 +76,8 @@ hex-literal = "0.3"
|
|||||||
test-fuzz = "4"
|
test-fuzz = "4"
|
||||||
rand.workspace = true
|
rand.workspace = true
|
||||||
revm-primitives = { workspace = true, features = ["arbitrary"] }
|
revm-primitives = { workspace = true, features = ["arbitrary"] }
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
proptest = { version = "1.0" }
|
proptest.workspace = true
|
||||||
proptest-derive = "0.3"
|
proptest-derive = "0.3"
|
||||||
assert_matches = "1.5.0"
|
assert_matches = "1.5.0"
|
||||||
toml = "0.7.4"
|
toml = "0.7.4"
|
||||||
|
|||||||
@ -21,8 +21,8 @@ codecs-derive = { path = "./derive", default-features = false }
|
|||||||
revm-primitives = { workspace = true, features = ["serde"] }
|
revm-primitives = { workspace = true, features = ["serde"] }
|
||||||
|
|
||||||
# arbitrary utils
|
# arbitrary utils
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
proptest = { version = "1.0", optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
proptest-derive = { version = "0.3", optional = true }
|
proptest-derive = { version = "0.3", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -32,6 +32,6 @@ serde = "1.0"
|
|||||||
modular-bitfield = "0.11.2"
|
modular-bitfield = "0.11.2"
|
||||||
test-fuzz = "4"
|
test-fuzz = "4"
|
||||||
|
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
proptest = { version = "1.0" }
|
proptest.workspace = true
|
||||||
proptest-derive = "0.3"
|
proptest-derive = "0.3"
|
||||||
|
|||||||
@ -41,8 +41,8 @@ derive_more = "0.99"
|
|||||||
eyre = "0.6.8"
|
eyre = "0.6.8"
|
||||||
|
|
||||||
# arbitrary utils
|
# arbitrary utils
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
proptest = { version = "1.0", optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
proptest-derive = { version = "0.3", optional = true }
|
proptest-derive = { version = "0.3", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -65,8 +65,8 @@ secp256k1.workspace = true
|
|||||||
|
|
||||||
async-trait.workspace = true
|
async-trait.workspace = true
|
||||||
|
|
||||||
arbitrary = { version = "1.1.7", features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
proptest = { version = "1.0" }
|
proptest.workspace = true
|
||||||
proptest-derive = "0.3"
|
proptest-derive = "0.3"
|
||||||
|
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|||||||
@ -44,12 +44,13 @@ auto_impl = "1.0"
|
|||||||
# testing
|
# testing
|
||||||
rand = { workspace = true, optional = true }
|
rand = { workspace = true, optional = true }
|
||||||
paste = { version = "1.0", optional = true }
|
paste = { version = "1.0", optional = true }
|
||||||
proptest = { version = "1.0", optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
reth-primitives = { workspace = true, features = ["arbitrary"] }
|
||||||
paste = "1.0"
|
paste = "1.0"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
proptest = "1.0"
|
proptest.workspace = true
|
||||||
criterion = "0.5"
|
criterion = "0.5"
|
||||||
assert_matches = "1.5"
|
assert_matches = "1.5"
|
||||||
|
|
||||||
@ -61,4 +62,5 @@ arbitrary = ["proptest", "reth-primitives/arbitrary"]
|
|||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "reorder"
|
name = "reorder"
|
||||||
|
required-features = ["test-utils"]
|
||||||
harness = false
|
harness = false
|
||||||
|
|||||||
@ -41,7 +41,7 @@ reth-provider.workspace = true
|
|||||||
triehash = "0.8"
|
triehash = "0.8"
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
proptest = "1.0"
|
proptest.workspace = true
|
||||||
tokio = { workspace = true, default-features = false, features = ["sync", "rt", "macros"] }
|
tokio = { workspace = true, default-features = false, features = ["sync", "rt", "macros"] }
|
||||||
tokio-stream.workspace = true
|
tokio-stream.workspace = true
|
||||||
criterion = "0.5"
|
criterion = "0.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user