chore: set test-fuzz to workspace dep, bump c-kzg (#6705)

This commit is contained in:
Dan Cline
2024-02-21 05:03:07 -05:00
committed by GitHub
parent 86788c618c
commit c8c422e278
6 changed files with 19 additions and 87 deletions

91
Cargo.lock generated
View File

@ -1194,9 +1194,9 @@ dependencies = [
[[package]] [[package]]
name = "c-kzg" name = "c-kzg"
version = "0.4.1" version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9d8c306be83ec04bf5f73710badd8edf56dea23f2f0d8b7f9fe4644d371c758" checksum = "94a4bc5367b6284358d2a6a6a1dc2d92ec4b86034561c3b9d3341909752fd848"
dependencies = [ dependencies = [
"blst", "blst",
"cc", "cc",
@ -3580,12 +3580,6 @@ dependencies = [
"unicode-normalization", "unicode-normalization",
] ]
[[package]]
name = "if_chain"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed"
[[package]] [[package]]
name = "igd-next" name = "igd-next"
version = "0.14.3" version = "0.14.3"
@ -5897,7 +5891,7 @@ dependencies = [
"proptest", "proptest",
"proptest-derive", "proptest-derive",
"serde", "serde",
"test-fuzz 4.0.5", "test-fuzz",
] ]
[[package]] [[package]]
@ -5964,7 +5958,7 @@ dependencies = [
"serde_json", "serde_json",
"strum 0.26.1", "strum 0.26.1",
"tempfile", "tempfile",
"test-fuzz 5.0.0", "test-fuzz",
"thiserror", "thiserror",
] ]
@ -6102,7 +6096,7 @@ dependencies = [
"secp256k1 0.27.0", "secp256k1 0.27.0",
"serde", "serde",
"snap", "snap",
"test-fuzz 4.0.5", "test-fuzz",
"thiserror", "thiserror",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
@ -6599,7 +6593,7 @@ dependencies = [
"strum 0.26.1", "strum 0.26.1",
"sucds 0.6.0", "sucds 0.6.0",
"tempfile", "tempfile",
"test-fuzz 4.0.5", "test-fuzz",
"thiserror", "thiserror",
"toml", "toml",
"tracing", "tracing",
@ -7718,17 +7712,6 @@ dependencies = [
"opaque-debug", "opaque-debug",
] ]
[[package]]
name = "sha-1"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c"
dependencies = [
"cfg-if",
"cpufeatures",
"digest 0.10.7",
]
[[package]] [[package]]
name = "sha1" name = "sha1"
version = "0.10.6" version = "0.10.6"
@ -7937,7 +7920,7 @@ dependencies = [
"httparse", "httparse",
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"sha-1 0.9.8", "sha-1",
] ]
[[package]] [[package]]
@ -8224,18 +8207,6 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
[[package]]
name = "test-fuzz"
version = "4.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "470137c4c87413dd450bef3d516e6bf88a6dfc70e3f5e359dedbc7f9fc6992b3"
dependencies = [
"serde",
"test-fuzz-internal 4.0.5",
"test-fuzz-macro 4.0.5",
"test-fuzz-runtime 4.0.5",
]
[[package]] [[package]]
name = "test-fuzz" name = "test-fuzz"
version = "5.0.0" version = "5.0.0"
@ -8243,20 +8214,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b139530208017f9d5a113784ed09cf1b8b22dee95eb99d51d89af1a3c2d6594e" checksum = "b139530208017f9d5a113784ed09cf1b8b22dee95eb99d51d89af1a3c2d6594e"
dependencies = [ dependencies = [
"serde", "serde",
"test-fuzz-internal 5.0.0", "test-fuzz-internal",
"test-fuzz-macro 5.0.0", "test-fuzz-macro",
"test-fuzz-runtime 5.0.0", "test-fuzz-runtime",
]
[[package]]
name = "test-fuzz-internal"
version = "4.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9dc636f7d25fd41828408b08931216b93a4d18454a72e2d55d78bc3b78dc167e"
dependencies = [
"bincode",
"cargo_metadata",
"serde",
] ]
[[package]] [[package]]
@ -8270,22 +8230,6 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "test-fuzz-macro"
version = "4.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4da89cfe93508da3676114d5a15aa26e29aa88d5230e22bc5ea5f3c1f08ef5f6"
dependencies = [
"darling 0.20.6",
"if_chain",
"itertools 0.12.1",
"once_cell",
"prettyplease",
"proc-macro2",
"quote",
"syn 2.0.49",
]
[[package]] [[package]]
name = "test-fuzz-macro" name = "test-fuzz-macro"
version = "5.0.0" version = "5.0.0"
@ -8301,19 +8245,6 @@ dependencies = [
"syn 2.0.49", "syn 2.0.49",
] ]
[[package]]
name = "test-fuzz-runtime"
version = "4.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09f701acb832f8c7911fa32863683cd9e02fe83976ed6bc9a9f56c2e4fbea936"
dependencies = [
"hex",
"num-traits",
"serde",
"sha-1 0.10.1",
"test-fuzz-internal 4.0.5",
]
[[package]] [[package]]
name = "test-fuzz-runtime" name = "test-fuzz-runtime"
version = "5.0.0" version = "5.0.0"
@ -8324,7 +8255,7 @@ dependencies = [
"num-traits", "num-traits",
"serde", "serde",
"sha1", "sha1",
"test-fuzz-internal 5.0.0", "test-fuzz-internal",
] ]
[[package]] [[package]]

