chore(deps): bump some breaking deps (#11388)

This commit is contained in:
DaniPopes
2024-10-01 19:26:47 +02:00
committed by GitHub
parent 707067ab4d
commit fbc01d6cfa
13 changed files with 166 additions and 121 deletions

235
Cargo.lock generated
View File

@ -122,7 +122,7 @@ dependencies = [
"arbitrary", "arbitrary",
"auto_impl", "auto_impl",
"c-kzg", "c-kzg",
"derive_more", "derive_more 1.0.0",
"serde", "serde",
"serde_with", "serde_with",
] ]
@ -138,7 +138,7 @@ dependencies = [
"alloy-sol-type-parser", "alloy-sol-type-parser",
"alloy-sol-types", "alloy-sol-types",
"const-hex", "const-hex",
"derive_more", "derive_more 1.0.0",
"itoa", "itoa",
"serde", "serde",
"serde_json", "serde_json",
@ -185,7 +185,7 @@ dependencies = [
"alloy-serde", "alloy-serde",
"arbitrary", "arbitrary",
"c-kzg", "c-kzg",
"derive_more", "derive_more 1.0.0",
"once_cell", "once_cell",
"serde", "serde",
"sha2 0.10.8", "sha2 0.10.8",
@ -291,7 +291,7 @@ dependencies = [
"cfg-if", "cfg-if",
"const-hex", "const-hex",
"derive_arbitrary", "derive_arbitrary",
"derive_more", "derive_more 1.0.0",
"getrandom 0.2.15", "getrandom 0.2.15",
"hashbrown 0.14.5", "hashbrown 0.14.5",
"hex-literal", "hex-literal",
@ -484,7 +484,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"alloy-serde", "alloy-serde",
"derive_more", "derive_more 1.0.0",
"jsonrpsee-types", "jsonrpsee-types",
"jsonwebtoken", "jsonwebtoken",
"rand 0.8.5", "rand 0.8.5",
@ -505,7 +505,7 @@ dependencies = [
"alloy-rlp", "alloy-rlp",
"alloy-serde", "alloy-serde",
"alloy-sol-types", "alloy-sol-types",
"derive_more", "derive_more 1.0.0",
"itertools 0.13.0", "itertools 0.13.0",
"jsonrpsee-types", "jsonrpsee-types",
"serde", "serde",
@ -746,7 +746,7 @@ dependencies = [
"alloy-rlp", "alloy-rlp",
"arbitrary", "arbitrary",
"derive_arbitrary", "derive_arbitrary",
"derive_more", "derive_more 1.0.0",
"nybbles", "nybbles",
"proptest", "proptest",
"proptest-derive", "proptest-derive",
@ -1122,13 +1122,11 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]] [[package]]
name = "backon" name = "backon"
version = "0.4.4" version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d67782c3f868daa71d3533538e98a8e13713231969def7536e8039606fc46bf0" checksum = "e4fa97bb310c33c811334143cf64c5bb2b7b3c06e453db6b095d7061eff8f113"
dependencies = [ dependencies = [
"fastrand 2.1.1", "fastrand 2.1.1",
"futures-core",
"pin-project",
"tokio", "tokio",
] ]
@ -1224,6 +1222,24 @@ dependencies = [
"syn 2.0.79", "syn 2.0.79",
] ]
[[package]]
name = "bindgen"
version = "0.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f"
dependencies = [
"bitflags 2.6.0",
"cexpr",
"clang-sys",
"itertools 0.13.0",
"proc-macro2",
"quote",
"regex",
"rustc-hash 1.1.0",
"shlex",
"syn 2.0.79",
]
[[package]] [[package]]
name = "bit-set" name = "bit-set"
version = "0.5.3" version = "0.5.3"
@ -1808,7 +1824,7 @@ version = "7.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7"
dependencies = [ dependencies = [
"crossterm", "crossterm 0.27.0",
"strum", "strum",
"strum_macros", "strum_macros",
"unicode-width", "unicode-width",
@ -1816,13 +1832,14 @@ dependencies = [
[[package]] [[package]]
name = "compact_str" name = "compact_str"
version = "0.7.1" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" checksum = "6050c3a16ddab2e412160b31f2c871015704239bca62f72f6e5f0be631d3f644"
dependencies = [ dependencies = [
"castaway", "castaway",
"cfg-if", "cfg-if",
"itoa", "itoa",
"rustversion",
"ryu", "ryu",
"static_assertions", "static_assertions",
] ]
@ -2054,8 +2071,21 @@ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"crossterm_winapi", "crossterm_winapi",
"libc", "libc",
"mio 0.8.11",
"parking_lot 0.12.3", "parking_lot 0.12.3",
"winapi",
]
[[package]]
name = "crossterm"
version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
dependencies = [
"bitflags 2.6.0",
"crossterm_winapi",
"mio 1.0.2",
"parking_lot 0.12.3",
"rustix",
"signal-hook", "signal-hook",
"signal-hook-mio", "signal-hook-mio",
"winapi", "winapi",
@ -2321,6 +2351,17 @@ dependencies = [
"syn 2.0.79", "syn 2.0.79",
] ]
[[package]]
name = "derive_more"
version = "0.99.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.79",
]
[[package]] [[package]]
name = "derive_more" name = "derive_more"
version = "1.0.0" version = "1.0.0"
@ -3654,32 +3695,36 @@ dependencies = [
[[package]] [[package]]
name = "iai-callgrind" name = "iai-callgrind"
version = "0.11.1" version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "146bf76de95f03c5f4b118f0f2f350ef18df47cc0595755bd29d8f668209466c" checksum = "4bd871e6374d5ca2d9b48dd23b3c7ef63a4201728621f6d75937dfcc66e91809"
dependencies = [ dependencies = [
"bincode", "bincode",
"derive_more 0.99.18",
"iai-callgrind-macros", "iai-callgrind-macros",
"iai-callgrind-runner", "iai-callgrind-runner",
] ]
[[package]] [[package]]
name = "iai-callgrind-macros" name = "iai-callgrind-macros"
version = "0.2.0" 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 = "e2a4bb39225592c0a28cfca6f70af52ebd8da23f533c2cdd0a3329c1fa252d56" checksum = "397649417510422ded7033f86132f833cca8c2e5081d0dfbec939b2353da7021"
dependencies = [ dependencies = [
"proc-macro-error", "derive_more 0.99.18",
"proc-macro-error2",
"proc-macro2", "proc-macro2",
"quote", "quote",
"serde",
"serde_json",
"syn 2.0.79", "syn 2.0.79",
] ]
[[package]] [[package]]
name = "iai-callgrind-runner" name = "iai-callgrind-runner"
version = "0.11.1" version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60484b2e469ef4f1af6f196af738889ff375151dd11ac223647ed8a97529107d" checksum = "f3783c337f9e931af702b5d5835ff2a6824bf55e416461a4e042dfb4b8fdbbea"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@ -3983,6 +4028,16 @@ dependencies = [
"generic-array", "generic-array",
] ]
[[package]]
name = "instability"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b23a0c8dfe501baac4adf6ebbfa6eddf8f0c07f56b058cc1288017e32397846c"
dependencies = [
"quote",
"syn 2.0.79",
]
[[package]] [[package]]
name = "instant" name = "instant"
version = "0.1.13" version = "0.1.13"
@ -4448,7 +4503,7 @@ version = "0.14.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae9ea4b75e1a81675429dafe43441df1caea70081e82246a8cccf514884a88bb" checksum = "ae9ea4b75e1a81675429dafe43441df1caea70081e82246a8cccf514884a88bb"
dependencies = [ dependencies = [
"bindgen", "bindgen 0.69.4",
"errno", "errno",
"libc", "libc",
] ]
@ -4777,20 +4832,20 @@ checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
dependencies = [ dependencies = [
"hermit-abi 0.3.9", "hermit-abi 0.3.9",
"libc", "libc",
"log",
"wasi 0.11.0+wasi-snapshot-preview1", "wasi 0.11.0+wasi-snapshot-preview1",
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
[[package]] [[package]]
name = "mockall" name = "mockall"
version = "0.12.1" version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" checksum = "d4c28b3fb6d753d28c20e826cd46ee611fda1cf3cde03a443a974043247c065a"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"downcast", "downcast",
"fragile", "fragile",
"lazy_static",
"mockall_derive", "mockall_derive",
"predicates", "predicates",
"predicates-tree", "predicates-tree",
@ -4798,9 +4853,9 @@ dependencies = [
[[package]] [[package]]
name = "mockall_derive" name = "mockall_derive"
version = "0.12.1" version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" checksum = "341014e7f530314e9a1fdbc7400b244efea7122662c96bfa248c31da5bfb2020"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"proc-macro2", "proc-macro2",
@ -5114,7 +5169,7 @@ dependencies = [
"alloy-rlp", "alloy-rlp",
"alloy-serde", "alloy-serde",
"arbitrary", "arbitrary",
"derive_more", "derive_more 1.0.0",
"serde", "serde",
"serde_with", "serde_with",
"spin", "spin",
@ -5159,7 +5214,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"alloy-serde", "alloy-serde",
"derive_more", "derive_more 1.0.0",
"op-alloy-consensus", "op-alloy-consensus",
"op-alloy-genesis", "op-alloy-genesis",
"serde", "serde",
@ -5192,7 +5247,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types-engine", "alloy-rpc-types-engine",
"alloy-serde", "alloy-serde",
"derive_more", "derive_more 1.0.0",
"op-alloy-consensus", "op-alloy-consensus",
"op-alloy-genesis", "op-alloy-genesis",
"op-alloy-protocol", "op-alloy-protocol",
@ -5962,18 +6017,18 @@ dependencies = [
[[package]] [[package]]
name = "ratatui" name = "ratatui"
version = "0.27.0" version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d16546c5b5962abf8ce6e2881e722b4e0ae3b6f1a08a26ae3573c55853ca68d3" checksum = "fdef7f9be5c0122f890d58bdf4d964349ba6a6161f705907526d891efabba57d"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"cassowary", "cassowary",
"compact_str", "compact_str",
"crossterm", "crossterm 0.28.1",
"instability",
"itertools 0.13.0", "itertools 0.13.0",
"lru", "lru",
"paste", "paste",
"stability",
"strum", "strum",
"strum_macros", "strum_macros",
"unicode-segmentation", "unicode-segmentation",
@ -6425,7 +6480,7 @@ dependencies = [
"alloy-signer", "alloy-signer",
"alloy-signer-local", "alloy-signer-local",
"auto_impl", "auto_impl",
"derive_more", "derive_more 1.0.0",
"metrics", "metrics",
"parking_lot 0.12.3", "parking_lot 0.12.3",
"pin-project", "pin-project",
@ -6454,7 +6509,7 @@ dependencies = [
"alloy-rlp", "alloy-rlp",
"alloy-trie", "alloy-trie",
"auto_impl", "auto_impl",
"derive_more", "derive_more 1.0.0",
"once_cell", "once_cell",
"op-alloy-rpc-types", "op-alloy-rpc-types",
"reth-ethereum-forks", "reth-ethereum-forks",
@ -6486,7 +6541,7 @@ dependencies = [
"backon", "backon",
"clap", "clap",
"comfy-table", "comfy-table",
"crossterm", "crossterm 0.28.1",
"eyre", "eyre",
"fdlimit", "fdlimit",
"futures", "futures",
@ -6617,7 +6672,7 @@ version = "1.0.7"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"auto_impl", "auto_impl",
"derive_more", "derive_more 1.0.0",
"reth-primitives", "reth-primitives",
] ]
@ -6668,7 +6723,7 @@ dependencies = [
"assert_matches", "assert_matches",
"bytes", "bytes",
"criterion", "criterion",
"derive_more", "derive_more 1.0.0",
"eyre", "eyre",
"iai-callgrind", "iai-callgrind",
"metrics", "metrics",
@ -6707,7 +6762,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"arbitrary", "arbitrary",
"bytes", "bytes",
"derive_more", "derive_more 1.0.0",
"metrics", "metrics",
"modular-bitfield", "modular-bitfield",
"parity-scale-codec", "parity-scale-codec",
@ -6802,7 +6857,7 @@ version = "1.0.7"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"derive_more", "derive_more 1.0.0",
"discv5", "discv5",
"enr", "enr",
"futures", "futures",
@ -7122,7 +7177,7 @@ dependencies = [
"arbitrary", "arbitrary",
"async-stream", "async-stream",
"bytes", "bytes",
"derive_more", "derive_more 1.0.0",
"futures", "futures",
"pin-project", "pin-project",
"proptest", "proptest",
@ -7159,7 +7214,7 @@ dependencies = [
"alloy-rlp", "alloy-rlp",
"arbitrary", "arbitrary",
"bytes", "bytes",
"derive_more", "derive_more 1.0.0",
"proptest", "proptest",
"proptest-arbitrary-interop", "proptest-arbitrary-interop",
"rand 0.8.5", "rand 0.8.5",
@ -7320,7 +7375,7 @@ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"derive_more", "derive_more 1.0.0",
"nybbles", "nybbles",
"reth-consensus", "reth-consensus",
"reth-prune-types", "reth-prune-types",
@ -7500,7 +7555,7 @@ dependencies = [
"byteorder", "byteorder",
"criterion", "criterion",
"dashmap 6.1.0", "dashmap 6.1.0",
"derive_more", "derive_more 1.0.0",
"indexmap 2.5.0", "indexmap 2.5.0",
"parking_lot 0.12.3", "parking_lot 0.12.3",
"pprof", "pprof",
@ -7517,7 +7572,7 @@ dependencies = [
name = "reth-mdbx-sys" name = "reth-mdbx-sys"
version = "1.0.7" version = "1.0.7"
dependencies = [ dependencies = [
"bindgen", "bindgen 0.70.1",
"cc", "cc",
] ]
@ -7566,7 +7621,7 @@ dependencies = [
"aquamarine", "aquamarine",
"auto_impl", "auto_impl",
"criterion", "criterion",
"derive_more", "derive_more 1.0.0",
"discv5", "discv5",
"enr", "enr",
"futures", "futures",
@ -7620,7 +7675,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types-admin", "alloy-rpc-types-admin",
"auto_impl", "auto_impl",
"derive_more", "derive_more 1.0.0",
"enr", "enr",
"futures", "futures",
"reth-eth-wire-types", "reth-eth-wire-types",
@ -7642,7 +7697,7 @@ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
"auto_impl", "auto_impl",
"derive_more", "derive_more 1.0.0",
"futures", "futures",
"parking_lot 0.12.3", "parking_lot 0.12.3",
"reth-consensus", "reth-consensus",
@ -7690,7 +7745,7 @@ version = "1.0.7"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bincode", "bincode",
"derive_more", "derive_more 1.0.0",
"lz4_flex", "lz4_flex",
"memmap2", "memmap2",
"rand 0.8.5", "rand 0.8.5",
@ -7792,7 +7847,7 @@ dependencies = [
"alloy-rpc-types-engine", "alloy-rpc-types-engine",
"clap", "clap",
"const_format", "const_format",
"derive_more", "derive_more 1.0.0",
"dirs-next", "dirs-next",
"eyre", "eyre",
"futures", "futures",
@ -7915,7 +7970,7 @@ dependencies = [
"reth-metrics", "reth-metrics",
"reth-provider", "reth-provider",
"reth-tasks", "reth-tasks",
"socket2 0.4.10", "socket2 0.5.7",
"tikv-jemalloc-ctl", "tikv-jemalloc-ctl",
"tokio", "tokio",
"tower 0.4.13", "tower 0.4.13",
@ -7939,7 +7994,7 @@ dependencies = [
"alloy-chains", "alloy-chains",
"alloy-genesis", "alloy-genesis",
"alloy-primitives", "alloy-primitives",
"derive_more", "derive_more 1.0.0",
"once_cell", "once_cell",
"op-alloy-rpc-types", "op-alloy-rpc-types",
"reth-chainspec", "reth-chainspec",
@ -8147,7 +8202,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types", "alloy-rpc-types",
"alloy-rpc-types-eth", "alloy-rpc-types-eth",
"derive_more", "derive_more 1.0.0",
"jsonrpsee-types", "jsonrpsee-types",
"op-alloy-consensus", "op-alloy-consensus",
"op-alloy-network", "op-alloy-network",
@ -8258,7 +8313,7 @@ dependencies = [
"bytes", "bytes",
"c-kzg", "c-kzg",
"criterion", "criterion",
"derive_more", "derive_more 1.0.0",
"k256", "k256",
"modular-bitfield", "modular-bitfield",
"once_cell", "once_cell",
@ -8299,7 +8354,7 @@ dependencies = [
"bincode", "bincode",
"byteorder", "byteorder",
"bytes", "bytes",
"derive_more", "derive_more 1.0.0",
"modular-bitfield", "modular-bitfield",
"proptest", "proptest",
"proptest-arbitrary-interop", "proptest-arbitrary-interop",
@ -8401,7 +8456,7 @@ dependencies = [
"arbitrary", "arbitrary",
"assert_matches", "assert_matches",
"bytes", "bytes",
"derive_more", "derive_more 1.0.0",
"modular-bitfield", "modular-bitfield",
"proptest", "proptest",
"proptest-arbitrary-interop", "proptest-arbitrary-interop",
@ -8452,7 +8507,7 @@ dependencies = [
"alloy-signer", "alloy-signer",
"alloy-signer-local", "alloy-signer-local",
"async-trait", "async-trait",
"derive_more", "derive_more 1.0.0",
"futures", "futures",
"http", "http",
"http-body", "http-body",
@ -8683,7 +8738,7 @@ dependencies = [
"alloy-rpc-types-eth", "alloy-rpc-types-eth",
"alloy-serde", "alloy-serde",
"alloy-sol-types", "alloy-sol-types",
"derive_more", "derive_more 1.0.0",
"futures", "futures",
"jsonrpsee-core", "jsonrpsee-core",
"jsonrpsee-types", "jsonrpsee-types",
@ -8894,7 +8949,7 @@ version = "1.0.7"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"clap", "clap",
"derive_more", "derive_more 1.0.0",
"serde", "serde",
"strum", "strum",
] ]
@ -8924,7 +8979,7 @@ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"derive_more", "derive_more 1.0.0",
"reth-fs-util", "reth-fs-util",
"reth-primitives", "reth-primitives",
] ]
@ -9035,7 +9090,7 @@ dependencies = [
"alloy-rlp", "alloy-rlp",
"auto_impl", "auto_impl",
"criterion", "criterion",
"derive_more", "derive_more 1.0.0",
"itertools 0.13.0", "itertools 0.13.0",
"metrics", "metrics",
"proptest", "proptest",
@ -9067,7 +9122,7 @@ dependencies = [
"alloy-trie", "alloy-trie",
"arbitrary", "arbitrary",
"bytes", "bytes",
"derive_more", "derive_more 1.0.0",
"hash-db", "hash-db",
"itertools 0.13.0", "itertools 0.13.0",
"nybbles", "nybbles",
@ -9087,7 +9142,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"auto_impl", "auto_impl",
"derive_more", "derive_more 1.0.0",
"itertools 0.13.0", "itertools 0.13.0",
"metrics", "metrics",
"proptest", "proptest",
@ -9122,7 +9177,7 @@ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rlp", "alloy-rlp",
"criterion", "criterion",
"derive_more", "derive_more 1.0.0",
"itertools 0.13.0", "itertools 0.13.0",
"metrics", "metrics",
"proptest", "proptest",
@ -9933,7 +9988,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd"
dependencies = [ dependencies = [
"libc", "libc",
"mio 0.8.11", "mio 1.0.2",
"signal-hook", "signal-hook",
] ]
@ -10082,16 +10137,6 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a"
[[package]]
name = "stability"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d904e7009df136af5297832a3ace3370cd14ff1546a232f4f185036c2736fcac"
dependencies = [
"quote",
"syn 2.0.79",
]
[[package]] [[package]]
name = "stable_deref_trait" name = "stable_deref_trait"
version = "1.2.0" version = "1.2.0"
@ -10242,16 +10287,15 @@ dependencies = [
[[package]] [[package]]
name = "sysinfo" name = "sysinfo"
version = "0.30.13" version = "0.31.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" checksum = "355dbe4f8799b304b05e1b0f05fc59b2a18d36645cf169607da45bde2f69a1be"
dependencies = [ dependencies = [
"cfg-if",
"core-foundation-sys", "core-foundation-sys",
"libc", "libc",
"memchr",
"ntapi", "ntapi",
"once_cell", "windows 0.57.0",
"windows 0.52.0",
] ]
[[package]] [[package]]
@ -10281,9 +10325,9 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
[[package]] [[package]]
name = "test-fuzz" name = "test-fuzz"
version = "5.2.2" version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9c7343da240e16d7ed8e7a11a6f8e7535c634c38a40736f3b001b38b274962c" checksum = "3ab7a9bb33d134e863862ab9dad2ac7e022ac89707914627f498fe0f29248d9b"
dependencies = [ dependencies = [
"serde", "serde",
"test-fuzz-internal", "test-fuzz-internal",
@ -10293,9 +10337,9 @@ dependencies = [
[[package]] [[package]]
name = "test-fuzz-internal" name = "test-fuzz-internal"
version = "5.2.2" version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7fbf19217465046777a6c53186f5a72e397a6485a438e6778a283bdd4be720" checksum = "d0bef5dd380747bd7b6e636a8032a24aa34fcecaf843e59fc97d299681922e86"
dependencies = [ dependencies = [
"bincode", "bincode",
"cargo_metadata", "cargo_metadata",
@ -10304,11 +10348,12 @@ dependencies = [
[[package]] [[package]]
name = "test-fuzz-macro" name = "test-fuzz-macro"
version = "5.2.2" version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f7fa70c261f748327f21d189b20f447a4306bc1f85ed2571adf185765b14e0a" checksum = "a7e6b4c7391a38f0f026972ec2200bcfd1ec45533aa266fdae5858d011afc500"
dependencies = [ dependencies = [
"darling", "darling",
"heck",
"itertools 0.13.0", "itertools 0.13.0",
"once_cell", "once_cell",
"prettyplease", "prettyplease",
@ -10319,9 +10364,9 @@ dependencies = [
[[package]] [[package]]
name = "test-fuzz-runtime" name = "test-fuzz-runtime"
version = "5.2.2" version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ba7fe4e29cb917d48fcd18324ed745b6d5e43e9bea76f5f85eb8352f5829ac1" checksum = "c9fbe6fb7481ec6d9bf64ae2c5d49cb1b40f8da624a91031482af7b08168c679"
dependencies = [ dependencies = [
"hex", "hex",
"num-traits", "num-traits",
@ -11292,16 +11337,6 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windows"
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be"
dependencies = [
"windows-core 0.52.0",
"windows-targets 0.52.6",
]
[[package]] [[package]]
name = "windows" name = "windows"
version = "0.57.0" version = "0.57.0"

View File

@ -469,7 +469,10 @@ op-alloy-consensus = "0.3.2"
# misc # misc
aquamarine = "0.5" aquamarine = "0.5"
auto_impl = "1" auto_impl = "1"
backon = "0.4" backon = { version = "1.2", default-features = false, features = [
"std-blocking-sleep",
"tokio-sleep",
] }
bincode = "1.3" bincode = "1.3"
bitflags = "2.4" bitflags = "2.4"
boyer-moore-magiclen = "0.2.16" boyer-moore-magiclen = "0.2.16"
@ -577,14 +580,14 @@ toml = "0.8"
arbitrary = "1.3" arbitrary = "1.3"
assert_matches = "1.5.0" assert_matches = "1.5.0"
criterion = "0.5" criterion = "0.5"
iai-callgrind = "0.11" iai-callgrind = "0.13"
pprof = "0.13" pprof = "0.13"
proptest = "1.4" proptest = "1.4"
proptest-derive = "0.5" proptest-derive = "0.5"
serial_test = { default-features = false, version = "3" } serial_test = { default-features = false, version = "3" }
similar-asserts = { default-features = false, version = "1.5.0" } similar-asserts = { default-features = false, version = "1.5.0" }
tempfile = "3.8" tempfile = "3.8"
test-fuzz = "5" test-fuzz = "6"
tikv-jemalloc-ctl = "0.6" tikv-jemalloc-ctl = "0.6"
tikv-jemallocator = "0.6" tikv-jemallocator = "0.6"

View File

@ -118,14 +118,14 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
let header = (move || { let header = (move || {
get_single_header(client.clone(), BlockHashOrNumber::Number(target_block_number)) get_single_header(client.clone(), BlockHashOrNumber::Number(target_block_number))
}) })
.retry(&backoff) .retry(backoff)
.notify(|err, _| warn!(target: "reth::cli", "Error requesting header: {err}. Retrying...")) .notify(|err, _| warn!(target: "reth::cli", "Error requesting header: {err}. Retrying..."))
.await?; .await?;
let client = fetch_client.clone(); let client = fetch_client.clone();
let chain = provider_factory.chain_spec(); let chain = provider_factory.chain_spec();
let block = (move || get_single_body(client.clone(), Arc::clone(&chain), header.clone())) let block = (move || get_single_body(client.clone(), Arc::clone(&chain), header.clone()))
.retry(&backoff) .retry(backoff)
.notify( .notify(
|err, _| warn!(target: "reth::cli", "Error requesting body: {err}. Retrying..."), |err, _| warn!(target: "reth::cli", "Error requesting body: {err}. Retrying..."),
) )

View File

@ -113,7 +113,7 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
let to_header = (move || { let to_header = (move || {
get_single_header(client.clone(), BlockHashOrNumber::Number(self.to)) get_single_header(client.clone(), BlockHashOrNumber::Number(self.to))
}) })
.retry(&backoff) .retry(backoff)
.notify(|err, _| warn!(target: "reth::cli", "Error requesting header: {err}. Retrying...")) .notify(|err, _| warn!(target: "reth::cli", "Error requesting header: {err}. Retrying..."))
.await?; .await?;
info!(target: "reth::cli", target_block_number=self.to, "Finished downloading tip of block range"); info!(target: "reth::cli", target_block_number=self.to, "Finished downloading tip of block range");

View File

@ -60,7 +60,11 @@ serde.workspace = true
serde_json.workspace = true serde_json.workspace = true
tracing.workspace = true tracing.workspace = true
backon.workspace = true backon.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } secp256k1 = { workspace = true, features = [
"global-context",
"rand-std",
"recovery",
] }
# io # io
fdlimit.workspace = true fdlimit.workspace = true
@ -68,8 +72,8 @@ toml = { workspace = true, features = ["display"] }
# tui # tui
comfy-table = "7.0" comfy-table = "7.0"
crossterm = "0.27.0" crossterm = "0.28.0"
ratatui = { version = "0.27", default-features = false, features = [ ratatui = { version = "0.28", default-features = false, features = [
"crossterm", "crossterm",
] } ] }
@ -88,5 +92,5 @@ dev = [
"dep:arbitrary", "dep:arbitrary",
"dep:proptest-arbitrary-interop", "dep:proptest-arbitrary-interop",
"reth-primitives/arbitrary", "reth-primitives/arbitrary",
"reth-db-api/arbitrary" "reth-db-api/arbitrary",
] ]

View File

@ -347,7 +347,7 @@ where
let outer_chunks = Layout::default() let outer_chunks = Layout::default()
.direction(Direction::Vertical) .direction(Direction::Vertical)
.constraints([Constraint::Percentage(95), Constraint::Percentage(5)].as_ref()) .constraints([Constraint::Percentage(95), Constraint::Percentage(5)].as_ref())
.split(f.size()); .split(f.area());
// Columns // Columns
{ {

View File

@ -118,7 +118,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
match self.command { match self.command {
Subcommands::Header { id } => { Subcommands::Header { id } => {
let header = (move || get_single_header(fetch_client.clone(), id)) let header = (move || get_single_header(fetch_client.clone(), id))
.retry(&backoff) .retry(backoff)
.notify(|err, _| println!("Error requesting header: {err}. Retrying...")) .notify(|err, _| println!("Error requesting header: {err}. Retrying..."))
.await?; .await?;
println!("Successfully downloaded header: {header:?}"); println!("Successfully downloaded header: {header:?}");
@ -132,7 +132,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
let header = (move || { let header = (move || {
get_single_header(client.clone(), BlockHashOrNumber::Number(number)) get_single_header(client.clone(), BlockHashOrNumber::Number(number))
}) })
.retry(&backoff) .retry(backoff)
.notify(|err, _| println!("Error requesting header: {err}. Retrying...")) .notify(|err, _| println!("Error requesting header: {err}. Retrying..."))
.await?; .await?;
header.hash() header.hash()
@ -142,7 +142,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
let client = fetch_client.clone(); let client = fetch_client.clone();
client.get_block_bodies(vec![hash]) client.get_block_bodies(vec![hash])
}) })
.retry(&backoff) .retry(backoff)
.notify(|err, _| println!("Error requesting block: {err}. Retrying...")) .notify(|err, _| println!("Error requesting block: {err}. Retrying..."))
.await? .await?
.split(); .split();

View File

@ -23,6 +23,6 @@ revm-primitives.workspace = true
[dev-dependencies] [dev-dependencies]
reth-storage-api.workspace = true reth-storage-api.workspace = true
rand.workspace = true rand.workspace = true
mockall = "0.12" mockall = "0.13"
alloy-consensus.workspace = true alloy-consensus.workspace = true

View File

@ -36,7 +36,7 @@ procfs = "0.16.0"
[dev-dependencies] [dev-dependencies]
reqwest.workspace = true reqwest.workspace = true
reth-chainspec.workspace = true reth-chainspec.workspace = true
socket2 = { version = "0.4", default-features = false } socket2 = { version = "0.5", default-features = false }
reth-provider = { workspace = true, features = ["test-utils"] } reth-provider = { workspace = true, features = ["test-utils"] }
[lints] [lints]

View File

@ -1,7 +1,7 @@
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![allow(missing_docs, rustdoc::missing_crate_level_docs)] #![allow(missing_docs, rustdoc::missing_crate_level_docs)]
// The `optimism` feature must be enabled to use this crate. // The `optimism` feature must be enabled to use this crate.
#![cfg(feature = "optimism")] #![cfg(feature = "optimism")]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
use clap::Parser; use clap::Parser;
use reth_node_builder::{engine_tree_config::TreeConfig, EngineNodeLauncher}; use reth_node_builder::{engine_tree_config::TreeConfig, EngineNodeLauncher};

View File

@ -43,13 +43,13 @@ metrics = { workspace = true, optional = true }
# misc # misc
bytes.workspace = true bytes.workspace = true
page_size = { version = "0.6.0", optional = true } page_size = { version = "0.6.0", optional = true }
thiserror.workspace = true thiserror.workspace = true
tempfile = { workspace = true, optional = true } tempfile = { workspace = true, optional = true }
derive_more.workspace = true derive_more.workspace = true
paste.workspace = true paste.workspace = true
rustc-hash = { workspace = true, optional = true } rustc-hash = { workspace = true, optional = true }
sysinfo = { version = "0.30", default-features = false } sysinfo = { version = "0.31", default-features = false, features = ["system"] }
# arbitrary utils # arbitrary utils
strum = { workspace = true, features = ["derive"], optional = true } strum = { workspace = true, features = ["derive"], optional = true }

View File

@ -104,7 +104,10 @@ impl ProcessUID {
fn new(pid: usize) -> Option<Self> { fn new(pid: usize) -> Option<Self> {
let mut system = System::new(); let mut system = System::new();
let pid2 = sysinfo::Pid::from(pid); let pid2 = sysinfo::Pid::from(pid);
system.refresh_process_specifics(pid2, ProcessRefreshKind::new()); system.refresh_processes_specifics(
sysinfo::ProcessesToUpdate::Some(&[pid2]),
ProcessRefreshKind::new(),
);
system.process(pid2).map(|process| Self { pid, start_time: process.start_time() }) system.process(pid2).map(|process| Self { pid, start_time: process.start_time() })
} }

View File

@ -10,4 +10,4 @@ repository.workspace = true
[build-dependencies] [build-dependencies]
cc = "1.0" cc = "1.0"
bindgen = { version = "0.69", default-features = false, features = ["runtime"] } bindgen = { version = "0.70", default-features = false, features = ["runtime"] }