diff --git a/Cargo.lock b/Cargo.lock
index b7e25aa4afff4..b1bcf4a81549f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -17,6 +17,12 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+[[package]]
+name = "adler2"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
+
[[package]]
name = "aead"
version = "0.4.3"
@@ -147,7 +153,7 @@ dependencies = [
"alloy-sol-type-parser",
"alloy-sol-types",
"const-hex",
- "derive_more",
+ "derive_more 0.99.18",
"itoa",
"serde",
"serde_json",
@@ -165,7 +171,7 @@ dependencies = [
"alloy-serde",
"arbitrary",
"c-kzg",
- "derive_more",
+ "derive_more 0.99.18",
"k256",
"once_cell",
"rand 0.8.5",
@@ -270,7 +276,7 @@ dependencies = [
"cfg-if",
"const-hex",
"derive_arbitrary",
- "derive_more",
+ "derive_more 0.99.18",
"ethereum_ssz",
"getrandom 0.2.15",
"hex-literal",
@@ -710,7 +716,7 @@ dependencies = [
"alloy-rlp",
"arbitrary",
"derive_arbitrary",
- "derive_more",
+ "derive_more 0.99.18",
"hashbrown 0.14.5",
"nybbles",
"proptest",
@@ -1107,7 +1113,7 @@ dependencies = [
"cc",
"cfg-if",
"libc",
- "miniz_oxide",
+ "miniz_oxide 0.7.4",
"object",
"rustc-demangle",
]
@@ -1552,9 +1558,9 @@ dependencies = [
[[package]]
name = "camino"
-version = "1.1.8"
+version = "1.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3054fea8a20d8ff3968d5b22cc27501d2b08dc4decdb31b184323f00c5ef23bb"
+checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3"
dependencies = [
"serde",
]
@@ -2383,6 +2389,28 @@ dependencies = [
"syn 2.0.75",
]
+[[package]]
+name = "derive_more"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05"
+dependencies = [
+ "derive_more-impl",
+]
+
+[[package]]
+name = "derive_more-impl"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22"
+dependencies = [
+ "convert_case 0.6.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.75",
+ "unicode-xid",
+]
+
[[package]]
name = "digest"
version = "0.9.0"
@@ -3103,12 +3131,12 @@ dependencies = [
[[package]]
name = "flate2"
-version = "1.0.31"
+version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920"
+checksum = "9c0596c1eac1f9e04ed902702e9878208b336edc9d6fddc8a48387349bab3666"
dependencies = [
"crc32fast",
- "miniz_oxide",
+ "miniz_oxide 0.8.0",
]
[[package]]
@@ -3375,9 +3403,9 @@ dependencies = [
[[package]]
name = "h2"
-version = "0.4.5"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab"
+checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205"
dependencies = [
"atomic-waker",
"bytes",
@@ -4054,7 +4082,7 @@ dependencies = [
"socket2 0.5.7",
"widestring",
"windows-sys 0.48.0",
- "winreg 0.50.0",
+ "winreg",
]
[[package]]
@@ -4427,9 +4455,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "libc"
-version = "0.2.156"
+version = "0.2.158"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a"
+checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
[[package]]
name = "libloading"
@@ -4857,6 +4885,15 @@ dependencies = [
"adler",
]
+[[package]]
+name = "miniz_oxide"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
+dependencies = [
+ "adler2",
+]
+
[[package]]
name = "mio"
version = "0.8.11"
@@ -5215,7 +5252,7 @@ dependencies = [
"alloy-primitives",
"alloy-rlp",
"alloy-serde",
- "derive_more",
+ "derive_more 0.99.18",
"serde",
]
@@ -6079,9 +6116,9 @@ dependencies = [
[[package]]
name = "redox_users"
-version = "0.4.5"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
+checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
dependencies = [
"getrandom 0.2.15",
"libredox",
@@ -6144,9 +6181,9 @@ dependencies = [
[[package]]
name = "reqwest"
-version = "0.12.5"
+version = "0.12.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37"
+checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63"
dependencies = [
"base64 0.22.1",
"bytes",
@@ -6184,7 +6221,7 @@ dependencies = [
"wasm-streams",
"web-sys",
"webpki-roots",
- "winreg 0.52.0",
+ "windows-registry",
]
[[package]]
@@ -6470,7 +6507,7 @@ dependencies = [
"alloy-signer",
"alloy-signer-local",
"auto_impl",
- "derive_more",
+ "derive_more 1.0.0",
"metrics",
"parking_lot 0.12.3",
"pin-project",
@@ -6499,7 +6536,7 @@ dependencies = [
"alloy-rlp",
"alloy-trie",
"auto_impl",
- "derive_more",
+ "derive_more 1.0.0",
"once_cell",
"op-alloy-rpc-types",
"reth-ethereum-forks",
@@ -6651,7 +6688,7 @@ name = "reth-consensus"
version = "1.0.5"
dependencies = [
"auto_impl",
- "derive_more",
+ "derive_more 1.0.0",
"reth-primitives",
]
@@ -6697,7 +6734,7 @@ dependencies = [
"assert_matches",
"bytes",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"eyre",
"iai-callgrind",
"metrics",
@@ -6736,7 +6773,7 @@ dependencies = [
"assert_matches",
"bytes",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"iai-callgrind",
"metrics",
"modular-bitfield",
@@ -6830,7 +6867,7 @@ version = "1.0.5"
dependencies = [
"alloy-primitives",
"alloy-rlp",
- "derive_more",
+ "derive_more 1.0.0",
"discv5",
"enr",
"futures",
@@ -7108,7 +7145,7 @@ dependencies = [
"arbitrary",
"async-stream",
"bytes",
- "derive_more",
+ "derive_more 1.0.0",
"futures",
"pin-project",
"proptest",
@@ -7142,7 +7179,7 @@ dependencies = [
"alloy-rlp",
"arbitrary",
"bytes",
- "derive_more",
+ "derive_more 1.0.0",
"proptest",
"proptest-arbitrary-interop",
"rand 0.8.5",
@@ -7306,7 +7343,7 @@ dependencies = [
"alloy-eips",
"alloy-primitives",
"alloy-rlp",
- "derive_more",
+ "derive_more 1.0.0",
"nybbles",
"reth-consensus",
"reth-prune-types",
@@ -7439,7 +7476,7 @@ dependencies = [
"byteorder",
"criterion",
"dashmap 6.0.1",
- "derive_more",
+ "derive_more 1.0.0",
"indexmap 2.4.0",
"parking_lot 0.12.3",
"pprof",
@@ -7512,7 +7549,7 @@ dependencies = [
"aquamarine",
"auto_impl",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"discv5",
"enr",
"futures",
@@ -7566,7 +7603,7 @@ dependencies = [
"alloy-primitives",
"alloy-rpc-types-admin",
"auto_impl",
- "derive_more",
+ "derive_more 1.0.0",
"enr",
"futures",
"reth-eth-wire-types",
@@ -7586,7 +7623,7 @@ name = "reth-network-p2p"
version = "1.0.5"
dependencies = [
"auto_impl",
- "derive_more",
+ "derive_more 1.0.0",
"futures",
"parking_lot 0.12.3",
"reth-consensus",
@@ -7635,7 +7672,7 @@ dependencies = [
"anyhow",
"bincode",
"cuckoofilter",
- "derive_more",
+ "derive_more 1.0.0",
"lz4_flex",
"memmap2",
"ph",
@@ -7729,7 +7766,7 @@ dependencies = [
"alloy-rpc-types-engine",
"clap",
"const_format",
- "derive_more",
+ "derive_more 1.0.0",
"dirs-next",
"eyre",
"futures",
@@ -7990,7 +8027,7 @@ name = "reth-optimism-rpc"
version = "1.0.5"
dependencies = [
"alloy-primitives",
- "derive_more",
+ "derive_more 1.0.0",
"jsonrpsee",
"jsonrpsee-types",
"parking_lot 0.12.3",
@@ -8075,7 +8112,7 @@ dependencies = [
"bytes",
"c-kzg",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"k256",
"modular-bitfield",
"once_cell",
@@ -8113,7 +8150,7 @@ dependencies = [
"arbitrary",
"byteorder",
"bytes",
- "derive_more",
+ "derive_more 1.0.0",
"modular-bitfield",
"proptest",
"proptest-arbitrary-interop",
@@ -8206,7 +8243,7 @@ dependencies = [
"arbitrary",
"assert_matches",
"bytes",
- "derive_more",
+ "derive_more 1.0.0",
"modular-bitfield",
"proptest",
"proptest-arbitrary-interop",
@@ -8244,7 +8281,7 @@ dependencies = [
"alloy-primitives",
"alloy-rlp",
"async-trait",
- "derive_more",
+ "derive_more 1.0.0",
"futures",
"http",
"http-body",
@@ -8437,7 +8474,7 @@ name = "reth-rpc-eth-types"
version = "1.0.5"
dependencies = [
"alloy-sol-types",
- "derive_more",
+ "derive_more 1.0.0",
"futures",
"jsonrpsee-core",
"jsonrpsee-types",
@@ -8654,7 +8691,7 @@ version = "1.0.5"
dependencies = [
"alloy-primitives",
"clap",
- "derive_more",
+ "derive_more 1.0.0",
"serde",
"strum",
]
@@ -8680,7 +8717,7 @@ name = "reth-storage-errors"
version = "1.0.5"
dependencies = [
"alloy-rlp",
- "derive_more",
+ "derive_more 1.0.0",
"reth-fs-util",
"reth-primitives",
]
@@ -8784,7 +8821,7 @@ dependencies = [
"alloy-rlp",
"auto_impl",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"itertools 0.13.0",
"metrics",
"proptest",
@@ -8819,7 +8856,7 @@ dependencies = [
"alloy-trie",
"arbitrary",
"bytes",
- "derive_more",
+ "derive_more 1.0.0",
"hash-db",
"itertools 0.13.0",
"nybbles",
@@ -8841,7 +8878,7 @@ dependencies = [
"alloy-rlp",
"auto_impl",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"itertools 0.13.0",
"metrics",
"proptest",
@@ -8874,7 +8911,7 @@ version = "1.0.5"
dependencies = [
"alloy-rlp",
"criterion",
- "derive_more",
+ "derive_more 1.0.0",
"itertools 0.13.0",
"metrics",
"proptest",
@@ -8971,7 +9008,7 @@ dependencies = [
"bitvec",
"c-kzg",
"cfg-if",
- "derive_more",
+ "derive_more 0.99.18",
"dyn-clone",
"enumn",
"hashbrown 0.14.5",
@@ -9177,9 +9214,9 @@ dependencies = [
[[package]]
name = "rustls-native-certs"
-version = "0.7.1"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba"
+checksum = "04182dffc9091a404e0fc069ea5cd60e5b866c3adf881eff99a32d048242dffa"
dependencies = [
"openssl-probe",
"rustls-pemfile",
@@ -9965,6 +10002,9 @@ name = "sync_wrapper"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
+dependencies = [
+ "futures-core",
+]
[[package]]
name = "synstructure"
@@ -10744,9 +10784,9 @@ checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
[[package]]
name = "unicode-xid"
-version = "0.2.4"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
+checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a"
[[package]]
name = "universal-hash"
@@ -11088,7 +11128,7 @@ checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"
dependencies = [
"windows-implement",
"windows-interface",
- "windows-result",
+ "windows-result 0.1.2",
"windows-targets 0.52.6",
]
@@ -11114,6 +11154,17 @@ dependencies = [
"syn 2.0.75",
]
+[[package]]
+name = "windows-registry"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
+dependencies = [
+ "windows-result 0.2.0",
+ "windows-strings",
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "windows-result"
version = "0.1.2"
@@ -11123,6 +11174,25 @@ dependencies = [
"windows-targets 0.52.6",
]
+[[package]]
+name = "windows-result"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
+dependencies = [
+ "windows-result 0.2.0",
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "windows-sys"
version = "0.48.0"
@@ -11299,16 +11369,6 @@ dependencies = [
"windows-sys 0.48.0",
]
-[[package]]
-name = "winreg"
-version = "0.52.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5"
-dependencies = [
- "cfg-if",
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "write16"
version = "1.0.0"
diff --git a/Cargo.toml b/Cargo.toml
index 9abb32a0d76d7..0278ae35ccc77 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -439,7 +439,7 @@ bytes = "1.5"
clap = "4"
const_format = { version = "0.2.32", features = ["rust_1_64"] }
dashmap = "6.0"
-derive_more = "0.99.17"
+derive_more = { version = "1", features = ["full"] }
dyn-clone = "1.0.17"
eyre = "0.6"
fdlimit = "0.3.0"
diff --git a/crates/chain-state/src/chain_info.rs b/crates/chain-state/src/chain_info.rs
index 142d19703b3f2..5a9725e25e094 100644
--- a/crates/chain-state/src/chain_info.rs
+++ b/crates/chain-state/src/chain_info.rs
@@ -123,12 +123,12 @@ impl ChainInfoTracker {
}
/// Subscribe to the finalized block.
- pub fn subscribe_to_finalized_block(&self) -> watch::Receiver