View File

@ -219,7 +219,7 @@ strum = "0.26"
rayon = "1.7" rayon = "1.7"
itertools = "0.12" itertools = "0.12"
parking_lot = "0.12" parking_lot = "0.12"
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
hex-literal = "0.4" hex-literal = "0.4"
once_cell = "1.17" once_cell = "1.17"
syn = "2.0" syn = "2.0"
@ -252,8 +252,9 @@ secp256k1 = { version = "0.27.0", default-features = false, features = [
"recovery", "recovery",
] } ] }
enr = { version = "0.9", default-features = false, features = ["k256"] } enr = { version = "0.9", default-features = false, features = ["k256"] }
# for eip-4844 # for eip-4844
c-kzg = "0.4.0" c-kzg = "0.4.2"
# config # config
confy = "0.6" confy = "0.6"
@ -269,6 +270,7 @@ proptest = "1.4"
proptest-derive = "0.4" proptest-derive = "0.4"
serial_test = "3" serial_test = "3"
similar-asserts = "1.5.0" similar-asserts = "1.5.0"
test-fuzz = "5"
[workspace.metadata.cargo-udeps.ignore] [workspace.metadata.cargo-udeps.ignore]
# ignored because this is mutually exclusive with the optimism payload builder via feature flags # ignored because this is mutually exclusive with the optimism payload builder via feature flags

View File

@ -48,8 +48,7 @@ reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-tracing.workspace = true reth-tracing.workspace = true
ethers-core = { workspace = true, default-features = false } ethers-core = { workspace = true, default-features = false }
test-fuzz.workspace = true
test-fuzz = "4"
tokio-util = { workspace = true, features = ["io", "codec"] } tokio-util = { workspace = true, features = ["io", "codec"] }
rand.workspace = true rand.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }

View File

@ -76,7 +76,7 @@ revm-primitives = { workspace = true, features = ["arbitrary"] }
nybbles = { workspace = true, features = ["arbitrary"] } nybbles = { workspace = true, features = ["arbitrary"] }
alloy-trie = { workspace = true, features = ["arbitrary"] } alloy-trie = { workspace = true, features = ["arbitrary"] }
serde_json.workspace = true serde_json.workspace = true
test-fuzz = "4" test-fuzz.workspace = true
toml.workspace = true toml.workspace = true
triehash = "0.8" triehash = "0.8"

View File

@ -20,7 +20,7 @@ bytes.workspace = true
alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] } alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] }
serde.workspace = true serde.workspace = true
modular-bitfield = "0.11.2" modular-bitfield = "0.11.2"
test-fuzz = "4" test-fuzz.workspace = true
arbitrary = { workspace = true, features = ["derive"] } arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true proptest.workspace = true

View File

@ -57,7 +57,7 @@ rand.workspace = true
serde_json.workspace = true serde_json.workspace = true
tempfile.workspace = true tempfile.workspace = true
test-fuzz = "5" test-fuzz.workspace = true
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] } pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
criterion.workspace = true criterion.workspace = true