From 41f9d0166042d7d8f9eda0918e46e8fcd7f8af40 Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Wed, 28 Aug 2024 05:33:07 +0800 Subject: [PATCH] chore: use a newer `reth` patch from `sp1-patches` (#32) --- Cargo.lock | 443 ++++++---------- Cargo.toml | 88 ++-- README.md | 4 +- bin/client-eth/Cargo.lock | 703 +++++-------------------- bin/client-eth/Cargo.toml | 5 - bin/client-op/Cargo.lock | 703 +++++-------------------- bin/client-op/Cargo.toml | 5 - bin/host/build.rs | 10 +- crates/executor/client/Cargo.toml | 2 +- crates/executor/client/src/custom.rs | 4 +- crates/mpt/src/lib.rs | 5 +- crates/primitives/Cargo.toml | 3 +- crates/primitives/src/account_proof.rs | 16 +- crates/storage/rpc-db/src/lib.rs | 2 +- rust-toolchain | 4 +- 15 files changed, 481 insertions(+), 1516 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 14d8a45..07887f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,49 +88,20 @@ dependencies = [ "strum", ] -[[package]] -name = "alloy-consensus" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da374e868f54c7f4ad2ad56829827badca388efd645f8cf5fccc61c2b5343504" -dependencies = [ - "alloy-eips 0.1.4", - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.1.4", - "c-kzg", - "serde", -] - [[package]] name = "alloy-consensus" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04c309895995eaa4bfcc345f5515a39c7df9447798645cc8bf462b6c5bf1dc96" dependencies = [ - "alloy-eips 0.2.1", + "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "c-kzg", "serde", ] -[[package]] -name = "alloy-eips" -version = "0.1.4" -source = "git+https://github.com/jtguibas/alloy.git?branch=john/rsp-8e9e6ac#9616d68ba490f3d9c096feaab9cb45fe955672e7" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.1.4", - "c-kzg", - "k256", - "once_cell", - "serde", - "sha2", -] - [[package]] name = "alloy-eips" version = "0.2.1" @@ -139,8 +110,9 @@ checksum = "d9431c99a3b3fe606ede4b3d4043bdfbcb780c45b8d8d226c3804e2b75cfbe68" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "c-kzg", + "k256", "once_cell", "serde", "sha2", @@ -148,22 +120,23 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca15afde1b6d15e3fc1c97421262b1bbb37aee45752e3c8b6d6f13f776554ff" +checksum = "79614dfe86144328da11098edcc7bc1a3f25ad8d3134a9eb9e857e06f0d9840d" dependencies = [ "alloy-primitives", - "alloy-serde 0.1.4", + "alloy-serde", "serde", ] [[package]] name = "alloy-json-rpc" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d6f34930b7e3e2744bcc79056c217f00cb2abb33bc5d4ff88da7623c5bb078b" +checksum = "57e2865c4c3bb4cdad3f0d9ec1ab5c0c657ba69a375651bd35e32fb6c180ccc2" dependencies = [ "alloy-primitives", + "alloy-sol-types", "serde", "serde_json", "thiserror", @@ -172,16 +145,17 @@ dependencies = [ [[package]] name = "alloy-network" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f6895fc31b48fa12306ef9b4f78b7764f8bd6d7d91cdb0a40e233704a0f23f" +checksum = "6e701fc87ef9a3139154b0b4ccb935b565d27ffd9de020fe541bf2dec5ae4ede" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-json-rpc", + "alloy-network-primitives", "alloy-primitives", "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", "alloy-signer", "alloy-sol-types", "async-trait", @@ -190,6 +164,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "alloy-network-primitives" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec9d5a0f9170b10988b6774498a022845e13eda94318440d17709d50687f67f9" +dependencies = [ + "alloy-primitives", + "alloy-serde", + "serde", +] + [[package]] name = "alloy-primitives" version = "0.7.7" @@ -215,15 +200,16 @@ dependencies = [ [[package]] name = "alloy-provider" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c538bfa893d07e27cb4f3c1ab5f451592b7c526d511d62b576a2ce59e146e4a" +checksum = "3f9c0ab10b93de601a6396fc7ff2ea10d3b28c46f079338fa562107ebf9857c8" dependencies = [ "alloy-chains", - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-json-rpc", "alloy-network", + "alloy-network-primitives", "alloy-primitives", "alloy-rpc-client", "alloy-rpc-types-eth", @@ -269,9 +255,9 @@ dependencies = [ [[package]] name = "alloy-rpc-client" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ba31bae67773fd5a60020bea900231f8396202b7feca4d0c70c6b59308ab4a8" +checksum = "5b38e3ffdb285df5d9f60cb988d336d9b8e3505acb78750c3bc60336a7af41d3" dependencies = [ "alloy-json-rpc", "alloy-transport", @@ -290,25 +276,27 @@ dependencies = [ [[package]] name = "alloy-rpc-types" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "184a7a42c7ba9141cc9e76368356168c282c3bc3d9e5d78f3556bdfe39343447" +checksum = "e6c31a3750b8f5a350d17354e46a52b0f2f19ec5f2006d816935af599dedc521" dependencies = [ "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", + "serde", ] [[package]] name = "alloy-rpc-types-eth" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab4123ee21f99ba4bd31bfa36ba89112a18a500f8b452f02b35708b1b951e2b9" +checksum = "81e18424d962d7700a882fe423714bd5b9dde74c7a7589d4255ea64068773aef" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", + "alloy-network-primitives", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.4", + "alloy-serde", "alloy-sol-types", "itertools 0.13.0", "serde", @@ -316,16 +304,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "alloy-serde" -version = "0.1.4" -source = "git+https://github.com/jtguibas/alloy.git?branch=john/rsp-8e9e6ac#9616d68ba490f3d9c096feaab9cb45fe955672e7" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - [[package]] name = "alloy-serde" version = "0.2.1" @@ -339,9 +317,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b33753c09fa1ad85e5b092b8dc2372f1e337a42e84b9b4cff9fede75ba4adb32" +checksum = "740a25b92e849ed7b0fa013951fe2f64be9af1ad5abe805037b44fb7770c5c47" dependencies = [ "alloy-primitives", "async-trait", @@ -412,9 +390,9 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b51a291f949f755e6165c3ed562883175c97423703703355f4faa4b7d0a57c" +checksum = "3d0590afbdacf2f8cca49d025a2466f3b6584a016a8b28f532f29f8da1007bae" dependencies = [ "alloy-json-rpc", "base64 0.22.1", @@ -431,9 +409,9 @@ dependencies = [ [[package]] name = "alloy-transport-http" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86d65871f9f1cafe1ed25cde2f1303be83e6473e995a2d56c275ae4fcce6119c" +checksum = "2437d145d80ea1aecde8574d2058cceb8b3c9cba05f6aea8e67907c660d46698" dependencies = [ "alloy-json-rpc", "alloy-transport", @@ -1142,10 +1120,8 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", "serde", - "wasm-bindgen", "windows-targets 0.52.6", ] @@ -1367,15 +1343,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" -[[package]] -name = "crossbeam-channel" -version = "0.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "crossbeam-deque" version = "0.8.5" @@ -3509,24 +3476,24 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d10e10cbbdb3931fed5109bbd570c0a6cf0ce08db1f93401cfb5cefc51998d1" dependencies = [ - "alloy-consensus 0.2.1", - "alloy-eips 0.2.1", + "alloy-consensus", + "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "serde", ] [[package]] name = "op-alloy-rpc-types" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd62a018e13a05284fa1686b78bd58c469de2e627401ba63c2ca06d7168f7e8" +checksum = "9978c3d449abb03526d378988ae6d51b049ef36205cc97bf284574df9f578021" dependencies = [ "alloy-network", "alloy-primitives", "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", "op-alloy-consensus", "serde", "serde_json", @@ -4580,8 +4547,8 @@ dependencies = [ [[package]] name = "reth-blockchain-tree-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-consensus", "reth-execution-errors", @@ -4592,14 +4559,15 @@ dependencies = [ [[package]] name = "reth-chainspec" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-chains", - "alloy-eips 0.1.4", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-trie", + "auto_impl", "derive_more", "once_cell", "op-alloy-rpc-types", @@ -4613,13 +4581,14 @@ dependencies = [ [[package]] name = "reth-codecs" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", + "alloy-trie", "bytes", "modular-bitfield", "reth-codecs-derive", @@ -4628,8 +4597,8 @@ dependencies = [ [[package]] name = "reth-codecs-derive" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "convert_case 0.6.0", "proc-macro2", @@ -4639,8 +4608,8 @@ dependencies = [ [[package]] name = "reth-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "auto_impl", "reth-primitives", @@ -4649,44 +4618,18 @@ dependencies = [ [[package]] name = "reth-consensus-common" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", "reth-primitives", ] -[[package]] -name = "reth-db" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "bytes", - "derive_more", - "metrics", - "paste", - "reth-db-api", - "reth-fs-util", - "reth-metrics", - "reth-primitives", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-errors", - "reth-tracing", - "reth-trie-common", - "rustc-hash 2.0.0", - "serde", - "strum", - "sysinfo", - "thiserror", -] - [[package]] name = "reth-db-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "bytes", "derive_more", @@ -4705,8 +4648,8 @@ dependencies = [ [[package]] name = "reth-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-blockchain-tree-api", "reth-consensus", @@ -4718,8 +4661,8 @@ dependencies = [ [[package]] name = "reth-ethereum-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", @@ -4730,8 +4673,8 @@ dependencies = [ [[package]] name = "reth-ethereum-forks" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-chains", "alloy-primitives", @@ -4747,10 +4690,10 @@ dependencies = [ [[package]] name = "reth-evm" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "auto_impl", "futures-util", "reth-chainspec", @@ -4765,10 +4708,10 @@ dependencies = [ [[package]] name = "reth-evm-ethereum" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-sol-types", "reth-chainspec", "reth-ethereum-consensus", @@ -4783,11 +4726,10 @@ dependencies = [ [[package]] name = "reth-evm-optimism" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", - "reth-consensus-common", "reth-ethereum-forks", "reth-evm", "reth-execution-errors", @@ -4804,11 +4746,13 @@ dependencies = [ [[package]] name = "reth-execution-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-primitives", + "alloy-rlp", + "nybbles", "reth-consensus", "reth-prune-types", "reth-storage-errors", @@ -4818,8 +4762,8 @@ dependencies = [ [[package]] name = "reth-execution-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-execution-errors", @@ -4830,38 +4774,18 @@ dependencies = [ [[package]] name = "reth-fs-util" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ + "serde", "serde_json", "thiserror", ] -[[package]] -name = "reth-metrics" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "metrics", - "reth-metrics-derive", -] - -[[package]] -name = "reth-metrics-derive" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "once_cell", - "proc-macro2", - "quote", - "regex", - "syn 2.0.72", -] - [[package]] name = "reth-network-peers" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -4873,8 +4797,8 @@ dependencies = [ [[package]] name = "reth-optimism-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", @@ -4885,23 +4809,20 @@ dependencies = [ [[package]] name = "reth-primitives" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rlp", "alloy-rpc-types", "bytes", - "cfg-if", "derive_more", "k256", - "modular-bitfield", "once_cell", "rayon", "reth-chainspec", - "reth-codecs", "reth-ethereum-forks", "reth-primitives-traits", "reth-static-file-types", @@ -4909,16 +4830,16 @@ dependencies = [ "revm-primitives", "secp256k1", "serde", - "thiserror-no-std", + "thiserror", ] [[package]] name = "reth-primitives-traits" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rlp", @@ -4931,13 +4852,12 @@ dependencies = [ "revm-primitives", "roaring", "serde", - "thiserror-no-std", ] [[package]] name = "reth-prune-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "bytes", @@ -4950,10 +4870,10 @@ dependencies = [ [[package]] name = "reth-revm" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "reth-chainspec", "reth-consensus-common", "reth-execution-errors", @@ -4962,13 +4882,12 @@ dependencies = [ "reth-storage-api", "reth-storage-errors", "revm", - "tracing", ] [[package]] name = "reth-stages-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "bytes", @@ -4980,8 +4899,8 @@ dependencies = [ [[package]] name = "reth-static-file-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "derive_more", @@ -4991,8 +4910,8 @@ dependencies = [ [[package]] name = "reth-storage-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "auto_impl", "reth-chainspec", @@ -5008,43 +4927,29 @@ dependencies = [ [[package]] name = "reth-storage-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ + "alloy-rlp", "reth-fs-util", "reth-primitives", "thiserror-no-std", ] -[[package]] -name = "reth-tracing" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "clap", - "eyre", - "rolling-file", - "tracing", - "tracing-appender", - "tracing-journald", - "tracing-logfmt", - "tracing-subscriber", -] - [[package]] name = "reth-trie" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-rlp", "auto_impl", "derive_more", + "itertools 0.13.0", "rayon", - "reth-db", - "reth-db-api", "reth-execution-errors", "reth-primitives", "reth-stages-types", + "reth-storage-errors", "reth-trie-common", "revm", "tracing", @@ -5052,10 +4957,10 @@ dependencies = [ [[package]] name = "reth-trie-common" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", + "alloy-consensus", "alloy-genesis", "alloy-primitives", "alloy-rlp", @@ -5072,8 +4977,9 @@ dependencies = [ [[package]] name = "revm" -version = "11.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "12.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cfb48bce8ca2113e157bdbddbd5eeb09daac1c903d79ec17085897c38c7c91" dependencies = [ "auto_impl", "cfg-if", @@ -5086,8 +4992,9 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "7.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6b0daddea06fc6da5346acc39b32a357bbe3579e9e3d94117d9ae125cd596fc" dependencies = [ "revm-primitives", "serde", @@ -5095,8 +5002,9 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "9.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "9.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef55228211251d7b6c7707c3ee13bb70dea4d2fd81ec4034521e4fe31010b2ea" dependencies = [ "aurora-engine-modexp", "c-kzg", @@ -5114,10 +5022,11 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "6.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "7.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fc4311037ee093ec50ec734e1424fcb3e12d535c6cef683b75d1c064639630c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-primitives", "auto_impl", "bitflags 2.6.0", @@ -5215,15 +5124,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "rolling-file" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8395b4f860856b740f20a296ea2cd4d823e81a2658cf05ef61be22916026a906" -dependencies = [ - "chrono", -] - [[package]] name = "rrs-succinct" version = "0.1.0" @@ -5350,6 +5250,7 @@ version = "0.1.0" dependencies = [ "alloy-rpc-types", "eyre", + "op-alloy-rpc-types", "reth-chainspec", "reth-primitives", "reth-revm", @@ -6759,9 +6660,9 @@ dependencies = [ [[package]] name = "tiny-keccak" version = "2.0.2" -source = "git+https://github.com/sp1-patches/tiny-keccak?branch=patch-v2.0.2#bf0b28f63510a90c7b6c21ac6ff461c93ecd2331" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" dependencies = [ - "cfg-if", "crunchy", ] @@ -6951,18 +6852,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-appender" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" -dependencies = [ - "crossbeam-channel", - "thiserror", - "time", - "tracing-subscriber", -] - [[package]] name = "tracing-attributes" version = "0.1.27" @@ -7007,17 +6896,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tracing-journald" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba316a74e8fc3c3896a850dba2375928a9fa171b085ecddfc7c054d39970f3fd" -dependencies = [ - "libc", - "tracing-core", - "tracing-subscriber", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -7029,28 +6907,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-logfmt" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22b8e455f6caa5212a102ec530bf86b8dc5a4c536299bffd84b238fed9119be7" -dependencies = [ - "time", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - [[package]] name = "tracing-subscriber" version = "0.3.18" @@ -7061,15 +6917,12 @@ dependencies = [ "nu-ansi-term", "once_cell", "regex", - "serde", - "serde_json", "sharded-slab", "smallvec", "thread_local", "tracing", "tracing-core", "tracing-log", - "tracing-serde", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e6eaf88..3eec31f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,109 +47,81 @@ rsp-mpt = { path = "./crates/mpt" } rsp-primitives = { path = "./crates/primitives" } # reth -# reth-primitives = { path = "../reth/crates/primitives", default-features = false, features = ["alloy-compat", "std"]} -# reth-codecs = { path = "../reth/crates/storage/codecs", default-features = false } -# reth-consensus = { path = "../reth/crates/consensus/consensus", default-features = false } -# reth-evm = { path = "../reth/crates/evm", default-features = false } -# reth-revm = { path = "../reth/crates/revm", default-features = false, features = ["std"] } -# reth-node-ethereum = { path = "../reth/crates/ethereum/node", default-features = false } -# reth-evm-ethereum = { path = "../reth/crates/ethereum/evm", default-features = false, features = ["std"] } -# reth-storage-errors = { path = "../reth/crates/storage/errors", default-features = false, features = ["std"] } -# reth-trie = { path = "../reth/crates/trie/trie", default-features = false } -# reth-trie-common = { path = "../reth/crates/trie/common", default-features = false } -# reth-chainspec = { path = "../reth/crates/chainspec", default-features = false } -# reth-execution-errors = { path = "../reth/crates/evm/execution-errors", default-features = false } -# reth-execution-types = { path = "../reth/crates/evm/execution-types", default-features = false } -# reth-db = { path = "../reth/crates/storage/db", default-features = false } -# reth-errors = { path = "../reth/crates/errors", default-features = false } -# reth-ethereum-consensus = { path = "../reth/crates/ethereum/consensus", default-features = false } -reth-primitives = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false, features = [ +reth-primitives = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false, features = [ "alloy-compat", "optimism", "std", ] } -reth-codecs = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-consensus = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-evm = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-revm = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false, features = [ +reth-codecs = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-consensus = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-evm = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-revm = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false, features = [ "std", ] } -reth-node-ethereum = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-evm-ethereum = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false, features = [ +reth-node-ethereum = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-evm-ethereum = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false, features = [ "std", ] } -reth-evm-optimism = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false, features = [ +reth-evm-optimism = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false, features = [ "optimism", ] } -reth-storage-errors = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false, features = [ +reth-storage-errors = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false, features = [ "std", ] } -reth-trie = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-trie-common = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-chainspec = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-execution-errors = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-execution-types = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-db = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-errors = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-ethereum-consensus = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false } -reth-optimism-consensus = { git = "https://github.com/jtguibas/reth.git", branch = "john/rsp-8e9e6ac", default-features = false, features = [ +reth-trie = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-trie-common = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-chainspec = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-execution-errors = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-execution-types = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-db = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-errors = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-ethereum-consensus = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false } +reth-optimism-consensus = { git = "https://github.com/sp1-patches/reth", tag = "rsp-20240827", default-features = false, features = [ "optimism", ] } # revm -# revm = { path = "../bluealloy-revm/crates/revm", features = [ -# "std", -# "serde", -# ], default-features = false } -# revm-primitives = { path = "../bluealloy-revm/crates/primitives", features = [ -# "std", -# "serde", -# ], default-features = false } -revm = { git = "https://github.com/0xWOLAND/bluealloy-revm.git", branch = "john/rsp-8e9e6ac", features = [ +revm = { version = "12.1.0", features = [ "optimism", "std", "serde", "kzg-rs", ], default-features = false } -revm-primitives = { git = "https://github.com/0xWOLAND/bluealloy-revm.git", branch = "john/rsp-8e9e6ac", features = [ +revm-primitives = { version = "7.1.0", features = [ "std", "serde", ], default-features = false } -revm-inspectors = "0.1" +revm-inspectors = "0.5" # alloy alloy-primitives = "0.7.2" -alloy-provider = { version = "0.1", default-features = false, features = [ +alloy-provider = { version = "0.2", default-features = false, features = [ "reqwest", "reqwest-rustls-tls", ] } -alloy-rpc-types = { version = "0.1", default-features = false, features = [ +alloy-rpc-types = { version = "0.2", default-features = false, features = [ "eth", ] } alloy-rlp = "0.3.4" -alloy-consensus = { version = "0.1", default-features = false } -alloy-transport = { version = "0.1" } -alloy-transport-http = { version = "0.1", features = [ +alloy-consensus = { version = "0.2", default-features = false } +alloy-transport = { version = "0.2" } +alloy-transport-http = { version = "0.2", features = [ "reqwest-rustls-tls", ], default-features = false } -alloy-eips = { version = "0.1", default-features = false } +alloy-eips = { version = "0.2", default-features = false } # Using GitHub until https://github.com/alloy-rs/trie/pull/27 is released alloy-trie = { git = "https://github.com/alloy-rs/trie.git", rev = "28ebb7cc70cbef9e894e5b36c99e28412525ac1a" } -[patch.crates-io] -# alloy-eips = { path = "../alloy/crates/eips" } -# alloy-serde = { path = "../alloy/crates/serde" } -alloy-eips = { git = "https://github.com/jtguibas/alloy.git", branch = "john/rsp-8e9e6ac" } -alloy-serde = { git = "https://github.com/jtguibas/alloy.git", branch = "john/rsp-8e9e6ac" } -tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", branch = "patch-v2.0.2" } +# v0.1.5 breaks the build +op-alloy-rpc-types = "=0.1.4" +[patch.crates-io] # Using GitHub until https://github.com/alloy-rs/trie/pull/27 is released alloy-trie = { git = "https://github.com/alloy-rs/trie.git", rev = "28ebb7cc70cbef9e894e5b36c99e28412525ac1a" } [workspace.lints] rust.missing_debug_implementations = "warn" -# rust.missing_docs = "warn" rust.unreachable_pub = "warn" rust.unused_must_use = "deny" rust.rust_2018_idioms = { level = "deny", priority = -1 } diff --git a/README.md b/README.md index b66570f..c69e65b 100644 --- a/README.md +++ b/README.md @@ -125,14 +125,14 @@ By default, the `build.rs` in the `bin/host` crate will rebuild the client progr ```console cd ./bin/client-eth -cargo prove build +cargo prove build --ignore-rust-version ``` To build the Optimism client ELF program: ```console cd ./bin/client-op -cargo prove build +cargo prove build --ignore-rust-version ``` **Why does the program say "The state root doesn't match"?** diff --git a/bin/client-eth/Cargo.lock b/bin/client-eth/Cargo.lock index b468c32..642ffaa 100644 --- a/bin/client-eth/Cargo.lock +++ b/bin/client-eth/Cargo.lock @@ -40,15 +40,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - [[package]] name = "allocator-api2" version = "0.2.18" @@ -67,47 +58,18 @@ dependencies = [ "strum", ] -[[package]] -name = "alloy-consensus" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da374e868f54c7f4ad2ad56829827badca388efd645f8cf5fccc61c2b5343504" -dependencies = [ - "alloy-eips 0.1.4", - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.1.4", - "c-kzg", - "serde", -] - [[package]] name = "alloy-consensus" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04c309895995eaa4bfcc345f5515a39c7df9447798645cc8bf462b6c5bf1dc96" dependencies = [ - "alloy-eips 0.2.1", - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.2.1", - "c-kzg", - "serde", -] - -[[package]] -name = "alloy-eips" -version = "0.1.4" -source = "git+https://github.com/jtguibas/alloy.git?branch=john/rsp-8e9e6ac#9616d68ba490f3d9c096feaab9cb45fe955672e7" -dependencies = [ + "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.4", + "alloy-serde", "c-kzg", - "k256", - "once_cell", "serde", - "sha2", ] [[package]] @@ -118,8 +80,9 @@ checksum = "d9431c99a3b3fe606ede4b3d4043bdfbcb780c45b8d8d226c3804e2b75cfbe68" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "c-kzg", + "k256", "once_cell", "serde", "sha2", @@ -127,22 +90,23 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca15afde1b6d15e3fc1c97421262b1bbb37aee45752e3c8b6d6f13f776554ff" +checksum = "79614dfe86144328da11098edcc7bc1a3f25ad8d3134a9eb9e857e06f0d9840d" dependencies = [ "alloy-primitives", - "alloy-serde 0.1.4", + "alloy-serde", "serde", ] [[package]] name = "alloy-json-rpc" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d6f34930b7e3e2744bcc79056c217f00cb2abb33bc5d4ff88da7623c5bb078b" +checksum = "57e2865c4c3bb4cdad3f0d9ec1ab5c0c657ba69a375651bd35e32fb6c180ccc2" dependencies = [ "alloy-primitives", + "alloy-sol-types", "serde", "serde_json", "thiserror", @@ -151,16 +115,17 @@ dependencies = [ [[package]] name = "alloy-network" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f6895fc31b48fa12306ef9b4f78b7764f8bd6d7d91cdb0a40e233704a0f23f" +checksum = "6e701fc87ef9a3139154b0b4ccb935b565d27ffd9de020fe541bf2dec5ae4ede" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-json-rpc", + "alloy-network-primitives", "alloy-primitives", "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", "alloy-signer", "alloy-sol-types", "async-trait", @@ -169,6 +134,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "alloy-network-primitives" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec9d5a0f9170b10988b6774498a022845e13eda94318440d17709d50687f67f9" +dependencies = [ + "alloy-primitives", + "alloy-serde", + "serde", +] + [[package]] name = "alloy-primitives" version = "0.7.7" @@ -216,25 +192,27 @@ dependencies = [ [[package]] name = "alloy-rpc-types" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "184a7a42c7ba9141cc9e76368356168c282c3bc3d9e5d78f3556bdfe39343447" +checksum = "e6c31a3750b8f5a350d17354e46a52b0f2f19ec5f2006d816935af599dedc521" dependencies = [ "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", + "serde", ] [[package]] name = "alloy-rpc-types-eth" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab4123ee21f99ba4bd31bfa36ba89112a18a500f8b452f02b35708b1b951e2b9" +checksum = "81e18424d962d7700a882fe423714bd5b9dde74c7a7589d4255ea64068773aef" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", + "alloy-network-primitives", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.4", + "alloy-serde", "alloy-sol-types", "itertools 0.13.0", "serde", @@ -242,16 +220,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "alloy-serde" -version = "0.1.4" -source = "git+https://github.com/jtguibas/alloy.git?branch=john/rsp-8e9e6ac#9616d68ba490f3d9c096feaab9cb45fe955672e7" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - [[package]] name = "alloy-serde" version = "0.2.1" @@ -265,9 +233,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b33753c09fa1ad85e5b092b8dc2372f1e337a42e84b9b4cff9fede75ba4adb32" +checksum = "740a25b92e849ed7b0fa013951fe2f64be9af1ad5abe805037b44fb7770c5c47" dependencies = [ "alloy-primitives", "async-trait", @@ -366,55 +334,6 @@ dependencies = [ "libc", ] -[[package]] -name = "anstream" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" - -[[package]] -name = "anstyle-parse" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" -dependencies = [ - "anstyle", - "windows-sys", -] - [[package]] name = "anyhow" version = "1.0.86" @@ -776,59 +695,11 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", "serde", - "wasm-bindgen", "windows-targets", ] -[[package]] -name = "clap" -version = "4.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6b81fb3c84f5563d509c59b5a48d935f689e993afa90fe39047f05adef9142" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca6706fd5224857d9ac5eb9355f6683563cc0541c7cd9d014043b57cbec78ac" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "clap_lex" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" - -[[package]] -name = "colorchoice" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" - [[package]] name = "const-hex" version = "1.12.0" @@ -893,15 +764,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" -[[package]] -name = "crossbeam-channel" -version = "0.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "crossbeam-deque" version = "0.8.5" @@ -1527,12 +1389,6 @@ dependencies = [ "serde", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" - [[package]] name = "itertools" version = "0.10.5" @@ -1648,15 +1504,6 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" -[[package]] -name = "matchers" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" -dependencies = [ - "regex-automata 0.1.10", -] - [[package]] name = "memchr" version = "2.7.4" @@ -1703,25 +1550,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ntapi" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" -dependencies = [ - "winapi", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - [[package]] name = "num" version = "0.4.3" @@ -1877,35 +1705,29 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d10e10cbbdb3931fed5109bbd570c0a6cf0ce08db1f93401cfb5cefc51998d1" dependencies = [ - "alloy-consensus 0.2.1", - "alloy-eips 0.2.1", + "alloy-consensus", + "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "serde", ] [[package]] name = "op-alloy-rpc-types" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd62a018e13a05284fa1686b78bd58c469de2e627401ba63c2ca06d7168f7e8" +checksum = "9978c3d449abb03526d378988ae6d51b049ef36205cc97bf284574df9f578021" dependencies = [ "alloy-network", "alloy-primitives", "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", "op-alloy-consensus", "serde", "serde_json", ] -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - [[package]] name = "p256" version = "0.13.2" @@ -2093,7 +1915,7 @@ dependencies = [ "rand", "rand_chacha", "rand_xorshift", - "regex-syntax 0.8.4", + "regex-syntax", "rusty-fork", "tempfile", "unarray", @@ -2179,44 +2001,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "regex" -version = "1.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.7", - "regex-syntax 0.8.4", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.4", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - [[package]] name = "regex-syntax" version = "0.8.4" @@ -2225,8 +2009,8 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "reth-blockchain-tree-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-consensus", "reth-execution-errors", @@ -2237,14 +2021,15 @@ dependencies = [ [[package]] name = "reth-chainspec" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-chains", - "alloy-eips 0.1.4", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-trie", + "auto_impl", "derive_more", "once_cell", "op-alloy-rpc-types", @@ -2258,13 +2043,14 @@ dependencies = [ [[package]] name = "reth-codecs" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", + "alloy-trie", "bytes", "modular-bitfield", "reth-codecs-derive", @@ -2273,8 +2059,8 @@ dependencies = [ [[package]] name = "reth-codecs-derive" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "convert_case 0.6.0", "proc-macro2", @@ -2284,8 +2070,8 @@ dependencies = [ [[package]] name = "reth-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "auto_impl", "reth-primitives", @@ -2294,44 +2080,18 @@ dependencies = [ [[package]] name = "reth-consensus-common" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", "reth-primitives", ] -[[package]] -name = "reth-db" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "bytes", - "derive_more", - "metrics", - "paste", - "reth-db-api", - "reth-fs-util", - "reth-metrics", - "reth-primitives", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-errors", - "reth-tracing", - "reth-trie-common", - "rustc-hash", - "serde", - "strum", - "sysinfo", - "thiserror", -] - [[package]] name = "reth-db-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "bytes", "derive_more", @@ -2350,8 +2110,8 @@ dependencies = [ [[package]] name = "reth-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-blockchain-tree-api", "reth-consensus", @@ -2363,8 +2123,8 @@ dependencies = [ [[package]] name = "reth-ethereum-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", @@ -2375,8 +2135,8 @@ dependencies = [ [[package]] name = "reth-ethereum-forks" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-chains", "alloy-primitives", @@ -2392,10 +2152,10 @@ dependencies = [ [[package]] name = "reth-evm" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "auto_impl", "futures-util", "reth-chainspec", @@ -2410,10 +2170,10 @@ dependencies = [ [[package]] name = "reth-evm-ethereum" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-sol-types", "reth-chainspec", "reth-ethereum-consensus", @@ -2428,11 +2188,10 @@ dependencies = [ [[package]] name = "reth-evm-optimism" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", - "reth-consensus-common", "reth-ethereum-forks", "reth-evm", "reth-execution-errors", @@ -2449,11 +2208,13 @@ dependencies = [ [[package]] name = "reth-execution-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-primitives", + "alloy-rlp", + "nybbles", "reth-consensus", "reth-prune-types", "reth-storage-errors", @@ -2463,8 +2224,8 @@ dependencies = [ [[package]] name = "reth-execution-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-execution-errors", @@ -2475,38 +2236,18 @@ dependencies = [ [[package]] name = "reth-fs-util" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ + "serde", "serde_json", "thiserror", ] -[[package]] -name = "reth-metrics" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "metrics", - "reth-metrics-derive", -] - -[[package]] -name = "reth-metrics-derive" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "once_cell", - "proc-macro2", - "quote", - "regex", - "syn 2.0.72", -] - [[package]] name = "reth-network-peers" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -2518,8 +2259,8 @@ dependencies = [ [[package]] name = "reth-optimism-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", @@ -2530,39 +2271,36 @@ dependencies = [ [[package]] name = "reth-primitives" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rlp", "alloy-rpc-types", "bytes", - "cfg-if", "derive_more", "k256", - "modular-bitfield", "once_cell", "rayon", "reth-chainspec", - "reth-codecs", "reth-ethereum-forks", "reth-primitives-traits", "reth-static-file-types", "reth-trie-common", "revm-primitives", "serde", - "thiserror-no-std", + "thiserror", ] [[package]] name = "reth-primitives-traits" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rlp", @@ -2575,13 +2313,12 @@ dependencies = [ "revm-primitives", "roaring", "serde", - "thiserror-no-std", ] [[package]] name = "reth-prune-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "bytes", @@ -2594,10 +2331,10 @@ dependencies = [ [[package]] name = "reth-revm" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "reth-chainspec", "reth-consensus-common", "reth-execution-errors", @@ -2606,13 +2343,12 @@ dependencies = [ "reth-storage-api", "reth-storage-errors", "revm", - "tracing", ] [[package]] name = "reth-stages-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "bytes", @@ -2624,8 +2360,8 @@ dependencies = [ [[package]] name = "reth-static-file-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "derive_more", @@ -2635,8 +2371,8 @@ dependencies = [ [[package]] name = "reth-storage-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "auto_impl", "reth-chainspec", @@ -2652,43 +2388,29 @@ dependencies = [ [[package]] name = "reth-storage-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ + "alloy-rlp", "reth-fs-util", "reth-primitives", "thiserror-no-std", ] -[[package]] -name = "reth-tracing" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "clap", - "eyre", - "rolling-file", - "tracing", - "tracing-appender", - "tracing-journald", - "tracing-logfmt", - "tracing-subscriber", -] - [[package]] name = "reth-trie" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-rlp", "auto_impl", "derive_more", + "itertools 0.13.0", "rayon", - "reth-db", - "reth-db-api", "reth-execution-errors", "reth-primitives", "reth-stages-types", + "reth-storage-errors", "reth-trie-common", "revm", "tracing", @@ -2696,10 +2418,10 @@ dependencies = [ [[package]] name = "reth-trie-common" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", + "alloy-consensus", "alloy-genesis", "alloy-primitives", "alloy-rlp", @@ -2716,8 +2438,9 @@ dependencies = [ [[package]] name = "revm" -version = "11.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "12.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cfb48bce8ca2113e157bdbddbd5eeb09daac1c903d79ec17085897c38c7c91" dependencies = [ "auto_impl", "cfg-if", @@ -2730,8 +2453,9 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "7.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6b0daddea06fc6da5346acc39b32a357bbe3579e9e3d94117d9ae125cd596fc" dependencies = [ "revm-primitives", "serde", @@ -2739,8 +2463,9 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "9.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "9.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef55228211251d7b6c7707c3ee13bb70dea4d2fd81ec4034521e4fe31010b2ea" dependencies = [ "aurora-engine-modexp", "c-kzg", @@ -2758,10 +2483,11 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "6.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "7.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fc4311037ee093ec50ec734e1424fcb3e12d535c6cef683b75d1c064639630c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-primitives", "auto_impl", "bitflags", @@ -2816,15 +2542,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "rolling-file" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8395b4f860856b740f20a296ea2cd4d823e81a2658cf05ef61be22916026a906" -dependencies = [ - "chrono", -] - [[package]] name = "rsp-client-eth" version = "0.0.0" @@ -2888,6 +2605,7 @@ version = "0.1.0" dependencies = [ "alloy-rpc-types", "eyre", + "op-alloy-rpc-types", "reth-chainspec", "reth-primitives", "reth-revm", @@ -3198,15 +2916,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - [[package]] name = "signature" version = "2.2.0" @@ -3405,20 +3114,6 @@ dependencies = [ "syn 2.0.72", ] -[[package]] -name = "sysinfo" -version = "0.30.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" -dependencies = [ - "cfg-if", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "windows", -] - [[package]] name = "tap" version = "1.0.1" @@ -3477,16 +3172,6 @@ dependencies = [ "thiserror-impl-no-std", ] -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - [[package]] name = "threadpool" version = "1.8.1" @@ -3589,18 +3274,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-appender" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" -dependencies = [ - "crossbeam-channel", - "thiserror", - "time", - "tracing-subscriber", -] - [[package]] name = "tracing-attributes" version = "0.1.27" @@ -3619,72 +3292,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", - "valuable", -] - -[[package]] -name = "tracing-journald" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba316a74e8fc3c3896a850dba2375928a9fa171b085ecddfc7c054d39970f3fd" -dependencies = [ - "libc", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-logfmt" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22b8e455f6caa5212a102ec530bf86b8dc5a4c536299bffd84b238fed9119be7" -dependencies = [ - "time", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", ] [[package]] @@ -3761,12 +3368,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - [[package]] name = "valuable" version = "0.1.0" @@ -3848,38 +3449,6 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" -dependencies = [ - "windows-core", - "windows-targets", -] - [[package]] name = "windows-core" version = "0.52.0" diff --git a/bin/client-eth/Cargo.toml b/bin/client-eth/Cargo.toml index 2cf3959..6b0f074 100644 --- a/bin/client-eth/Cargo.toml +++ b/bin/client-eth/Cargo.toml @@ -14,11 +14,6 @@ rsp-client-executor = { path = "../../crates/executor/client" } sp1-zkvm = { git = "https://github.com/succinctlabs/sp1", branch = "experimental" } [patch.crates-io] -# alloy-eips = { path = "../alloy/crates/eips" } -# alloy-serde = { path = "../alloy/crates/serde" } -alloy-eips = { git = "https://github.com/jtguibas/alloy.git", branch = "john/rsp-8e9e6ac" } -alloy-serde = { git = "https://github.com/jtguibas/alloy.git", branch = "john/rsp-8e9e6ac" } - # Using GitHub until https://github.com/alloy-rs/trie/pull/27 is released alloy-trie = { git = "https://github.com/alloy-rs/trie.git", rev = "28ebb7cc70cbef9e894e5b36c99e28412525ac1a" } diff --git a/bin/client-op/Cargo.lock b/bin/client-op/Cargo.lock index b0b6be3..2b6da95 100644 --- a/bin/client-op/Cargo.lock +++ b/bin/client-op/Cargo.lock @@ -40,15 +40,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - [[package]] name = "allocator-api2" version = "0.2.18" @@ -67,47 +58,18 @@ dependencies = [ "strum", ] -[[package]] -name = "alloy-consensus" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da374e868f54c7f4ad2ad56829827badca388efd645f8cf5fccc61c2b5343504" -dependencies = [ - "alloy-eips 0.1.4", - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.1.4", - "c-kzg", - "serde", -] - [[package]] name = "alloy-consensus" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04c309895995eaa4bfcc345f5515a39c7df9447798645cc8bf462b6c5bf1dc96" dependencies = [ - "alloy-eips 0.2.1", - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.2.1", - "c-kzg", - "serde", -] - -[[package]] -name = "alloy-eips" -version = "0.1.4" -source = "git+https://github.com/jtguibas/alloy.git?branch=john/rsp-8e9e6ac#9616d68ba490f3d9c096feaab9cb45fe955672e7" -dependencies = [ + "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.4", + "alloy-serde", "c-kzg", - "k256", - "once_cell", "serde", - "sha2", ] [[package]] @@ -118,8 +80,9 @@ checksum = "d9431c99a3b3fe606ede4b3d4043bdfbcb780c45b8d8d226c3804e2b75cfbe68" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "c-kzg", + "k256", "once_cell", "serde", "sha2", @@ -127,22 +90,23 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca15afde1b6d15e3fc1c97421262b1bbb37aee45752e3c8b6d6f13f776554ff" +checksum = "79614dfe86144328da11098edcc7bc1a3f25ad8d3134a9eb9e857e06f0d9840d" dependencies = [ "alloy-primitives", - "alloy-serde 0.1.4", + "alloy-serde", "serde", ] [[package]] name = "alloy-json-rpc" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d6f34930b7e3e2744bcc79056c217f00cb2abb33bc5d4ff88da7623c5bb078b" +checksum = "57e2865c4c3bb4cdad3f0d9ec1ab5c0c657ba69a375651bd35e32fb6c180ccc2" dependencies = [ "alloy-primitives", + "alloy-sol-types", "serde", "serde_json", "thiserror", @@ -151,16 +115,17 @@ dependencies = [ [[package]] name = "alloy-network" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f6895fc31b48fa12306ef9b4f78b7764f8bd6d7d91cdb0a40e233704a0f23f" +checksum = "6e701fc87ef9a3139154b0b4ccb935b565d27ffd9de020fe541bf2dec5ae4ede" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-json-rpc", + "alloy-network-primitives", "alloy-primitives", "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", "alloy-signer", "alloy-sol-types", "async-trait", @@ -169,6 +134,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "alloy-network-primitives" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec9d5a0f9170b10988b6774498a022845e13eda94318440d17709d50687f67f9" +dependencies = [ + "alloy-primitives", + "alloy-serde", + "serde", +] + [[package]] name = "alloy-primitives" version = "0.7.7" @@ -216,25 +192,27 @@ dependencies = [ [[package]] name = "alloy-rpc-types" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "184a7a42c7ba9141cc9e76368356168c282c3bc3d9e5d78f3556bdfe39343447" +checksum = "e6c31a3750b8f5a350d17354e46a52b0f2f19ec5f2006d816935af599dedc521" dependencies = [ "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", + "serde", ] [[package]] name = "alloy-rpc-types-eth" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab4123ee21f99ba4bd31bfa36ba89112a18a500f8b452f02b35708b1b951e2b9" +checksum = "81e18424d962d7700a882fe423714bd5b9dde74c7a7589d4255ea64068773aef" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", + "alloy-network-primitives", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.4", + "alloy-serde", "alloy-sol-types", "itertools 0.13.0", "serde", @@ -242,16 +220,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "alloy-serde" -version = "0.1.4" -source = "git+https://github.com/jtguibas/alloy.git?branch=john/rsp-8e9e6ac#9616d68ba490f3d9c096feaab9cb45fe955672e7" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - [[package]] name = "alloy-serde" version = "0.2.1" @@ -265,9 +233,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b33753c09fa1ad85e5b092b8dc2372f1e337a42e84b9b4cff9fede75ba4adb32" +checksum = "740a25b92e849ed7b0fa013951fe2f64be9af1ad5abe805037b44fb7770c5c47" dependencies = [ "alloy-primitives", "async-trait", @@ -366,55 +334,6 @@ dependencies = [ "libc", ] -[[package]] -name = "anstream" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" - -[[package]] -name = "anstyle-parse" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" -dependencies = [ - "anstyle", - "windows-sys", -] - [[package]] name = "anyhow" version = "1.0.86" @@ -776,59 +695,11 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", "serde", - "wasm-bindgen", "windows-targets", ] -[[package]] -name = "clap" -version = "4.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6b81fb3c84f5563d509c59b5a48d935f689e993afa90fe39047f05adef9142" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca6706fd5224857d9ac5eb9355f6683563cc0541c7cd9d014043b57cbec78ac" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "clap_lex" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" - -[[package]] -name = "colorchoice" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" - [[package]] name = "const-hex" version = "1.12.0" @@ -893,15 +764,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" -[[package]] -name = "crossbeam-channel" -version = "0.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "crossbeam-deque" version = "0.8.5" @@ -1527,12 +1389,6 @@ dependencies = [ "serde", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" - [[package]] name = "itertools" version = "0.10.5" @@ -1648,15 +1504,6 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" -[[package]] -name = "matchers" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" -dependencies = [ - "regex-automata 0.1.10", -] - [[package]] name = "memchr" version = "2.7.4" @@ -1703,25 +1550,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ntapi" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" -dependencies = [ - "winapi", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - [[package]] name = "num" version = "0.4.3" @@ -1877,35 +1705,29 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d10e10cbbdb3931fed5109bbd570c0a6cf0ce08db1f93401cfb5cefc51998d1" dependencies = [ - "alloy-consensus 0.2.1", - "alloy-eips 0.2.1", + "alloy-consensus", + "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.2.1", + "alloy-serde", "serde", ] [[package]] name = "op-alloy-rpc-types" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd62a018e13a05284fa1686b78bd58c469de2e627401ba63c2ca06d7168f7e8" +checksum = "9978c3d449abb03526d378988ae6d51b049ef36205cc97bf284574df9f578021" dependencies = [ "alloy-network", "alloy-primitives", "alloy-rpc-types-eth", - "alloy-serde 0.1.4", + "alloy-serde", "op-alloy-consensus", "serde", "serde_json", ] -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - [[package]] name = "p256" version = "0.13.2" @@ -2093,7 +1915,7 @@ dependencies = [ "rand", "rand_chacha", "rand_xorshift", - "regex-syntax 0.8.4", + "regex-syntax", "rusty-fork", "tempfile", "unarray", @@ -2179,44 +2001,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "regex" -version = "1.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.7", - "regex-syntax 0.8.4", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.4", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - [[package]] name = "regex-syntax" version = "0.8.4" @@ -2225,8 +2009,8 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "reth-blockchain-tree-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-consensus", "reth-execution-errors", @@ -2237,14 +2021,15 @@ dependencies = [ [[package]] name = "reth-chainspec" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-chains", - "alloy-eips 0.1.4", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-trie", + "auto_impl", "derive_more", "once_cell", "op-alloy-rpc-types", @@ -2258,13 +2043,14 @@ dependencies = [ [[package]] name = "reth-codecs" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", + "alloy-trie", "bytes", "modular-bitfield", "reth-codecs-derive", @@ -2273,8 +2059,8 @@ dependencies = [ [[package]] name = "reth-codecs-derive" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "convert_case 0.6.0", "proc-macro2", @@ -2284,8 +2070,8 @@ dependencies = [ [[package]] name = "reth-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "auto_impl", "reth-primitives", @@ -2294,44 +2080,18 @@ dependencies = [ [[package]] name = "reth-consensus-common" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", "reth-primitives", ] -[[package]] -name = "reth-db" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "bytes", - "derive_more", - "metrics", - "paste", - "reth-db-api", - "reth-fs-util", - "reth-metrics", - "reth-primitives", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-errors", - "reth-tracing", - "reth-trie-common", - "rustc-hash", - "serde", - "strum", - "sysinfo", - "thiserror", -] - [[package]] name = "reth-db-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "bytes", "derive_more", @@ -2350,8 +2110,8 @@ dependencies = [ [[package]] name = "reth-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-blockchain-tree-api", "reth-consensus", @@ -2363,8 +2123,8 @@ dependencies = [ [[package]] name = "reth-ethereum-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", @@ -2375,8 +2135,8 @@ dependencies = [ [[package]] name = "reth-ethereum-forks" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-chains", "alloy-primitives", @@ -2392,10 +2152,10 @@ dependencies = [ [[package]] name = "reth-evm" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "auto_impl", "futures-util", "reth-chainspec", @@ -2410,10 +2170,10 @@ dependencies = [ [[package]] name = "reth-evm-ethereum" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-sol-types", "reth-chainspec", "reth-ethereum-consensus", @@ -2428,11 +2188,10 @@ dependencies = [ [[package]] name = "reth-evm-optimism" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", - "reth-consensus-common", "reth-ethereum-forks", "reth-evm", "reth-execution-errors", @@ -2449,11 +2208,13 @@ dependencies = [ [[package]] name = "reth-execution-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-primitives", + "alloy-rlp", + "nybbles", "reth-consensus", "reth-prune-types", "reth-storage-errors", @@ -2463,8 +2224,8 @@ dependencies = [ [[package]] name = "reth-execution-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-execution-errors", @@ -2475,38 +2236,18 @@ dependencies = [ [[package]] name = "reth-fs-util" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ + "serde", "serde_json", "thiserror", ] -[[package]] -name = "reth-metrics" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "metrics", - "reth-metrics-derive", -] - -[[package]] -name = "reth-metrics-derive" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "once_cell", - "proc-macro2", - "quote", - "regex", - "syn 2.0.72", -] - [[package]] name = "reth-network-peers" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -2518,8 +2259,8 @@ dependencies = [ [[package]] name = "reth-optimism-consensus" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "reth-chainspec", "reth-consensus", @@ -2530,39 +2271,36 @@ dependencies = [ [[package]] name = "reth-primitives" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rlp", "alloy-rpc-types", "bytes", - "cfg-if", "derive_more", "k256", - "modular-bitfield", "once_cell", "rayon", "reth-chainspec", - "reth-codecs", "reth-ethereum-forks", "reth-primitives-traits", "reth-static-file-types", "reth-trie-common", "revm-primitives", "serde", - "thiserror-no-std", + "thiserror", ] [[package]] name = "reth-primitives-traits" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", - "alloy-eips 0.1.4", + "alloy-consensus", + "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rlp", @@ -2575,13 +2313,12 @@ dependencies = [ "revm-primitives", "roaring", "serde", - "thiserror-no-std", ] [[package]] name = "reth-prune-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "bytes", @@ -2594,10 +2331,10 @@ dependencies = [ [[package]] name = "reth-revm" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "reth-chainspec", "reth-consensus-common", "reth-execution-errors", @@ -2606,13 +2343,12 @@ dependencies = [ "reth-storage-api", "reth-storage-errors", "revm", - "tracing", ] [[package]] name = "reth-stages-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "bytes", @@ -2624,8 +2360,8 @@ dependencies = [ [[package]] name = "reth-static-file-types" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-primitives", "derive_more", @@ -2635,8 +2371,8 @@ dependencies = [ [[package]] name = "reth-storage-api" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "auto_impl", "reth-chainspec", @@ -2652,43 +2388,29 @@ dependencies = [ [[package]] name = "reth-storage-errors" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ + "alloy-rlp", "reth-fs-util", "reth-primitives", "thiserror-no-std", ] -[[package]] -name = "reth-tracing" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" -dependencies = [ - "clap", - "eyre", - "rolling-file", - "tracing", - "tracing-appender", - "tracing-journald", - "tracing-logfmt", - "tracing-subscriber", -] - [[package]] name = "reth-trie" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ "alloy-rlp", "auto_impl", "derive_more", + "itertools 0.13.0", "rayon", - "reth-db", - "reth-db-api", "reth-execution-errors", "reth-primitives", "reth-stages-types", + "reth-storage-errors", "reth-trie-common", "revm", "tracing", @@ -2696,10 +2418,10 @@ dependencies = [ [[package]] name = "reth-trie-common" -version = "1.0.1" -source = "git+https://github.com/jtguibas/reth.git?branch=john/rsp-8e9e6ac#5172540cd6d06536b6d430b7f00a15da4fc86296" +version = "1.0.4" +source = "git+https://github.com/sp1-patches/reth?tag=rsp-20240827#ea242fbb1d70f37b016a37a9a6d28b0b4bd7f25c" dependencies = [ - "alloy-consensus 0.1.4", + "alloy-consensus", "alloy-genesis", "alloy-primitives", "alloy-rlp", @@ -2716,8 +2438,9 @@ dependencies = [ [[package]] name = "revm" -version = "11.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "12.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cfb48bce8ca2113e157bdbddbd5eeb09daac1c903d79ec17085897c38c7c91" dependencies = [ "auto_impl", "cfg-if", @@ -2730,8 +2453,9 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "7.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6b0daddea06fc6da5346acc39b32a357bbe3579e9e3d94117d9ae125cd596fc" dependencies = [ "revm-primitives", "serde", @@ -2739,8 +2463,9 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "9.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "9.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef55228211251d7b6c7707c3ee13bb70dea4d2fd81ec4034521e4fe31010b2ea" dependencies = [ "aurora-engine-modexp", "c-kzg", @@ -2758,10 +2483,11 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "6.0.0" -source = "git+https://github.com/0xWOLAND/bluealloy-revm.git?branch=john/rsp-8e9e6ac#6e0a6e68e736850e7b535926ce3f26a7c09e199b" +version = "7.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fc4311037ee093ec50ec734e1424fcb3e12d535c6cef683b75d1c064639630c" dependencies = [ - "alloy-eips 0.1.4", + "alloy-eips", "alloy-primitives", "auto_impl", "bitflags", @@ -2816,15 +2542,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "rolling-file" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8395b4f860856b740f20a296ea2cd4d823e81a2658cf05ef61be22916026a906" -dependencies = [ - "chrono", -] - [[package]] name = "rsp-client-executor" version = "0.1.0" @@ -2888,6 +2605,7 @@ version = "0.1.0" dependencies = [ "alloy-rpc-types", "eyre", + "op-alloy-rpc-types", "reth-chainspec", "reth-primitives", "reth-revm", @@ -3198,15 +2916,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - [[package]] name = "signature" version = "2.2.0" @@ -3405,20 +3114,6 @@ dependencies = [ "syn 2.0.72", ] -[[package]] -name = "sysinfo" -version = "0.30.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" -dependencies = [ - "cfg-if", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "windows", -] - [[package]] name = "tap" version = "1.0.1" @@ -3477,16 +3172,6 @@ dependencies = [ "thiserror-impl-no-std", ] -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - [[package]] name = "threadpool" version = "1.8.1" @@ -3589,18 +3274,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-appender" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" -dependencies = [ - "crossbeam-channel", - "thiserror", - "time", - "tracing-subscriber", -] - [[package]] name = "tracing-attributes" version = "0.1.27" @@ -3619,72 +3292,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", - "valuable", -] - -[[package]] -name = "tracing-journald" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba316a74e8fc3c3896a850dba2375928a9fa171b085ecddfc7c054d39970f3fd" -dependencies = [ - "libc", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-logfmt" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22b8e455f6caa5212a102ec530bf86b8dc5a4c536299bffd84b238fed9119be7" -dependencies = [ - "time", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", ] [[package]] @@ -3761,12 +3368,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - [[package]] name = "valuable" version = "0.1.0" @@ -3848,38 +3449,6 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" -dependencies = [ - "windows-core", - "windows-targets", -] - [[package]] name = "windows-core" version = "0.52.0" diff --git a/bin/client-op/Cargo.toml b/bin/client-op/Cargo.toml index 8c017fc..c0194c9 100644 --- a/bin/client-op/Cargo.toml +++ b/bin/client-op/Cargo.toml @@ -14,11 +14,6 @@ rsp-client-executor = { path = "../../crates/executor/client" } sp1-zkvm = { git = "https://github.com/succinctlabs/sp1", branch = "experimental" } [patch.crates-io] -# alloy-eips = { path = "../alloy/crates/eips" } -# alloy-serde = { path = "../alloy/crates/serde" } -alloy-eips = { git = "https://github.com/jtguibas/alloy.git", branch = "john/rsp-8e9e6ac" } -alloy-serde = { git = "https://github.com/jtguibas/alloy.git", branch = "john/rsp-8e9e6ac" } - # Using GitHub until https://github.com/alloy-rs/trie/pull/27 is released alloy-trie = { git = "https://github.com/alloy-rs/trie.git", rev = "28ebb7cc70cbef9e894e5b36c99e28412525ac1a" } diff --git a/bin/host/build.rs b/bin/host/build.rs index a7d54d0..7eb6c72 100644 --- a/bin/host/build.rs +++ b/bin/host/build.rs @@ -1,6 +1,12 @@ use sp1_helper::{build_program_with_args, BuildArgs}; fn main() { - build_program_with_args(&format!("../{}", "client-eth"), BuildArgs { ..Default::default() }); - build_program_with_args(&format!("../{}", "client-op"), BuildArgs { ..Default::default() }); + build_program_with_args( + &format!("../{}", "client-eth"), + BuildArgs { ignore_rust_version: true, ..Default::default() }, + ); + build_program_with_args( + &format!("../{}", "client-op"), + BuildArgs { ignore_rust_version: true, ..Default::default() }, + ); } diff --git a/crates/executor/client/Cargo.toml b/crates/executor/client/Cargo.toml index d6b3d00..8962c84 100644 --- a/crates/executor/client/Cargo.toml +++ b/crates/executor/client/Cargo.toml @@ -25,7 +25,7 @@ rsp-mpt.workspace = true reth-ethereum-consensus.workspace = true reth-optimism-consensus.workspace = true reth-execution-types.workspace = true -reth-primitives = { workspace = true, features = ["k256"] } +reth-primitives.workspace = true reth-storage-errors.workspace = true reth-trie.workspace = true reth-evm.workspace = true diff --git a/crates/executor/client/src/custom.rs b/crates/executor/client/src/custom.rs index e6843e1..e4c4836 100644 --- a/crates/executor/client/src/custom.rs +++ b/crates/executor/client/src/custom.rs @@ -118,7 +118,7 @@ impl CustomEvmConfig { impl ConfigureEvm for CustomEvmConfig { type DefaultExternalContext<'a> = (); - fn evm<'a, DB: Database + 'a>(&self, db: DB) -> Evm<'_, Self::DefaultExternalContext<'_>, DB> { + fn evm(&self, db: DB) -> Evm<'_, Self::DefaultExternalContext<'_>, DB> { match self.0 { ChainVariant::Ethereum => { EvmBuilder::default() @@ -137,6 +137,8 @@ impl ConfigureEvm for CustomEvmConfig { } } } + + fn default_external_context<'a>(&self) -> Self::DefaultExternalContext<'a> {} } impl ConfigureEvmEnv for CustomEvmConfig { diff --git a/crates/mpt/src/lib.rs b/crates/mpt/src/lib.rs index bb5af8e..acc97d4 100644 --- a/crates/mpt/src/lib.rs +++ b/crates/mpt/src/lib.rs @@ -7,9 +7,8 @@ use itertools::Either; use reth_execution_types::ExecutionOutcome; use reth_primitives::{Address, B256}; use reth_trie::{ - nodes::{TrieNode, CHILD_INDEX_RANGE}, - AccountProof, HashBuilder, HashedPostState, HashedStorage, Nibbles, TrieAccount, - EMPTY_ROOT_HASH, + AccountProof, HashBuilder, HashedPostState, HashedStorage, Nibbles, TrieAccount, TrieNode, + CHILD_INDEX_RANGE, EMPTY_ROOT_HASH, }; use revm_primitives::{keccak256, HashMap}; use rsp_primitives::storage::ExtDatabaseRef; diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index f597181..5a7b636 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -23,4 +23,5 @@ reth-chainspec.workspace = true revm-primitives.workspace = true # alloy -alloy-rpc-types.workspace = true \ No newline at end of file +alloy-rpc-types.workspace = true +op-alloy-rpc-types.workspace = true diff --git a/crates/primitives/src/account_proof.rs b/crates/primitives/src/account_proof.rs index 9337823..05df150 100644 --- a/crates/primitives/src/account_proof.rs +++ b/crates/primitives/src/account_proof.rs @@ -20,7 +20,9 @@ impl AccountProofWithBytecode { /// Verifies the account proof against the provided state root. pub fn verify(&self, state_root: B256) -> eyre::Result<()> { - self.proof.verify(state_root)?; + self.proof + .verify(state_root) + .map_err(|err| eyre::eyre!("Account proof verification failed: {err}"))?; if let Some(info) = &self.proof.info { if info.bytecode_hash.unwrap() != keccak256(self.code.bytes()) { return Err(eyre::eyre!("Code hash does not match the code")); @@ -35,7 +37,6 @@ pub fn eip1186_proof_to_account_proof(proof: EIP1186AccountProofResponse) -> Acc let address = proof.address; let balance = proof.balance; let code_hash = proof.code_hash; - let nonce = proof.nonce.as_limbs()[0]; let storage_root = proof.storage_hash; let account_proof = proof.account_proof; let storage_proofs = proof @@ -46,18 +47,21 @@ pub fn eip1186_proof_to_account_proof(proof: EIP1186AccountProofResponse) -> Acc let value = storage_proof.value; let proof = storage_proof.proof; let mut sp = StorageProof::new(key.0); - sp.set_value(value); - sp.set_proof(proof); + sp.value = value; + sp.proof = proof; sp }) .collect(); let (storage_root, info) = - if nonce == 0 && balance.is_zero() && storage_root.is_zero() && code_hash.is_zero() { + if proof.nonce == 0 && balance.is_zero() && storage_root.is_zero() && code_hash.is_zero() { // Account does not exist in state. Return `None` here to prevent proof verification. (EMPTY_ROOT_HASH, None) } else { - (storage_root, Some(Account { nonce, balance, bytecode_hash: code_hash.into() })) + ( + storage_root, + Some(Account { nonce: proof.nonce, balance, bytecode_hash: code_hash.into() }), + ) }; AccountProof { address, info, proof: account_proof, storage_root, storage_proofs } diff --git a/crates/storage/rpc-db/src/lib.rs b/crates/storage/rpc-db/src/lib.rs index 6140fe7..49a76a8 100644 --- a/crates/storage/rpc-db/src/lib.rs +++ b/crates/storage/rpc-db/src/lib.rs @@ -82,7 +82,7 @@ impl + Clone> RpcDb { // Construct the account info & write it to the log. let bytecode = Bytecode::new_raw(code); let account_info = AccountInfo { - nonce: proof.nonce.as_limbs()[0], + nonce: proof.nonce, balance: proof.balance, code_hash: proof.code_hash, code: Some(bytecode.clone()), diff --git a/rust-toolchain b/rust-toolchain index 3a30621..39c9c4b 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2024-04-17" -components = ["llvm-tools", "rustc-dev"] \ No newline at end of file +channel = "nightly-2024-08-06" +components = ["llvm-tools", "rustc-dev"]