chore(deps): bump enr + secp256k1 (#2443)

This commit is contained in:
Matthias Seitz
2023-04-28 20:05:00 +02:00
committed by GitHub
parent eb37bc7b37
commit a40f3d775c
12 changed files with 42 additions and 51 deletions

53
Cargo.lock generated
View File

@ -1632,9 +1632,9 @@ dependencies = [
[[package]] [[package]]
name = "enr" name = "enr"
version = "0.8.0" version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb4d5fbf6f56acecd38f5988eb2e4ae412008a2a30268c748c701ec6322f39d4" checksum = "cf56acd72bb22d2824e66ae8e9e5ada4d0de17a69c7fd35569dde2ada8ec9116"
dependencies = [ dependencies = [
"base64 0.13.1", "base64 0.13.1",
"bytes", "bytes",
@ -1643,7 +1643,7 @@ dependencies = [
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"rlp", "rlp",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"sha3", "sha3",
"zeroize", "zeroize",
@ -1939,7 +1939,7 @@ dependencies = [
"auto_impl", "auto_impl",
"base64 0.21.0", "base64 0.21.0",
"bytes", "bytes",
"enr 0.8.0", "enr 0.8.1",
"ethers-core", "ethers-core",
"futures-channel", "futures-channel",
"futures-core", "futures-core",
@ -4606,7 +4606,7 @@ dependencies = [
"reth-tasks", "reth-tasks",
"reth-tracing", "reth-tracing",
"reth-transaction-pool", "reth-transaction-pool",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_json", "serde_json",
"shellexpand", "shellexpand",
@ -4748,7 +4748,7 @@ dependencies = [
"reth-interfaces", "reth-interfaces",
"reth-libmdbx", "reth-libmdbx",
"reth-primitives", "reth-primitives",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_json", "serde_json",
"tempfile", "tempfile",
@ -4763,7 +4763,7 @@ name = "reth-discv4"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"discv5", "discv5",
"enr 0.8.0", "enr 0.8.1",
"generic-array", "generic-array",
"hex", "hex",
"rand 0.8.5", "rand 0.8.5",
@ -4773,7 +4773,7 @@ dependencies = [
"reth-rlp", "reth-rlp",
"reth-rlp-derive", "reth-rlp-derive",
"reth-tracing", "reth-tracing",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"thiserror", "thiserror",
"tokio", "tokio",
@ -4787,7 +4787,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"data-encoding", "data-encoding",
"enr 0.8.0", "enr 0.8.1",
"linked_hash_set", "linked_hash_set",
"parking_lot 0.12.1", "parking_lot 0.12.1",
"reth-net-common", "reth-net-common",
@ -4795,7 +4795,7 @@ dependencies = [
"reth-rlp", "reth-rlp",
"reth-tracing", "reth-tracing",
"schnellru", "schnellru",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_with", "serde_with",
"thiserror", "thiserror",
@ -4851,7 +4851,7 @@ dependencies = [
"reth-net-common", "reth-net-common",
"reth-primitives", "reth-primitives",
"reth-rlp", "reth-rlp",
"secp256k1 0.26.0", "secp256k1",
"sha2 0.10.6", "sha2 0.10.6",
"sha3", "sha3",
"thiserror", "thiserror",
@ -4883,7 +4883,7 @@ dependencies = [
"reth-primitives", "reth-primitives",
"reth-rlp", "reth-rlp",
"reth-tracing", "reth-tracing",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"smol_str", "smol_str",
"snap", "snap",
@ -4915,7 +4915,7 @@ dependencies = [
"reth-primitives", "reth-primitives",
"reth-rpc-types", "reth-rpc-types",
"revm-primitives", "revm-primitives",
"secp256k1 0.26.0", "secp256k1",
"thiserror", "thiserror",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
@ -5022,7 +5022,7 @@ dependencies = [
"aquamarine", "aquamarine",
"async-trait", "async-trait",
"auto_impl", "auto_impl",
"enr 0.8.0", "enr 0.8.1",
"ethers-core", "ethers-core",
"ethers-middleware", "ethers-middleware",
"ethers-providers", "ethers-providers",
@ -5055,7 +5055,7 @@ dependencies = [
"reth-tasks", "reth-tasks",
"reth-tracing", "reth-tracing",
"reth-transaction-pool", "reth-transaction-pool",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_json", "serde_json",
"serial_test", "serial_test",
@ -5128,7 +5128,7 @@ dependencies = [
"reth-rlp-derive", "reth-rlp-derive",
"revm-primitives", "revm-primitives",
"ruint", "ruint",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_json", "serde_json",
"serde_with", "serde_with",
@ -5251,7 +5251,7 @@ dependencies = [
"revm", "revm",
"revm-primitives", "revm-primitives",
"schnellru", "schnellru",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror",
@ -5346,7 +5346,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"confy", "confy",
"enr 0.8.0", "enr 0.8.1",
"ethers-core", "ethers-core",
"ethers-middleware", "ethers-middleware",
"ethers-providers", "ethers-providers",
@ -5366,7 +5366,7 @@ dependencies = [
"reth-staged-sync", "reth-staged-sync",
"reth-stages", "reth-stages",
"reth-tracing", "reth-tracing",
"secp256k1 0.26.0", "secp256k1",
"serde", "serde",
"serde_json", "serde_json",
"shellexpand", "shellexpand",
@ -5513,7 +5513,7 @@ dependencies = [
"once_cell", "once_cell",
"revm-primitives", "revm-primitives",
"ripemd", "ripemd",
"secp256k1 0.27.0", "secp256k1",
"sha2 0.10.6", "sha2 0.10.6",
"sha3", "sha3",
"substrate-bn", "substrate-bn",
@ -5877,24 +5877,15 @@ dependencies = [
"zeroize", "zeroize",
] ]
[[package]]
name = "secp256k1"
version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4124a35fe33ae14259c490fd70fa199a32b9ce9502f2ee6bc4f81ec06fa65894"
dependencies = [
"rand 0.8.5",
"secp256k1-sys",
"serde",
]
[[package]] [[package]]
name = "secp256k1" name = "secp256k1"
version = "0.27.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f" checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f"
dependencies = [ dependencies = [
"rand 0.8.5",
"secp256k1-sys", "secp256k1-sys",
"serde",
] ]
[[package]] [[package]]

View File

@ -41,7 +41,7 @@ reth-discv4 = { path = "../../crates/net/discv4" }
built = { version = "0.6", features = ["chrono", "semver"] } built = { version = "0.6", features = ["chrono", "semver"] }
# crypto # crypto
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery", "recovery",

View File

@ -26,7 +26,7 @@ futures = "0.3"
tokio-stream = "0.1.11" tokio-stream = "0.1.11"
rand = "0.8.5" rand = "0.8.5"
arbitrary = { version = "1.1.7", features = ["derive"], optional = true } arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
secp256k1 = { version = "0.26.0", default-features = false, features = [ secp256k1 = { version = "0.27.0", default-features = false, features = [
"alloc", "alloc",
"recovery", "recovery",
"rand", "rand",
@ -40,7 +40,7 @@ tokio = { version = "1.21.2", features = ["full"] }
tokio-stream = { version = "0.1.11", features = ["sync"] } tokio-stream = { version = "0.1.11", features = ["sync"] }
arbitrary = { version = "1.1.7", features = ["derive"] } arbitrary = { version = "1.1.7", features = ["derive"] }
hex-literal = "0.3" hex-literal = "0.3"
secp256k1 = { version = "0.26.0", default-features = false, features = [ secp256k1 = { version = "0.27.0", default-features = false, features = [
"alloc", "alloc",
"recovery", "recovery",
"rand", "rand",

View File

@ -19,13 +19,13 @@ reth-net-nat = { path = "../nat" }
# ethereum # ethereum
discv5 = { git = "https://github.com/sigp/discv5" } discv5 = { git = "https://github.com/sigp/discv5" }
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery", "recovery",
"serde" "serde"
] } ] }
enr = { version = "0.8.0", default-features = false, features = [ enr = { version = "0.8.1", default-features = false, features = [
"rust-secp256k1", "rust-secp256k1",
] } ] }

View File

@ -14,13 +14,13 @@ reth-net-common = { path = "../common" }
reth-rlp = { path = "../../rlp" } reth-rlp = { path = "../../rlp" }
# ethereum # ethereum
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery", "recovery",
"serde" "serde"
] } ] }
enr = { version = "0.8.0", default-features = false, features = ["rust-secp256k1"] } enr = { version = "0.8.1", default-features = false, features = ["rust-secp256k1"] }
# async/futures # async/futures
tokio = { version = "1", features = ["io-util", "net", "time"] } tokio = { version = "1", features = ["io-util", "net", "time"] }

View File

@ -30,7 +30,7 @@ byteorder = "1.4.3"
rand = "0.8.5" rand = "0.8.5"
ctr = "0.9.2" ctr = "0.9.2"
digest = "0.10.5" digest = "0.10.5"
secp256k1 = { version = "0.26.0", features = ["global-context", "rand-std", "recovery"] } secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std", "recovery"] }
sha2 = "0.10.6" sha2 = "0.10.6"
sha3 = "0.10.5" sha3 = "0.10.5"
aes = "0.8.1" aes = "0.8.1"

View File

@ -47,7 +47,7 @@ tokio-util = { version = "0.7.4", features = ["io", "codec"] }
hex-literal = "0.3" hex-literal = "0.3"
hex = "0.4" hex = "0.4"
rand = "0.8" rand = "0.8"
secp256k1 = { version = "0.26.0", features = ["global-context", "rand-std", "recovery"] } secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std", "recovery"] }
arbitrary = { version = "1.1.7", features = ["derive"] } arbitrary = { version = "1.1.7", features = ["derive"] }
proptest = { version = "1.0" } proptest = { version = "1.0" }

View File

@ -60,13 +60,13 @@ async-trait = "0.1"
linked_hash_set = "0.1" linked_hash_set = "0.1"
linked-hash-map = "0.5.6" linked-hash-map = "0.5.6"
rand = "0.8" rand = "0.8"
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery", "recovery",
] } ] }
enr = { version = "0.8.0", features = ["rust-secp256k1"], optional = true } enr = { version = "0.8.1", features = ["rust-secp256k1"], optional = true }
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true } ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true }
tempfile = { version = "3.3", optional = true } tempfile = { version = "3.3", optional = true }
@ -88,7 +88,7 @@ ethers-providers = { git = "https://github.com/gakonst/ethers-rs", default-featu
ethers-signers = { git = "https://github.com/gakonst/ethers-rs", default-features = false } ethers-signers = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
ethers-middleware = { git = "https://github.com/gakonst/ethers-rs", default-features = false } ethers-middleware = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
enr = { version = "0.8.0", features = ["serde", "rust-secp256k1"] } enr = { version = "0.8.1", features = ["serde", "rust-secp256k1"] }
# misc # misc
hex = "0.4" hex = "0.4"

View File

@ -27,7 +27,7 @@ fixed-hash = { version = "0.8", default-features = false, features = [
] } ] }
# crypto # crypto
secp256k1 = { version = "0.26.0", default-features = false, features = [ secp256k1 = { version = "0.27.0", default-features = false, features = [
"global-context", "global-context",
"alloc", "alloc",
"recovery", "recovery",
@ -75,7 +75,7 @@ proptest-derive = "0.3"
# necessary so we don't hit a "undeclared 'std'": # necessary so we don't hit a "undeclared 'std'":
# https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198 # https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198
secp256k1 = "0.26.0" secp256k1 = "0.27.0"
criterion = "0.4.0" criterion = "0.4.0"
pprof = { version = "0.11", features = [ pprof = { version = "0.11", features = [
"flamegraph", "flamegraph",

View File

@ -46,7 +46,7 @@ tokio-util = "0.7"
pin-project = "1.0" pin-project = "1.0"
bytes = "1.4" bytes = "1.4"
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery" "recovery"

View File

@ -31,7 +31,7 @@ tracing = "0.1.37"
# crypto # crypto
rand = { version = "0.8", optional = true } rand = { version = "0.8", optional = true }
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery", "recovery",
@ -41,7 +41,7 @@ secp256k1 = { version = "0.26.0", features = [
thiserror = "1" thiserror = "1"
# enr # enr
enr = { version = "0.8.0", features = ["serde", "rust-secp256k1"], optional = true } enr = { version = "0.8.1", features = ["serde", "rust-secp256k1"], optional = true }
# ethers # ethers
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true } ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true }
@ -70,7 +70,7 @@ futures = "0.3"
tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"] } tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"] }
# crypto # crypto
secp256k1 = { version = "0.26.0", features = [ secp256k1 = { version = "0.27.0", features = [
"global-context", "global-context",
"rand-std", "rand-std",
"recovery", "recovery",

View File

@ -22,7 +22,7 @@ parity-scale-codec = { version = "3.2.1", features = ["bytes"] }
futures = "0.3.25" futures = "0.3.25"
tokio-stream = "0.1.11" tokio-stream = "0.1.11"
rand = "0.8.5" rand = "0.8.5"
secp256k1 = { version = "0.26.0", default-features = false, features = [ secp256k1 = { version = "0.27.0", default-features = false, features = [
"alloc", "alloc",
"recovery", "recovery",
"rand", "rand",
@ -60,7 +60,7 @@ tokio = { version = "1.21.2", features = ["full"] }
reth-db = { path = ".", features = ["test-utils", "bench"] } reth-db = { path = ".", features = ["test-utils", "bench"] }
# needed for test-fuzz to work properly, see https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198 # needed for test-fuzz to work properly, see https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198
secp256k1 = "0.26.0" secp256k1 = "0.27.0"
async-trait = "0.1.58" async-trait = "0.1.58"