diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 0000000..11d97c0 --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,2 @@ +[profile.default] +slow-timeout = { period = "120s", terminate-after = 4 } diff --git a/.github/scripts/free-up-disk-space.sh b/.github/scripts/free-up-disk-space.sh deleted file mode 100755 index a61b849..0000000 --- a/.github/scripts/free-up-disk-space.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -df -h / -sudo rm -rf /usr/share/dotnet -sudo rm -rf /usr/local/lib/android -sudo rm -rf /opt/ghc /usr/local/.ghcup -sudo rm -rf /opt/hostedtoolcache -df -h / diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2374bba..d370be9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,16 +2,9 @@ name: CI on: push: - branches: [main] + branches: [main, bal-devnet-3] pull_request: - branches: [main] - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true + branches: [main, bal-devnet-3] env: CARGO_TERM_COLOR: always @@ -19,34 +12,23 @@ env: jobs: lint: - permissions: - contents: read - id-token: write name: Lint runs-on: ubuntu-latest timeout-minutes: 30 steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: - persist-credentials: false - - uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - with: - toolchain: stable components: rustfmt, clippy - - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 + - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - name: fmt run: cargo fmt --all --check - name: clippy - run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings + run: cargo clippy --workspace --all-targets --all-features -- -D warnings ef-tests: - permissions: - contents: read - id-token: write name: Ethereum Foundation tests (${{ matrix.trie }}) runs-on: ubuntu-latest timeout-minutes: 60 @@ -56,76 +38,34 @@ jobs: matrix: include: - trie: default - allow_failure: false + allow_failure: true - trie: zeth allow_failure: true env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - - uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - with: - toolchain: stable - - name: Install nextest - uses: tempoxyz/gh-actions/vendor/taiki-e/install-action@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - with: - tool: nextest@0.9.140 - checksum: true - fallback: none - - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: astral-sh/setup-uv@v3 + - uses: taiki-e/install-action@nextest + - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - name: Run EF tests run: ./scripts/run_ef_tests.sh ${{ matrix.trie }} no-std: - permissions: - contents: read - id-token: write - name: no_std (RISC-V rv64im) + name: no_std (RISC-V) runs-on: ubuntu-latest timeout-minutes: 30 steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: - persist-credentials: false - - uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - with: - toolchain: nightly - components: rust-src - - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 + targets: riscv32imac-unknown-none-elf + - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - - name: Build stateless for riscv64im + - name: Build stateless for riscv32imac run: ./scripts/check_no_std.sh - - stateless-validator: - permissions: - contents: read - id-token: write - name: Reth stateless validator fixtures - runs-on: ubuntu-latest - timeout-minutes: 45 - env: - RUST_BACKTRACE: 1 - steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - - uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - with: - toolchain: stable - - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - with: - cache-on-failure: true - - name: Run execution-spec fixtures - run: cargo test -p stateless-validator-tests --test host_execution --locked diff --git a/.github/workflows/reth-guests.yml b/.github/workflows/reth-guests.yml deleted file mode 100644 index d667ba9..0000000 --- a/.github/workflows/reth-guests.yml +++ /dev/null @@ -1,140 +0,0 @@ -name: Reth guest artifacts - -on: - push: - tags: - - "reth-guest-v*" - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - -permissions: - contents: read - -jobs: - build: - permissions: - contents: read - id-token: write - name: Build Reth guest (${{ matrix.zkvm }}) - runs-on: ubuntu-24.04 - timeout-minutes: 120 - strategy: - fail-fast: false - matrix: - zkvm: - - openvm - - sp1 - - zisk - steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - name: Checkout source - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - - name: Free disk space - if: matrix.zkvm == 'zisk' - run: .github/scripts/free-up-disk-space.sh - - - name: Install Rust - uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - with: - toolchain: stable - - - name: Build ELF and verification key - # Cargo downloads run on the protected host; compiler containers run offline. - run: scripts/guests/build.sh "${{ matrix.zkvm }}" output - - - name: Upload guest artifacts - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 - with: - name: reth-guest-${{ matrix.zkvm }} - path: output/* - if-no-files-found: error - retention-days: 14 - - smoke: - permissions: - contents: read - id-token: write - name: Execute Reth guest (${{ matrix.zkvm }}) - needs: - - build - runs-on: ubuntu-24.04 - timeout-minutes: 45 - strategy: - fail-fast: false - matrix: - zkvm: - - openvm - - sp1 - - zisk - steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - name: Checkout source - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - - name: Free disk space - run: .github/scripts/free-up-disk-space.sh - - - name: Download guest artifacts - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 - with: - name: reth-guest-${{ matrix.zkvm }} - path: output - - - name: Execute built guest - run: scripts/guests/smoke-test.sh "${{ matrix.zkvm }}" output - - release: - name: Publish signed guest release - if: startsWith(github.ref, 'refs/tags/reth-guest-v') - needs: - - build - - smoke - runs-on: ubuntu-24.04 - timeout-minutes: 15 - permissions: - contents: write - id-token: write - attestations: write - artifact-metadata: write - steps: - - name: Secure runner - uses: tempoxyz/gh-actions/actions/secure-runner@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - - name: Download guest artifacts - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 - with: - pattern: reth-guest-* - path: release - merge-multiple: true - - - name: Create checksums - working-directory: release - run: sha256sum -- *.elf *.vk > SHA256SUMS - - - name: Attest release artifacts - uses: actions/attest@c32b4b8b198b65d0bd9d63490e847ff7b53989d4 # v4.0.0 - with: - subject-path: | - release/*.elf - release/*.vk - release/SHA256SUMS - - - name: Create GitHub release - env: - GH_TOKEN: ${{ github.token }} - run: | - gh release create "$GITHUB_REF_NAME" release/* \ - --repo "$GITHUB_REPOSITORY" \ - --verify-tag \ - --generate-notes \ - --prerelease \ - --latest=false \ - --title "$GITHUB_REF_NAME" diff --git a/.github/workflows/scan-github-actions.yml b/.github/workflows/scan-github-actions.yml deleted file mode 100644 index 3039bdb..0000000 --- a/.github/workflows/scan-github-actions.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Scan GitHub Actions - -on: - pull_request: - push: - branches: [main] - workflow_dispatch: - -permissions: {} - -jobs: - scan: - uses: tempoxyz/gh-actions/.github/workflows/scan-github-actions.yml@d5402286a7abdfb7232173b3228d56473feb8a66 # 2026-09-29T02-04-45Z-d5402286 - permissions: - actions: read - contents: read - id-token: write - with: - ensure-secure-runner: false diff --git a/.gitignore b/.gitignore index 1d88561..bfe47c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ -target/ -/output +/target # EF test fixtures (downloaded by scripts/setup_ef_tests.sh) testing/ef-tests/ethereum-tests testing/ef-tests/execution-spec-tests +testing/ef-tests/zkevm-tests +testing/ef-tests/bal-tests diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 3cecd3b..0000000 --- a/AGENTS.md +++ /dev/null @@ -1,59 +0,0 @@ -# AGENTS.md - -Guidance for AI coding agents working in this repository. `README.md` describes the -validation flow and the test suites, and `docs/guest-releases.md` describes guest -builds and releases. Read the latter before changing anything under -`bin/stateless-validator-reth/` or `scripts/guests/`. - -## Ownership - -Make each change in the crate that owns the behavior. - -- `crates/stateless`: core stateless validation (`stateless_validation`, - `WitnessDatabase`, block recovery, and the zkVM interface). -- `crates/tries`: the `tries::StatelessTrie` trait and its backends (`default` on - `reth-trie-sparse`, `zeth` on `crates/zeth-mpt`). Put trie behavior behind this - trait; do not special-case a backend in core validation. -- `crates/stateless-validator-common` and `crates/stateless-validator-reth`: shared - guest logic. The common crate owns the execution-specs guest input and output - types; the Reth crate owns the guest entrypoint, conversions, and crypto. -- `bin/stateless-validator-reth/{openvm,sp1,zisk}`: thin zkVM shims that call - `stateless_validator_reth::guest::entrypoint`. Do not add logic or duplicate - shared code per zkVM. -- `testing/ef-tests` and `testing/stateless-validator`: EF blockchain tests and - execution-spec fixture tests. - -## Rules - -- Use collections with deterministic iteration: `IndexMap`, `B256IndexMap`, or - `BTreeMap`, and their set equivalents. `clippy.toml` denies std, `hashbrown`, - and `alloy_primitives::map` hash maps and sets. -- Keep the validation and guest crates building without default features for the - RISC-V target in `targets/`. `./scripts/check_no_std.sh` checks this. -- Run Cargo with `--locked`. Change `Cargo.lock` only for an intended dependency - update. -- The guest packages under `bin/stateless-validator-reth/` are independent Cargo - workspaces with committed lockfiles. Leave those lockfiles unchanged unless the - change updates guest dependencies; a guest build fails if its lockfile changes. -- The fixture tests pin `tests-zkevm@v21.0.7` through the URL and SHA-256 in - `testing/stateless-validator/src/fixture.rs`. When updating the version, update - the checksum, `README.md`, and the execution-specs links in the guest crates - together. -- `KNOWN_FAILURES` in `testing/stateless-validator/tests/host_execution.rs` lists - fixtures expected to fail, with the reason above it. The suite fails when a - listed fixture passes, so remove entries that start passing. Add an entry only - with its upstream cause. - -## Checks - -CI runs these commands: - -- `cargo fmt --all --check` (stable) -- `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` -- `./scripts/run_ef_tests.sh default|zeth` (uses `cargo nextest`; CI allows the - `zeth` run to fail) -- `./scripts/check_no_std.sh` (nightly with `rust-src`) -- `cargo test -p stateless-validator-tests --test host_execution --locked` - -Run the checks that cover the changed crates. The EF and fixture suites download -test data on first use. diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 120000 index 47dc3e3..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1 +0,0 @@ -AGENTS.md \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 7095599..7b980a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,12 +2,6 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "adler2" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" - [[package]] name = "ahash" version = "0.8.12" @@ -22,9 +16,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.5" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -37,28 +31,27 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "alloy-chains" -version = "0.2.37" +version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fdcfed8f106be3df944054aaa42bc13ae103a3ac8a9f4b08d4f053e3a743f8" +checksum = "84e0378e959aa6a885897522080a990e80eb317f1e9a222a604492ea50e13096" dependencies = [ "alloy-primitives", "alloy-rlp", "num_enum", - "phf", "serde", + "strum", ] [[package]] name = "alloy-consensus" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b836b372d3b742b7c083d2617d6e68563cd5dadbd8752c461a935a756551e69" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-eips", "alloy-primitives", "alloy-rlp", "alloy-serde", - "alloy-trie", + "alloy-trie 0.9.5", "alloy-tx-macros", "arbitrary", "auto_impl", @@ -68,7 +61,7 @@ dependencies = [ "either", "k256", "once_cell", - "rand 0.8.7", + "rand 0.8.5", "secp256k1 0.30.0", "serde", "serde_json", @@ -78,9 +71,8 @@ dependencies = [ [[package]] name = "alloy-consensus-any" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1befb37485ea71e8599e32ffd76c98af7c3720a34741d30abd87f41c3148407" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-consensus", "alloy-eips", @@ -101,7 +93,7 @@ dependencies = [ "alloy-rlp", "arbitrary", "crc", - "rand 0.8.7", + "rand 0.8.5", "serde", "thiserror", ] @@ -116,7 +108,7 @@ dependencies = [ "alloy-rlp", "arbitrary", "borsh", - "rand 0.8.7", + "rand 0.8.5", "serde", ] @@ -131,7 +123,7 @@ dependencies = [ "arbitrary", "borsh", "k256", - "rand 0.8.7", + "rand 0.8.5", "serde", "serde_with", "thiserror", @@ -139,24 +131,21 @@ dependencies = [ [[package]] name = "alloy-eip7928" -version = "0.4.9" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd59d7221d384c46771ffbf6f18f70aa7753326351277857016bed5127b888f" +checksum = "f8222b1d88f9a6d03be84b0f5e76bb60cd83991b43ad8ab6477f0e4a7809b98d" dependencies = [ "alloy-primitives", "alloy-rlp", "arbitrary", "borsh", - "once_cell", "serde", - "thiserror", ] [[package]] name = "alloy-eips" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3e76d47e8de277cb55e7e77fa38adde835162fc01cddbe1b258b5e0a86035b" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-eip2124", "alloy-eip2930", @@ -173,14 +162,14 @@ dependencies = [ "either", "serde", "serde_with", - "sha2 0.10.9", + "sha2", + "thiserror", ] [[package]] name = "alloy-evm" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b6bd5f7e5ce9858bac99275e3f548c3b63bb3e5806da0142dc0b2f518d3ec4a" +version = "0.29.2" +source = "git+https://github.com/alloy-rs/evm?branch=bal-devnet3#c45bf2cf394762d65044e95a45b4645510b588ab" dependencies = [ "alloy-consensus", "alloy-eips", @@ -198,14 +187,13 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0680a2f7d4bbc6f48c0cb43368fa544918a1fa291e772bdb47c834ade338f363" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-eips", "alloy-primitives", "alloy-serde", - "alloy-trie", + "alloy-trie 0.9.5", "borsh", "serde", "serde_with", @@ -213,9 +201,9 @@ dependencies = [ [[package]] name = "alloy-hardforks" -version = "0.4.8" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865371fb677c005f7cb0ea9c2847a1ba4fdb042caf6428b1769fee20368bbfc7" +checksum = "83ba208044232d14d4adbfa77e57d6329f51bc1acc21f5667bb7db72d88a0831" dependencies = [ "alloy-chains", "alloy-eip2124", @@ -226,9 +214,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cee30dd4c2f4b23f434fdf675e7bf9681b86768141277266c6f548ef25cba0a" +checksum = "e9dbe713da0c737d9e5e387b0ba790eb98b14dd207fe53eef50e19a5a8ec3dac" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -238,9 +226,8 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a523ca087dda941e53f6ecde5bf5df78b9dbe760f3f77488e13dbf355de4a84" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -253,9 +240,8 @@ dependencies = [ [[package]] name = "alloy-network" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f263c8d752b15e19b7c2d3cbad00338ec2d7cc923a46cd1ff98aea2fa333166b" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -279,9 +265,8 @@ dependencies = [ [[package]] name = "alloy-network-primitives" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8795eecf50374a0dd942caff57922c59333c9991ead9eccbbc1709f55d73c7c2" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-consensus", "alloy-eips", @@ -292,9 +277,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f007e257069855bdf21d27762fd3f3705a613f805c9a08309bf353503f081d71" +checksum = "de3b431b4e72cd8bd0ec7a50b4be18e73dab74de0dba180eef171055e5d5926e" dependencies = [ "alloy-rlp", "arbitrary", @@ -302,31 +287,29 @@ dependencies = [ "cfg-if", "const-hex", "derive_more", - "fixed-cache", "foldhash 0.2.0", - "getrandom 0.4.3", - "hashbrown 0.17.1", + "getrandom 0.4.2", + "hashbrown 0.16.1", "indexmap 2.14.0", "itoa", "k256", "keccak-asm", "paste", "proptest", - "proptest-derive 0.8.0", - "rand 0.9.5", + "proptest-derive", + "rand 0.9.4", "rapidhash", "ruint", "rustc-hash", - "secp256k1 0.31.1", "serde", "sha3", ] [[package]] name = "alloy-rlp" -version = "0.3.16" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24671b1f62edcf0f9b62994c7bf72cd621a04a4b99f5020ece1a647b40e2f103" +checksum = "dc90b1e703d3c03f4ff7f48e82dd0bc1c8211ab7d079cd836a06fcfeb06651cb" dependencies = [ "alloy-rlp-derive", "arrayvec", @@ -335,38 +318,31 @@ dependencies = [ [[package]] name = "alloy-rlp-derive" -version = "0.3.16" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4311c03125e8a18296504560b9de3d75ecbd0dcda7f71e6cf2a196d57e6fba" +checksum = "f36834a5c0a2fa56e171bf256c34d70fca07d0c0031583edea1c4946b7889c9e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "alloy-rpc-types-any" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1176430031ba27abfb51b95516cf71e8ce3ff4172c72f3136627f0f89813a739" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-consensus-any", - "alloy-network-primitives", - "alloy-primitives", "alloy-rpc-types-eth", "alloy-serde", - "serde", - "serde_json", ] [[package]] name = "alloy-rpc-types-debug" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a97960aa11b9984a18580b8dfbfc3eacfce1befa0d588b03ccc0bc5563d01f8" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-primitives", - "alloy-rlp", "derive_more", "serde", "serde_with", @@ -374,9 +350,8 @@ dependencies = [ [[package]] name = "alloy-rpc-types-engine" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a43d7b6b86be4885c7a76f1dfcde9651af2d419ff571e8ee7257de47101203b" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-consensus", "alloy-eips", @@ -384,16 +359,15 @@ dependencies = [ "alloy-rlp", "alloy-serde", "derive_more", - "rand 0.8.7", + "rand 0.8.5", "serde", "strum", ] [[package]] name = "alloy-rpc-types-eth" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "756eb5803e70985be4066b636194ccb5f6629e5d141817c1f0c50cea8350bf5c" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -404,7 +378,7 @@ dependencies = [ "alloy-serde", "alloy-sol-types", "arbitrary", - "itertools 0.13.0", + "itertools 0.14.0", "serde", "serde_json", "serde_with", @@ -413,9 +387,8 @@ dependencies = [ [[package]] name = "alloy-serde" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc142e40df0c3eb5983b1637a68ab33471d8d22b8f402c9ed8260411a4e89d86" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-primitives", "arbitrary", @@ -425,9 +398,8 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c84f88f8a29d2607f98993687ed55a5943ba06819bc2126bb078dca54be943" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ "alloy-primitives", "async-trait", @@ -440,9 +412,9 @@ dependencies = [ [[package]] name = "alloy-signer-local" -version = "2.4.2" +version = "1.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c81472fb0b73cbb18106e323e33e3f249f56318a330a8e0f6aa6e913e3519a" +checksum = "c3ecb71ee53d8d9c3fa7bac17542c8116ebc7a9726c91b1bf333ec3d04f5a789" dependencies = [ "alloy-consensus", "alloy-network", @@ -450,47 +422,47 @@ dependencies = [ "alloy-signer", "async-trait", "k256", - "rand 0.8.7", + "rand 0.8.5", "thiserror", ] [[package]] name = "alloy-sol-macro" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5655c38d5f84955bf727b2eeb62fddd91ebb98fd1d7ae6eb77f73ea88f9b9cf" +checksum = "ab81bab693da9bb79f7a95b64b394718259fdd7e41dceeced4cad57cb71c4f6a" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", - "proc-macro-error3", + "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "alloy-sol-macro-expander" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6277c780e07b76951e09a59788dde230d1582612324177d11a43a61e21a6bb83" +checksum = "489f1620bb7e2483fb5819ed01ab6edc1d2f93939dce35a5695085a1afd1d699" dependencies = [ "alloy-sol-macro-input", "const-hex", "heck", "indexmap 2.14.0", - "proc-macro-error3", + "proc-macro-error2", "proc-macro2", "quote", "sha3", - "syn 2.0.119", + "syn 2.0.117", "syn-solidity", ] [[package]] name = "alloy-sol-macro-input" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9762b2ad3e5a0c09886de54fe549ab0056681df843cb082e2df7e1c0eb270d30" +checksum = "56cef806ad22d4392c5fc83cf8f2089f988eb99c7067b4e0c6f1971fc1cca318" dependencies = [ "const-hex", "dunce", @@ -498,25 +470,25 @@ dependencies = [ "macro-string", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da4c7130f0f01f4719678bda3db3bc7267fc2f7f9d0565e3bd964cd2bb45050d" +checksum = "a6df77fea9d6a2a75c0ef8d2acbdfd92286cc599983d3175ccdc170d3433d249" dependencies = [ "serde", - "winnow", + "winnow 0.7.15", ] [[package]] name = "alloy-sol-types" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96e74d6213180f78dbdccddce8af02a639c160c94b0a543fa35c77c58b8a7fc" +checksum = "64612d29379782a5dde6f4b6570d9c756d734d760c0c94c254d361e678a6591f" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -524,6 +496,22 @@ dependencies = [ "serde", ] +[[package]] +name = "alloy-trie" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "983d99aa81f586cef9dae38443245e585840fcf0fc58b09aee0b1f27aed1d500" +dependencies = [ + "alloy-primitives", + "alloy-rlp", + "arrayvec", + "derive_more", + "nybbles 0.3.4", + "serde", + "smallvec", + "tracing", +] + [[package]] name = "alloy-trie" version = "0.9.5" @@ -535,9 +523,9 @@ dependencies = [ "arbitrary", "derive_arbitrary", "derive_more", - "nybbles", + "nybbles 0.4.8", "proptest", - "proptest-derive 0.7.0", + "proptest-derive", "serde", "smallvec", "thiserror", @@ -546,21 +534,20 @@ dependencies = [ [[package]] name = "alloy-tx-macros" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25484345e4d89c259235e200d4f895eba33e70f125f4e8bb37a7aa69a97bd656" +version = "1.7.3" +source = "git+https://github.com/alloy-rs/alloy?branch=bal-devnet2#1fd12c4107dcf3ad3fbbc404004a710bf91db3e6" dependencies = [ - "darling", + "darling 0.21.3", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "android_system_properties" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" dependencies = [ "libc", ] @@ -601,7 +588,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -612,14 +599,14 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.104" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" +checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" [[package]] name = "arbitrary" @@ -632,43 +619,43 @@ dependencies = [ [[package]] name = "ark-bls12-381" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be2ede2c0c96fa37d5d3484e8a59fec566c4a52b8c84bf993eaa6c67d7225a4c" +checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" dependencies = [ "ark-ec", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", ] [[package]] name = "ark-bn254" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bc66f96ebe2a17a499475b4f94791d379817592ef494171586967ffdc6f95db" +checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" dependencies = [ "ark-ec", - "ark-ff 0.6.0", + "ark-ff 0.5.0", "ark-r1cs-std", - "ark-std 0.6.0", + "ark-std 0.5.0", ] [[package]] name = "ark-ec" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8352a2b2aedf6ba2cc38f7520fc51191d518dde96175c729af19f2d059f191c4" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" dependencies = [ "ahash", - "ark-ff 0.6.0", + "ark-ff 0.5.0", "ark-poly", - "ark-serialize 0.6.0", - "ark-std 0.6.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", "educe", "fnv", - "hashbrown 0.17.1", - "itertools 0.14.0", + "hashbrown 0.15.5", + "itertools 0.13.0", "num-bigint", "num-integer", "num-traits", @@ -733,23 +720,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ark-ff" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a806ac6c8307b929df4645776290a50ee2aac754ad09d8bdf73391309e43af" -dependencies = [ - "ark-ff-asm 0.6.0", - "ark-ff-macros 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "digest 0.10.7", - "educe", - "num-bigint", - "num-traits", - "zeroize", -] - [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -777,17 +747,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" dependencies = [ "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-asm" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1479009684adc073dff49a1025d3a7065b317a9ead25aaaca38cdc70058ba8a2" -dependencies = [ - "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -825,49 +785,35 @@ dependencies = [ "num-traits", "proc-macro2", "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-macros" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0691ed21ef00ef89c1e9bda832eba493dda3ec2f8d892fb25b705f73f06bb8" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "ark-poly" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f55af10b672002b8d953e230282c51206842e20e5791a94432219b4201de5c" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" dependencies = [ "ahash", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", "educe", "fnv", - "hashbrown 0.17.1", + "hashbrown 0.15.5", ] [[package]] name = "ark-r1cs-std" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291f1c6628bfcac79b0dc2adbe401aa9100e2e96daa971645e0b18fc94de9a98" +checksum = "941551ef1df4c7a401de7068758db6503598e6f01850bdb2cfdb614a1f9dbea1" dependencies = [ "ark-ec", - "ark-ff 0.6.0", + "ark-ff 0.5.0", "ark-relations", - "ark-std 0.6.0", + "ark-std 0.5.0", "educe", - "itertools 0.14.0", "num-bigint", "num-integer", "num-traits", @@ -876,18 +822,14 @@ dependencies = [ [[package]] name = "ark-relations" -version = "0.6.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe4c11c797a64b8a23e22bf4e77bf582ac27bb21395e3183a9a506ba2561e9f9" +checksum = "ec46ddc93e7af44bcab5230937635b06fb5744464dd6a7e7b083e80ebd274384" dependencies = [ - "ark-ff 0.6.0", - "ark-poly", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "foldhash 0.1.5", - "indexmap 2.14.0", + "ark-ff 0.5.0", + "ark-std 0.5.0", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.2.25", ] [[package]] @@ -917,34 +859,22 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" dependencies = [ + "ark-serialize-derive", "ark-std 0.5.0", "arrayvec", "digest 0.10.7", "num-bigint", ] -[[package]] -name = "ark-serialize" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a74dd304fd536fb95d0a328e72be759209cc496a9da094c5bc56e5fea4f9e86b" -dependencies = [ - "ark-serialize-derive", - "ark-std 0.6.0", - "digest 0.10.7", - "num-bigint", - "serde_with", -] - [[package]] name = "ark-serialize-derive" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f153690697a2b91e5e1251ff98411ee5371500a111a0fd317a70e588eb300f9" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -954,7 +884,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ "num-traits", - "rand 0.8.7", + "rand 0.8.5", ] [[package]] @@ -964,7 +894,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.7", + "rand 0.8.5", ] [[package]] @@ -974,17 +904,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" dependencies = [ "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "ark-std" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367c9c827ed431bff6868b7aa926e05b16eb46603cc8b6e768e4a5553fa1d155" -dependencies = [ - "num-traits", - "rand 0.8.7", + "rand 0.8.5", ] [[package]] @@ -995,22 +915,22 @@ checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" -version = "0.7.8" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ "serde", ] [[package]] name = "async-trait" -version = "0.1.92" +version = "0.1.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] @@ -1037,89 +957,14 @@ checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "autocfg" -version = "1.5.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" - -[[package]] -name = "aws-lc-rs" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce2b2dcc879c3bae0d371e77c99f2238400ef24ec001394befa67b6e543add9e" -dependencies = [ - "aws-lc-sys", - "zeroize", -] - -[[package]] -name = "aws-lc-sys" -version = "0.44.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f09fae7be8bb3174e05c6afdb34199e6dc0c7c04ba9fa237b1967adfbde27483" -dependencies = [ - "cc", - "cmake", - "dunce", - "fs_extra", - "pkg-config", -] - -[[package]] -name = "axum" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" -dependencies = [ - "axum-core", - "bytes", - "form_urlencoded", - "futures-util", - "http", - "http-body", - "http-body-util", - "hyper", - "hyper-util", - "itoa", - "matchit", - "memchr", - "mime", - "percent-encoding", - "pin-project-lite", - "serde_core", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", - "sync_wrapper", - "tokio", - "tower", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "axum-core" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" -dependencies = [ - "bytes", - "futures-core", - "http", - "http-body", - "http-body-util", - "mime", - "pin-project-lite", - "sync_wrapper", - "tower-layer", - "tower-service", - "tracing", -] +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "base16ct" @@ -1148,34 +993,22 @@ dependencies = [ "serde", ] -[[package]] -name = "bincode" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740" -dependencies = [ - "serde", - "unty", -] - [[package]] name = "bindgen" version = "0.72.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "cexpr", "clang-sys", "itertools 0.13.0", - "log", - "prettyplease", "proc-macro2", "quote", "regex", "rustc-hash", - "shlex 1.3.0", - "syn 2.0.119", + "shlex", + "syn 2.0.117", ] [[package]] @@ -1193,40 +1026,20 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" -[[package]] -name = "bitcoin-consensus-encoding" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "207311705279250ba465076a1bac4b1ac982855fff73fc5f67e22158ac58cdc9" -dependencies = [ - "bitcoin-internals", - "hex-conservative 1.2.0", - "serde", -] - -[[package]] -name = "bitcoin-internals" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d573f4cf32996a8dce612e4348cece65a241f1882ed594047c9ba348e8869fa5" - [[package]] name = "bitcoin-io" -version = "0.1.101" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb5de036369d1ac59d3c1819ebc4d850f89466f5401c571a285b6ed564a4cb78" -dependencies = [ - "bitcoin-consensus-encoding", -] +checksum = "2dee39a0ee5b4095224a0cfc6bf4cc1baf0f9624b96b367e53b66d974e51d953" [[package]] name = "bitcoin_hashes" -version = "0.14.101" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca4c7abb40c8817d77403c880988cfd484f23ab2365726afb2f798363e2c4a2" +checksum = "26ec84b80c482df901772e931a9a681e26a1b9ee2302edeff23cb30328745c8b" dependencies = [ "bitcoin-io", - "hex-conservative 0.2.2", + "hex-conservative", ] [[package]] @@ -1237,18 +1050,18 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.13.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" +checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" dependencies = [ "serde_core", ] [[package]] name = "bitvec" -version = "1.1.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", @@ -1266,20 +1079,11 @@ dependencies = [ "generic-array", ] -[[package]] -name = "block-buffer" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" -dependencies = [ - "hybrid-array", -] - [[package]] name = "blst" -version = "0.3.17" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20659f9bbee16cbbd2f7393e40ab6309f5a98f76a2eb57a995ec508b72387fe" +checksum = "dcdb4c7013139a150f9fc55d123186dbfaba0d912817466282c73ac49e71fb45" dependencies = [ "cc", "glob", @@ -1289,9 +1093,9 @@ dependencies = [ [[package]] name = "borsh" -version = "1.8.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88b7ea17d208c4193f2c1e6de3c35fe71f98c96982d5ced308bdcc749ff6e1f" +checksum = "cfd1e3f8955a5d7de9fab72fc8373fade9fb8a703968cb200ae3dc6cf08e185a" dependencies = [ "borsh-derive", "bytes", @@ -1300,40 +1104,31 @@ dependencies = [ [[package]] name = "borsh-derive" -version = "1.8.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8f347189c62a579b8cd5f80714efa178f52e461dc2e6d701d264f5ff22e566c" +checksum = "bfcfdc083699101d5a7965e49925975f2f55060f94f9a05e7187be95d530ca59" dependencies = [ "once_cell", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "boyer-moore-magiclen" -version = "0.2.24" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f0fdabfbc8017645223fd529c6077df2c491277e44e88ed8afd5afe54e715a" +checksum = "7441b4796eb8a7107d4cd99d829810be75f5573e1081c37faa0e8094169ea0d6" dependencies = [ "debug-helper", ] -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - [[package]] name = "bumpalo" -version = "3.20.3" +version = "3.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" [[package]] name = "byte-slice-cast" @@ -1343,9 +1138,9 @@ checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" [[package]] name = "bytecheck" -version = "0.8.3" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26333eeac754f0ad8a6bcd0eb0ac012156302e4e16b852b72ee399aea4f12c29" +checksum = "0caa33a2c0edca0419d15ac723dff03f1956f7978329b1e3b5fdaaaed9d3ca8b" dependencies = [ "bytecheck_derive", "ptr_meta", @@ -1355,20 +1150,20 @@ dependencies = [ [[package]] name = "bytecheck_derive" -version = "0.8.3" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46d07918caa9eeaaf06b7873925c53a61daac173539b4f7715090745e44e4e69" +checksum = "89385e82b5d1821d2219e0b095efa2cc1f246cbf99080f3be46a1a85c0d392d9" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] name = "bytemuck" -version = "1.25.2" +version = "1.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" [[package]] name = "byteorder" @@ -1378,9 +1173,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.12.1" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" dependencies = [ "serde", ] @@ -1397,9 +1192,9 @@ dependencies = [ [[package]] name = "c-kzg" -version = "2.1.8" +version = "2.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d04308254695569fdb9bfe3bacc1c91837a670d0806605eb82d63748fbd3a6" +checksum = "6648ed1e4ea8e8a1a4a2c78e1cda29a3fd500bc622899c340d8525ea9a76b24a" dependencies = [ "arbitrary", "blst", @@ -1413,14 +1208,14 @@ dependencies = [ [[package]] name = "cc" -version = "1.4.2" +version = "1.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d262e149917187838d5b42777c8253bcb64500067342904e7d429499a6f277e" +checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" dependencies = [ "find-msvc-tools", "jobserver", "libc", - "shlex 2.0.1", + "shlex", ] [[package]] @@ -1440,40 +1235,29 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" -version = "0.2.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" - -[[package]] -name = "chacha20" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", - "rand_core 0.10.1", -] +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.45" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" dependencies = [ "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-link", + "windows-link 0.2.1", ] [[package]] name = "clang-sys" -version = "1.9.1" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -1482,9 +1266,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.6.6" +version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca" +checksum = "b193af5b67834b676abd72466a96c1024e6a6ad978a1f484bd90b85c94041351" dependencies = [ "clap_builder", "clap_derive", @@ -1492,9 +1276,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.6.6" +version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889" +checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" dependencies = [ "anstream", "anstyle", @@ -1504,14 +1288,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.6.4" +version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061" +checksum = "1110bd8a634a1ab8cb04345d8d878267d57c3cf1b38d91b71af6686408bbca6a" dependencies = [ "heck", "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] @@ -1520,39 +1304,20 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" -[[package]] -name = "cmake" -version = "0.1.58" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" -dependencies = [ - "cc", -] - [[package]] name = "colorchoice" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" -[[package]] -name = "combine" -version = "4.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" -dependencies = [ - "bytes", - "memchr", -] - [[package]] name = "const-hex" -version = "1.19.1" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e2a781ebdf4467d1428dc4593067825fb646f6871475098d8577421af73558" +checksum = "531185e432bb31db1ecda541e9e7ab21468d4d844ad7505e0546a49b4945d49b" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures", "proptest", "serde_core", ] @@ -1565,12 +1330,11 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const_format" -version = "0.2.36" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4481a617ad9a412be3b97c5d403fef8ed023103368908b9c50af598ff467cc1e" +checksum = "7faa7469a93a566e9ccc1c73fe783b4a65c274c5ace346038dca9c39fe0030ad" dependencies = [ "const_format_proc_macros", - "konst", ] [[package]] @@ -1593,16 +1357,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "core-foundation" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -1618,15 +1372,6 @@ dependencies = [ "libc", ] -[[package]] -name = "cpufeatures" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" -dependencies = [ - "libc", -] - [[package]] name = "crc" version = "3.4.0" @@ -1638,18 +1383,9 @@ dependencies = [ [[package]] name = "crc-catalog" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" - -[[package]] -name = "crc32fast" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" -dependencies = [ - "cfg-if", -] +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" [[package]] name = "critical-section" @@ -1659,18 +1395,18 @@ checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" [[package]] name = "crossbeam-channel" -version = "0.5.16" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-deque" -version = "0.8.7" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -1678,27 +1414,27 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.20" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-queue" -version = "0.3.13" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "803d13fb3b09d88be9f4dbc29062c66b19bf7170867ceb746d2a8689bf6c7a26" +checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.22" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" @@ -1729,12 +1465,13 @@ dependencies = [ ] [[package]] -name = "crypto-common" -version = "0.2.2" +name = "darling" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" dependencies = [ - "hybrid-array", + "darling_core 0.21.3", + "darling_macro 0.21.3", ] [[package]] @@ -1743,8 +1480,23 @@ version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.23.0", + "darling_macro 0.23.0", +] + +[[package]] +name = "darling_core" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "serde", + "strsim", + "syn 2.0.117", ] [[package]] @@ -1756,9 +1508,19 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "serde", "strsim", - "syn 2.0.119", + "syn 2.0.117", +] + +[[package]] +name = "darling_macro" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +dependencies = [ + "darling_core 0.21.3", + "quote", + "syn 2.0.117", ] [[package]] @@ -1767,16 +1529,16 @@ version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" dependencies = [ - "darling_core", + "darling_core 0.23.0", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "dashmap" -version = "6.2.1" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" dependencies = [ "arbitrary", "cfg-if", @@ -1790,40 +1552,9 @@ dependencies = [ [[package]] name = "debug-helper" -version = "0.3.14" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80a4af69c60438a1a82af89d362f4729fd38db7b73f305a237636fad31ceb2bf" - -[[package]] -name = "defmt" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" -dependencies = [ - "bitflags 1.3.2", - "defmt-macros", -] - -[[package]] -name = "defmt-macros" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" -dependencies = [ - "defmt-parser", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "defmt-parser" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" -dependencies = [ - "thiserror", -] +checksum = "f578e8e2c440e7297e008bb5486a3a8a194775224bbc23729b0dbdfaeebf162e" [[package]] name = "der" @@ -1841,6 +1572,7 @@ version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" dependencies = [ + "powerfmt", "serde_core", ] @@ -1863,7 +1595,7 @@ checksum = "d08b3a0bcc0d079199cd476b2cae8435016ec11d1c0986c6901c5ac223041534" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -1874,7 +1606,7 @@ checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -1896,7 +1628,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.119", + "syn 2.0.117", "unicode-xid", ] @@ -1915,31 +1647,21 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer 0.10.4", + "block-buffer", "const-oid", - "crypto-common 0.1.6", + "crypto-common", "subtle", ] -[[package]] -name = "digest" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" -dependencies = [ - "block-buffer 0.12.1", - "crypto-common 0.2.2", -] - [[package]] name = "displaydoc" -version = "0.2.7" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] @@ -1978,7 +1700,7 @@ dependencies = [ "enum-ordinalize", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -2018,19 +1740,13 @@ dependencies = [ [[package]] name = "either" -version = "1.17.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" dependencies = [ "serde", ] -[[package]] -name = "elf" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4445909572dbd556c457c849c4ca58623d84b27c8fff1e74b0b4227d8b90d17b" - [[package]] name = "elliptic-curve" version = "0.13.8" @@ -2053,22 +1769,22 @@ dependencies = [ [[package]] name = "enum-ordinalize" -version = "4.4.2" +version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89dd01549b09589510cf0647475075d12071456586d70f5c75c98ae2a5537677" +checksum = "4a1091a7bb1f8f2c4b28f1fe2cef4980ca2d410a3d727d67ecc3178c9b0800f0" dependencies = [ "enum-ordinalize-derive", ] [[package]] name = "enum-ordinalize-derive" -version = "4.4.2" +version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a65863d15a4ce2888bd2f0f543cc963d3879c3a022c8ee43f6141d479a3ac815" +checksum = "8ca9601fb2d62598ee17836250842873a413586e5d7ed88b356e38ddbb0ec631" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] @@ -2077,84 +1793,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" -[[package]] -name = "ere-codec" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" - -[[package]] -name = "ere-compiler-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "serde", -] - -[[package]] -name = "ere-platform-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" - -[[package]] -name = "ere-prover-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "anyhow", - "auto_impl", - "bincode 2.0.1", - "elf", - "ere-codec", - "ere-compiler-core", - "ere-verifier-core", - "flate2", - "prost", - "rustc-demangle", - "serde", - "strum", - "thiserror", -] - -[[package]] -name = "ere-server-api" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "prost", - "serde", - "twirp", -] - -[[package]] -name = "ere-server-client" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "ere-prover-core", - "ere-server-api", - "prost", - "thiserror", - "twirp", -] - -[[package]] -name = "ere-util-tokio" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "tokio", -] - -[[package]] -name = "ere-verifier-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "auto_impl", - "ere-codec", - "serde", -] - [[package]] name = "errno" version = "0.3.14" @@ -2162,7 +1800,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -2177,9 +1815,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.5.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" [[package]] name = "fastrlp" @@ -2213,31 +1851,11 @@ dependencies = [ "subtle", ] -[[package]] -name = "filetime" -version = "0.2.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759" -dependencies = [ - "cfg-if", - "libc", -] - [[package]] name = "find-msvc-tools" -version = "0.1.10" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b73573e6edcd2af0cdf47bd6cb58f0b3839491263c314eaad1ccf24430e1de" - -[[package]] -name = "fixed-cache" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe63500644ef0269fe6b744e7e5dc5c20b5eebf3d881bc2be53f194636f6583" -dependencies = [ - "equivalent", - "rapidhash", -] +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" [[package]] name = "fixed-hash" @@ -2246,7 +1864,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.7", + "rand 0.8.5", "rustc-hex", "static_assertions", ] @@ -2269,17 +1887,7 @@ checksum = "6dc7a9cb3326bafb80642c5ce99b39a2c0702d4bfa8ee8a3e773791a6cbe2407" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", -] - -[[package]] -name = "flate2" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" -dependencies = [ - "crc32fast", - "miniz_oxide", + "syn 2.0.117", ] [[package]] @@ -2309,12 +1917,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "fs_extra" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" - [[package]] name = "fsevent-sys" version = "4.1.0" @@ -2332,9 +1934,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88cf1f829d945f548cf8fec32c61b1f202b6d93b45848602fc02af4b12ad218" +checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" dependencies = [ "futures-channel", "futures-core", @@ -2347,9 +1949,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "262590f4fe6afeb0bc83be1daa64e52657fe185690a958af7f3ad0e92085c5ae" +checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" dependencies = [ "futures-core", "futures-sink", @@ -2357,15 +1959,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cd50c473c80f6d7c3670a752354b8e569b1a7cbfdc0419ec88e5edad85e0dc7" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" [[package]] name = "futures-executor" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6754879cc9f2c66f88c6e5c35344bb0bdb0708b0352b1201815667c7eabc7458" +checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" dependencies = [ "futures-core", "futures-task", @@ -2374,38 +1976,38 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4577ecaa3c4f96589d473f679a71b596316f6641bc350038b962a5daf0085d7a" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" [[package]] name = "futures-macro" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d6d3cde68c518367be28956066ddfef33813991b77a55005a69dae04bf3b10b" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "futures-sink" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34418ac499d6305c2fb5ad0ed2f6ac998c5f8ca209b4510f7f94242c647e307" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" [[package]] name = "futures-task" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b231ed28831efb4a61a08580c4bc233ec56bc009f4cd8f52da2c3cb97df0c109" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" [[package]] name = "futures-util" -version = "0.3.33" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77a90a256fce34da66415271e30f94ee91c57b04b8a2c042d9cf3220179deaa" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" dependencies = [ "futures-channel", "futures-core", @@ -2442,10 +2044,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi", - "wasm-bindgen", ] [[package]] @@ -2462,23 +2062,22 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.4.3" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" dependencies = [ "cfg-if", - "js-sys", "libc", "r-efi 6.0.0", - "rand_core 0.10.1", - "wasm-bindgen", + "wasip2", + "wasip3", ] [[package]] name = "glob" -version = "0.3.4" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "group" @@ -2493,9 +2092,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.15" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155" +checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54" dependencies = [ "atomic-waker", "bytes", @@ -2530,16 +2129,31 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.17.1" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "allocator-api2", + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ "foldhash 0.2.0", "serde", "serde_core", ] +[[package]] +name = "hashbrown" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" + [[package]] name = "heck" version = "0.5.0" @@ -2567,15 +2181,6 @@ dependencies = [ "arrayvec", ] -[[package]] -name = "hex-conservative" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35431185f361ccf3ffc58254628af5f1f5d5f28531da2e02e5d6c82bbc282a10" -dependencies = [ - "arrayvec", -] - [[package]] name = "hmac" version = "0.12.1" @@ -2587,9 +2192,9 @@ dependencies = [ [[package]] name = "http" -version = "1.5.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" dependencies = [ "bytes", "itoa", @@ -2597,9 +2202,9 @@ dependencies = [ [[package]] name = "http-body" -version = "1.1.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", "http", @@ -2607,9 +2212,9 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9f41fd6a08e4d4ec69df65976da761afd5ad5e58a9d4acb46bd1c953a9e3ff2" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", "futures-core", @@ -2624,26 +2229,11 @@ version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" -[[package]] -name = "httpdate" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[package]] -name = "hybrid-array" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b" -dependencies = [ - "typenum", -] - [[package]] name = "hyper" -version = "1.11.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d22053281f852e11534f5198498373cbb59295120a20771d90f7ed1897490a72" +checksum = "6299f016b246a94207e63da54dbe807655bf9e00044f73ded42c3ac5305fbcca" dependencies = [ "atomic-waker", "bytes", @@ -2653,7 +2243,6 @@ dependencies = [ "http", "http-body", "httparse", - "httpdate", "itoa", "pin-project-lite", "smallvec", @@ -2661,22 +2250,6 @@ dependencies = [ "want", ] -[[package]] -name = "hyper-rustls" -version = "0.27.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f" -dependencies = [ - "http", - "hyper", - "hyper-util", - "rustls", - "tokio", - "tokio-rustls", - "tower-service", - "webpki-roots", -] - [[package]] name = "hyper-timeout" version = "0.5.2" @@ -2725,7 +2298,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core", + "windows-core 0.62.2", ] [[package]] @@ -2819,6 +2392,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + [[package]] name = "ident_case" version = "1.0.1" @@ -2838,9 +2417,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.2" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -2863,7 +2442,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -2891,36 +2470,46 @@ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "arbitrary", "equivalent", - "hashbrown 0.17.1", + "hashbrown 0.17.0", "serde", "serde_core", ] [[package]] name = "inotify" -version = "0.11.4" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "153be1941a183ec9ccd095ddbe17a8b8d435ef6c76e9e02451b933c3999af2c8" +checksum = "bd5b3eaf1a28b758ac0faa5a4254e8ab2705605496f1b1f3fbbc3988ad73d199" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "inotify-sys", "libc", ] [[package]] name = "inotify-sys" -version = "0.1.8" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c033f80b2c113cdf91ab7a33faa9cbc014726dcad99880c8609af2a370edf37d" +checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb" dependencies = [ "libc", ] [[package]] name = "ipnet" -version = "2.12.1" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a756c3fac73139e83f14c2d742155dd2b78d3ee56597b419a0579b7bdd6dd78" +checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" + +[[package]] +name = "iri-string" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25e659a4bb38e810ebc252e53b5814ff908a8c58c2a9ce2fae1bbec24cbf4e20" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" @@ -2961,126 +2550,25 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" -[[package]] -name = "jiff" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" -dependencies = [ - "defmt", - "jiff-core", - "jiff-static", - "jiff-tzdb-platform", - "log", - "portable-atomic", - "portable-atomic-util", - "serde_core", - "windows-link", -] - -[[package]] -name = "jiff-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -dependencies = [ - "defmt", -] - -[[package]] -name = "jiff-static" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204" -dependencies = [ - "jiff-core", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "jiff-tzdb" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e" - -[[package]] -name = "jiff-tzdb-platform" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" -dependencies = [ - "jiff-tzdb", -] - -[[package]] -name = "jni" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" -dependencies = [ - "cfg-if", - "combine", - "jni-macros", - "jni-sys", - "log", - "simd_cesu8", - "thiserror", - "walkdir", - "windows-link", -] - -[[package]] -name = "jni-macros" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" -dependencies = [ - "proc-macro2", - "quote", - "rustc_version 0.4.1", - "simd_cesu8", - "syn 2.0.119", -] - -[[package]] -name = "jni-sys" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" -dependencies = [ - "jni-sys-macros", -] - -[[package]] -name = "jni-sys-macros" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" -dependencies = [ - "quote", - "syn 2.0.119", -] - [[package]] name = "jobserver" -version = "0.1.35" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ - "getrandom 0.4.3", + "getrandom 0.3.4", "libc", ] [[package]] name = "js-sys" -version = "0.3.104" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" dependencies = [ "cfg-if", "futures-util", + "once_cell", "wasm-bindgen", ] @@ -3095,49 +2583,33 @@ dependencies = [ "elliptic-curve", "once_cell", "serdect", - "sha2 0.10.9", + "sha2", ] [[package]] name = "keccak" -version = "0.2.1" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffd9697dc4a9a62e2da93389f34400b77a28f0287711263cabb203b3ccb9c0e4" +checksum = "cb26cec98cce3a3d96cbb7bced3c4b16e3d13f27ec56dbd62cbc8f39cfb9d653" dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", + "cpufeatures", ] [[package]] name = "keccak-asm" -version = "0.1.8" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5dc2c0d691cbf7595cde551ced329cca99c2387c2cbc97754c5d0cd045d3ee" +checksum = "fa468878266ad91431012b3e5ef1bf9b170eab22883503a318d46857afa4579a" dependencies = [ "digest 0.10.7", "sha3-asm", ] -[[package]] -name = "konst" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128133ed7824fcd73d6e7b17957c5eb7bacb885649bd8c69708b2331a10bcefb" -dependencies = [ - "konst_macro_rules", -] - -[[package]] -name = "konst_macro_rules" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37" - [[package]] name = "kqueue" -version = "1.2.1" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d763e5b24120b4ddf50de6c92308156765aabfbbccebf401da7cff2d70a41ea" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -3145,11 +2617,11 @@ dependencies = [ [[package]] name = "kqueue-sys" -version = "1.1.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07293a4e297ac234359b510362495713f75ea345d5307140414f20c69ffeb087" +checksum = "ed9625ffda8729b85e45cf04090035ac368927b8cebc34898e7c120f52e4838b" dependencies = [ - "bitflags 2.13.1", + "bitflags 1.3.2", "libc", ] @@ -3160,10 +2632,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] -name = "libc" -version = "0.2.189" +name = "leb128fmt" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + +[[package]] +name = "libc" +version = "0.2.185" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ff2c0fe9bc6cb6b14a0592c2ff4fa9ceb83eea9db979b0487cd054946a2b8f" [[package]] name = "libloading" @@ -3172,7 +2650,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" dependencies = [ "cfg-if", - "windows-link", + "windows-link 0.2.1", ] [[package]] @@ -3196,52 +2674,11 @@ dependencies = [ "zstd-sys", ] -[[package]] -name = "libssz" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bdd6d63ed811ae164966de20810be780e07de784a4834ccfe6be90480c369e" -dependencies = [ - "smallvec", -] - -[[package]] -name = "libssz-derive" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee1b9ac9200429f7e9830492765445989ea61c3fb9028ad5a96e1dd5f5e913" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "libssz-merkle" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863eca32d1a43e5ec41106a515552efa8307768d37c68d26b7f21ff13cfee1a7" -dependencies = [ - "libssz", - "sha2 0.10.9", -] - -[[package]] -name = "libssz-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4231ac301726840a3fe111f11bd4619d3c97ed155cb94c88dbf92b70e04e017" -dependencies = [ - "libssz", - "libssz-merkle", - "smallvec", -] - [[package]] name = "libz-sys" -version = "1.1.29" +version = "1.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85bc9657773828b90eeb625adff10eeac83cc21bbfd8e23a03eaa8a33c9e28d9" +checksum = "fc3a226e576f50782b3305c5ccf458698f92798987f551c6a02efe8276721e22" dependencies = [ "cc", "pkg-config", @@ -3271,15 +2708,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.33" +version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" - -[[package]] -name = "lru-slab" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "lz4-sys" @@ -3293,9 +2724,9 @@ dependencies = [ [[package]] name = "lz4_flex" -version = "0.12.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90071f8077f8e40adfc4b7fe9cd495ce316263f19e75c2211eeff3fdf475a3d9" +checksum = "98c23545df7ecf1b16c303910a69b079e8e251d60f7dd2cc9b4177f2afaf1746" [[package]] name = "mach2" @@ -3308,13 +2739,13 @@ dependencies = [ [[package]] name = "macro-string" -version = "0.2.0" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a9dbbfc75d2688ed057456ce8a3ee3f48d12eec09229f560f3643b9f275653" +checksum = "1b27834086c65ec3f9387b096d66e99f221cf081c2b738042aa252bcd41204e3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -3326,35 +2757,29 @@ dependencies = [ "regex-automata", ] -[[package]] -name = "matchit" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" - [[package]] name = "memchr" -version = "2.8.3" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "memmap2" -version = "0.9.11" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0" +checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3" dependencies = [ "libc", ] [[package]] name = "metrics" -version = "0.24.6" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89550ee9f79e88fef3119de263694973a8adb26c21d75322164fb8c493039fe2" +checksum = "5d5312e9ba3771cfa961b585728215e3d972c950a3eed9252aa093d6301277e8" dependencies = [ + "ahash", "portable-atomic", - "rapidhash", ] [[package]] @@ -3365,36 +2790,20 @@ checksum = "161ab904c2c62e7bda0f7562bf22f96440ca35ff79e66c800cbac298f2f4f5ec" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "minimal-lexical" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "miniz_oxide" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" -dependencies = [ - "adler2", - "simd-adler32", -] - [[package]] name = "mio" -version = "1.2.2" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427" +checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" dependencies = [ "libc", "log", @@ -3420,7 +2829,7 @@ checksum = "59b43b4fd69e3437618106f7754f34021b831a514f9e1a98ae863cabcd8d8dad" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -3440,7 +2849,7 @@ checksum = "4568f25ccbd45ab5d5603dc34318c1ec56b117531781260002151b8530a9f931" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -3453,22 +2862,13 @@ dependencies = [ "minimal-lexical", ] -[[package]] -name = "nonmax" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51" -dependencies = [ - "serde", -] - [[package]] name = "notify" version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d3d07927151ff8575b7087f245456e549fea62edf0ec4e565a5ee50c8402bc3" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "fsevent-sys", "inotify", "kqueue", @@ -3486,7 +2886,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42b8cfee0e339a0337359f3c88165702ac6e600dc01c0cc9579a92d62b08477a" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", ] [[package]] @@ -3504,7 +2904,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -3523,9 +2923,9 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.8" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ "num-integer", "num-traits", @@ -3542,9 +2942,9 @@ dependencies = [ [[package]] name = "num-conv" -version = "0.2.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" +checksum = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967" [[package]] name = "num-integer" @@ -3557,10 +2957,11 @@ dependencies = [ [[package]] name = "num-iter" -version = "0.1.46" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" dependencies = [ + "autocfg", "num-integer", "num-traits", ] @@ -3612,9 +3013,21 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" dependencies = [ + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", +] + +[[package]] +name = "nybbles" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8983bb634df7248924ee0c4c3a749609b5abcb082c28fffe3254b3eb3602b307" +dependencies = [ + "const-hex", + "serde", + "smallvec", ] [[package]] @@ -3638,7 +3051,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", ] [[package]] @@ -3668,16 +3081,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] -name = "openssl-probe" -version = "0.2.1" +name = "op-alloy-consensus" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" +checksum = "736381a95471d23e267263cfcee9e1d96d30b9754a94a2819148f83379de8a86" +dependencies = [ + "alloy-consensus", + "alloy-eips", + "alloy-primitives", + "alloy-rlp", + "alloy-serde", + "arbitrary", + "derive_more", + "serde", + "thiserror", +] [[package]] name = "opentelemetry" -version = "0.32.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0142c63252a9e054e68a4c61a5778f7b14f576274d593f8ce883d191a099682" +checksum = "b84bcd6ae87133e903af7ef497404dda70c60d0ea14895fc8a5e6722754fc2a0" dependencies = [ "futures-core", "futures-sink", @@ -3689,22 +3113,22 @@ dependencies = [ [[package]] name = "opentelemetry-http" -version = "0.32.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5683015d09e2df236ef005b17f6f196f0d5f6313c4fa43a7b6a53b52776e4331" +checksum = "d7a6d09a73194e6b66df7c8f1b680f156d916a1a942abf2de06823dd02b7855d" dependencies = [ "async-trait", "bytes", "http", "opentelemetry", - "reqwest 0.13.4", + "reqwest", ] [[package]] name = "opentelemetry-otlp" -version = "0.32.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9966929966d17620d7c316c643ba62631826e10021409357772d5eea84f62c35" +checksum = "1f69cd6acbb9af919df949cd1ec9e5e7fdc2ef15d234b6b795aaa525cc02f71f" dependencies = [ "http", "opentelemetry", @@ -3712,18 +3136,18 @@ dependencies = [ "opentelemetry-proto", "opentelemetry_sdk", "prost", - "reqwest 0.13.4", + "reqwest", "thiserror", "tokio", "tonic", - "tonic-types", + "tracing", ] [[package]] name = "opentelemetry-proto" -version = "0.32.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56d658ba1faf63f7b9c492cfbe6e0ec365440a16132d3270c1065f7b33f1b638" +checksum = "a7175df06de5eaee9909d4805a3d07e28bb752c34cab57fa9cff549da596b30f" dependencies = [ "opentelemetry", "opentelemetry_sdk", @@ -3734,23 +3158,22 @@ dependencies = [ [[package]] name = "opentelemetry-semantic-conventions" -version = "0.32.1" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c913ac17a6c451661ee255f4625d143e51647ae78ebd969b75e41c4442f4fe47" +checksum = "e62e29dfe041afb8ed2a6c9737ab57db4907285d999ef8ad3a59092a36bdc846" [[package]] name = "opentelemetry_sdk" -version = "0.32.1" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b59f80e1ac4d5ff7a2db8fb6c80badb7f0f3f858211fba08dd9aaec750894f9" +checksum = "e14ae4f5991976fd48df6d843de219ca6d31b01daaab2dad5af2badeded372bd" dependencies = [ "futures-channel", "futures-executor", "futures-util", "opentelemetry", "percent-encoding", - "portable-atomic", - "rand 0.9.5", + "rand 0.9.4", "thiserror", ] @@ -3763,7 +3186,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "primeorder", - "sha2 0.10.9", + "sha2", ] [[package]] @@ -3782,6 +3205,7 @@ version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" dependencies = [ + "arbitrary", "arrayvec", "bitvec", "byte-slice-cast", @@ -3802,7 +3226,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -3825,7 +3249,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-link", + "windows-link 0.2.1", ] [[package]] @@ -3842,9 +3266,9 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.8.8" +version = "2.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7df728be843c7070fab6ab7c328c4e9e9d78e23bf749c0669c86ee7ebfa050a2" +checksum = "e0848c601009d37dfa3430c4666e147e49cdcf1b92ecd3e63657d8a5f19da662" dependencies = [ "memchr", "ucd-trie", @@ -3852,9 +3276,9 @@ dependencies = [ [[package]] name = "phf" -version = "0.14.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" +checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf" dependencies = [ "phf_macros", "phf_shared", @@ -3863,9 +3287,9 @@ dependencies = [ [[package]] name = "phf_generator" -version = "0.14.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" +checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737" dependencies = [ "fastrand", "phf_shared", @@ -3873,44 +3297,44 @@ dependencies = [ [[package]] name = "phf_macros" -version = "0.14.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" +checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef" dependencies = [ "phf_generator", "phf_shared", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "phf_shared" -version = "0.14.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" +checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266" dependencies = [ "siphasher", ] [[package]] name = "pin-project" -version = "1.1.13" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.13" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -3946,18 +3370,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.15.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" - -[[package]] -name = "portable-atomic-util" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" -dependencies = [ - "portable-atomic", -] +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" [[package]] name = "potential_utf" @@ -3990,7 +3405,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -4023,32 +3438,32 @@ dependencies = [ ] [[package]] -name = "proc-macro-error-attr3" -version = "3.0.1" +name = "proc-macro-error-attr2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82366fd7d8b7a440d66d13418820c69df9b3908bcb1a0476d7f5ce5d12f5a04d" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" dependencies = [ "proc-macro2", "quote", ] [[package]] -name = "proc-macro-error3" -version = "3.0.1" +name = "proc-macro-error2" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b511283ea8a74b4b39447b128c5d00f03a356b7424554b13e298a5550100d9ac" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" dependencies = [ - "proc-macro-error-attr3", + "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "proc-macro2" -version = "1.0.107" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" dependencies = [ "unicode-ident", ] @@ -4061,9 +3476,9 @@ checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.13.1", + "bitflags 2.11.0", "num-traits", - "rand 0.9.5", + "rand 0.9.4", "rand_chacha 0.9.0", "rand_xorshift", "regex-syntax", @@ -4090,25 +3505,14 @@ checksum = "fb6dc647500e84a25a85b100e76c85b8ace114c209432dc174f20aac11d4ed6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", -] - -[[package]] -name = "proptest-derive" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c57924a81864dddafba92e1bf92f9bf82f97096c44489548a60e888e1547549b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "prost" -version = "0.14.4" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" +checksum = "d2ea70524a2f82d518bce41317d0fae74151505651af45faf1ffbd6fd33f0568" dependencies = [ "bytes", "prost-derive", @@ -4116,44 +3520,35 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.14.4" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" +checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 2.0.119", -] - -[[package]] -name = "prost-types" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f94967dc7688f3054c7fac87473ffae4cc4c3904800e2d9f5b857246d8963b0a" -dependencies = [ - "prost", + "syn 2.0.117", ] [[package]] name = "ptr_meta" -version = "0.3.2" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "743da816b98c921cdbe8628ef7381b76f25ecf4da599fc80aca90eae7ef70cc0" +checksum = "0b9a0cf95a1196af61d4f1cbdab967179516d9a4a4312af1f31948f8f6224a79" dependencies = [ "ptr_meta_derive", ] [[package]] name = "ptr_meta_derive" -version = "0.3.2" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c8d9ca532f185d5d4db7a7c9d51420b452168ea1c2b913953281bd6fe1fcbd0" +checksum = "7347867d0a7e1208d93b46767be83e2b8f978c3dad35f775ac8d8847551d6fe1" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] @@ -4177,68 +3572,11 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quinn" -version = "0.11.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c1a41e437b6bbd489372cd4971de128e85c855f56c57f283d20ff016cf7c0a8" -dependencies = [ - "bytes", - "cfg_aliases", - "pin-project-lite", - "quinn-proto", - "quinn-udp", - "rustc-hash", - "rustls", - "socket2", - "thiserror", - "tokio", - "tracing", - "web-time", -] - -[[package]] -name = "quinn-proto" -version = "0.11.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560" -dependencies = [ - "aws-lc-rs", - "bytes", - "getrandom 0.4.3", - "lru-slab", - "rand 0.10.2", - "rand_pcg", - "ring", - "rustc-hash", - "rustls", - "rustls-pki-types", - "slab", - "thiserror", - "tinyvec", - "tracing", - "web-time", -] - -[[package]] -name = "quinn-udp" -version = "0.5.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694" -dependencies = [ - "cfg_aliases", - "libc", - "once_cell", - "socket2", - "tracing", - "windows-sys 0.60.2", -] - [[package]] name = "quote" -version = "1.0.47" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" dependencies = [ "proc-macro2", ] @@ -4263,18 +3601,18 @@ checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" [[package]] name = "rancor" -version = "0.1.3" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b534442d0fcdb55d66f373d9cac6d33b6293a2335bc2136dbd06ce0e87d2572" +checksum = "a063ea72381527c2a0561da9c80000ef822bdd7c3241b1cc1b12100e3df081ee" dependencies = [ "ptr_meta", ] [[package]] name = "rand" -version = "0.8.7" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -4284,26 +3622,15 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.5" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.5", "serde", ] -[[package]] -name = "rand" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" -dependencies = [ - "chacha20", - "getrandom 0.4.3", - "rand_core 0.10.1", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -4343,21 +3670,6 @@ dependencies = [ "serde", ] -[[package]] -name = "rand_core" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" - -[[package]] -name = "rand_pcg" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" -dependencies = [ - "rand_core 0.10.1", -] - [[package]] name = "rand_xorshift" version = "0.4.0" @@ -4369,10 +3681,11 @@ dependencies = [ [[package]] name = "rapidhash" -version = "4.5.1" +version = "4.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5da7e78a036ce858e8d55b7e7dc8ba3a88b78350fd2155d3591bbd966b58589e" +checksum = "b5e48930979c155e2f33aa36ab3119b5ee81332beb6482199a8ecd6029b80b59" dependencies = [ + "rand 0.9.4", "rustversion", ] @@ -4382,7 +3695,7 @@ version = "11.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", ] [[package]] @@ -4411,34 +3724,34 @@ version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", ] [[package]] name = "ref-cast" -version = "1.0.26" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216e8f773d7923bcba9ceb86a86c93cabb3903a11872fc3f138c49630e50b96d" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.26" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9283685feec7d69af75fb0e858d5e7378f33fe4fc699383b2916ab9273e03c" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] name = "regex" -version = "1.13.1" +version = "1.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" dependencies = [ "aho-corasick", "memchr", @@ -4448,9 +3761,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.18" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" dependencies = [ "aho-corasick", "memchr", @@ -4459,15 +3772,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.11" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" [[package]] name = "rend" -version = "0.5.4" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "663ba70707f96e871406fe10d68128412e619b06d1d47cb91c3a4c6501176240" +checksum = "cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce33fa60f1d68a276e6" dependencies = [ "bytecheck", ] @@ -4487,59 +3800,16 @@ dependencies = [ "http-body", "http-body-util", "hyper", - "hyper-rustls", "hyper-util", "js-sys", "log", "percent-encoding", "pin-project-lite", - "quinn", - "rustls", - "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", "sync_wrapper", "tokio", - "tokio-rustls", - "tower", - "tower-http", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "webpki-roots", -] - -[[package]] -name = "reqwest" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3" -dependencies = [ - "base64", - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "http", - "http-body", - "http-body-util", - "hyper", - "hyper-rustls", - "hyper-util", - "js-sys", - "log", - "percent-encoding", - "pin-project-lite", - "quinn", - "rustls", - "rustls-pki-types", - "rustls-platform-verifier", - "sync_wrapper", - "tokio", - "tokio-rustls", "tower", "tower-http", "tower-service", @@ -4551,8 +3821,8 @@ dependencies = [ [[package]] name = "reth-chain-state" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -4563,7 +3833,7 @@ dependencies = [ "metrics", "parking_lot", "pin-project", - "rand 0.9.5", + "rand 0.9.4", "reth-chainspec", "reth-errors", "reth-ethereum-primitives", @@ -4572,8 +3842,8 @@ dependencies = [ "reth-primitives-traits", "reth-storage-api", "reth-trie", - "reth-trie-sparse", - "revm", + "revm-database", + "revm-state", "tokio", "tokio-stream", "tracing", @@ -4581,8 +3851,8 @@ dependencies = [ [[package]] name = "reth-chainspec" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-chains", "alloy-consensus", @@ -4590,7 +3860,7 @@ dependencies = [ "alloy-evm", "alloy-genesis", "alloy-primitives", - "alloy-trie", + "alloy-trie 0.9.5", "auto_impl", "derive_more", "reth-ethereum-forks", @@ -4601,19 +3871,18 @@ dependencies = [ [[package]] name = "reth-codecs" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34b0b409ecf930ed3850e92bd9b4d4f8a8c397eef23e8ba5b1a1a02682a94bd" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", "alloy-genesis", "alloy-primitives", - "alloy-trie", + "alloy-trie 0.9.5", "arbitrary", "bytes", "modular-bitfield", - "parity-scale-codec", + "op-alloy-consensus", "reth-codecs-derive", "reth-zstd-compressors", "serde", @@ -4622,22 +3891,20 @@ dependencies = [ [[package]] name = "reth-codecs-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcb49ab084e764e7d20f710e2c9daa439380d0fc33f8bfee8c372bfdbc1f437" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "reth-config" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "eyre", - "reth-network-peers", "reth-network-types", "reth-prune-types", "reth-stages-types", @@ -4647,8 +3914,8 @@ dependencies = [ [[package]] name = "reth-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eip7928", @@ -4661,8 +3928,8 @@ dependencies = [ [[package]] name = "reth-consensus-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -4674,22 +3941,21 @@ dependencies = [ [[package]] name = "reth-db" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", "derive_more", "eyre", - "libc", "metrics", "page_size", "parking_lot", + "quanta", "reth-db-api", "reth-fs-util", "reth-libmdbx", "reth-metrics", "reth-nippy-jar", - "reth-primitives-traits", "reth-static-file-types", "reth-storage-errors", "reth-tracing", @@ -4703,10 +3969,11 @@ dependencies = [ [[package]] name = "reth-db-api" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", + "alloy-genesis", "alloy-primitives", "arbitrary", "arrayvec", @@ -4714,6 +3981,7 @@ dependencies = [ "derive_more", "metrics", "modular-bitfield", + "parity-scale-codec", "proptest", "reth-codecs", "reth-db-models", @@ -4729,8 +3997,8 @@ dependencies = [ [[package]] name = "reth-db-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-genesis", @@ -4759,8 +4027,8 @@ dependencies = [ [[package]] name = "reth-db-models" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-eips", "alloy-primitives", @@ -4774,8 +4042,8 @@ dependencies = [ [[package]] name = "reth-engine-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -4787,12 +4055,10 @@ dependencies = [ "reth-errors", "reth-ethereum-primitives", "reth-evm", - "reth-execution-errors", "reth-execution-types", "reth-payload-builder-primitives", "reth-payload-primitives", "reth-primitives-traits", - "reth-storage-api", "reth-trie-common", "serde", "thiserror", @@ -4801,8 +4067,8 @@ dependencies = [ [[package]] name = "reth-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "reth-consensus", "reth-execution-errors", @@ -4812,8 +4078,8 @@ dependencies = [ [[package]] name = "reth-ethereum-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -4828,24 +4094,26 @@ dependencies = [ [[package]] name = "reth-ethereum-engine-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-eips", "alloy-primitives", + "alloy-rlp", "alloy-rpc-types-engine", "reth-engine-primitives", "reth-ethereum-primitives", "reth-payload-primitives", "reth-primitives-traits", "serde", + "sha2", "thiserror", ] [[package]] name = "reth-ethereum-forks" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-eip2124", "alloy-hardforks", @@ -4857,8 +4125,8 @@ dependencies = [ [[package]] name = "reth-ethereum-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -4871,8 +4139,8 @@ dependencies = [ [[package]] name = "reth-etl" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "rayon", "reth-db-api", @@ -4881,17 +4149,15 @@ dependencies = [ [[package]] name = "reth-evm" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", - "alloy-eip7928", "alloy-eips", "alloy-evm", "alloy-primitives", "auto_impl", "derive_more", - "fixed-cache", "futures-util", "rayon", "reth-execution-errors", @@ -4905,8 +4171,8 @@ dependencies = [ [[package]] name = "reth-evm-ethereum" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -4925,27 +4191,26 @@ dependencies = [ [[package]] name = "reth-execution-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-evm", "alloy-primitives", "alloy-rlp", - "nybbles", + "nybbles 0.4.8", "reth-storage-errors", "thiserror", ] [[package]] name = "reth-execution-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", "alloy-evm", "alloy-primitives", - "alloy-rlp", "derive_more", "reth-ethereum-primitives", "reth-primitives-traits", @@ -4957,8 +4222,8 @@ dependencies = [ [[package]] name = "reth-fs-util" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "serde", "serde_json", @@ -4967,10 +4232,10 @@ dependencies = [ [[package]] name = "reth-libmdbx" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "byteorder", "crossbeam-queue", "dashmap", @@ -4984,8 +4249,8 @@ dependencies = [ [[package]] name = "reth-mdbx-sys" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "bindgen", "cc", @@ -4993,18 +4258,17 @@ dependencies = [ [[package]] name = "reth-metrics" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ - "libc", "metrics", "metrics-derive", ] [[package]] name = "reth-net-banlist" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", "ipnet", @@ -5012,8 +4276,8 @@ dependencies = [ [[package]] name = "reth-network-peers" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -5025,8 +4289,8 @@ dependencies = [ [[package]] name = "reth-network-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-eip2124", "reth-net-banlist", @@ -5036,17 +4300,16 @@ dependencies = [ [[package]] name = "reth-nippy-jar" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "anyhow", - "bincode 1.3.3", + "bincode", "derive_more", "lz4_flex", "memmap2", "reth-fs-util", "serde", - "smallvec", "thiserror", "tracing", "zstd", @@ -5054,8 +4317,8 @@ dependencies = [ [[package]] name = "reth-node-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "reth-chainspec", "reth-db-api", @@ -5066,8 +4329,8 @@ dependencies = [ [[package]] name = "reth-payload-builder-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "pin-project", "reth-payload-primitives", @@ -5078,42 +4341,30 @@ dependencies = [ [[package]] name = "reth-payload-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", "alloy-primitives", - "alloy-rlp", "alloy-rpc-types-engine", "auto_impl", "either", + "reth-chain-state", "reth-chainspec", "reth-errors", "reth-execution-types", "reth-primitives-traits", "reth-trie-common", "serde", - "sha2 0.10.9", "thiserror", "tokio", ] -[[package]] -name = "reth-payload-validator" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-rpc-types-engine", - "reth-primitives-traits", -] - [[package]] name = "reth-primitives-traits" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9060738a07ca1b0d8ede3ce21d8187c57cc22ee9e2991b29cbbc663280f843cd" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", @@ -5121,14 +4372,16 @@ dependencies = [ "alloy-primitives", "alloy-rlp", "alloy-rpc-types-eth", - "alloy-trie", + "alloy-trie 0.9.5", "arbitrary", + "auto_impl", "byteorder", "bytes", "dashmap", "derive_more", "modular-bitfield", "once_cell", + "op-alloy-consensus", "proptest", "proptest-arbitrary-interop", "quanta", @@ -5139,23 +4392,22 @@ dependencies = [ "revm-state", "secp256k1 0.30.0", "serde", + "serde_with", "thiserror", ] [[package]] name = "reth-provider" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", - "alloy-eip7928", "alloy-eips", "alloy-genesis", "alloy-primitives", "alloy-rpc-types-engine", "eyre", "itertools 0.14.0", - "libc", "metrics", "notify", "parking_lot", @@ -5179,14 +4431,12 @@ dependencies = [ "reth-static-file-types", "reth-storage-api", "reth-storage-errors", - "reth-storage-overlay", "reth-tasks", - "reth-tokio-util", "reth-trie", "reth-trie-db", - "revm", + "revm-database", + "revm-state", "rocksdb", - "smallvec", "strum", "tokio", "tracing", @@ -5194,8 +4444,8 @@ dependencies = [ [[package]] name = "reth-prune-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", "arbitrary", @@ -5210,12 +4460,10 @@ dependencies = [ [[package]] name = "reth-revm" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", "reth-primitives-traits", "reth-storage-api", "reth-storage-errors", @@ -5225,8 +4473,8 @@ dependencies = [ [[package]] name = "reth-stages-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", "arbitrary", @@ -5239,8 +4487,8 @@ dependencies = [ [[package]] name = "reth-static-file-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", "derive_more", @@ -5253,11 +4501,10 @@ dependencies = [ [[package]] name = "reth-storage-api" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", - "alloy-eip7928", "alloy-eips", "alloy-primitives", "alloy-rpc-types-engine", @@ -5271,59 +4518,32 @@ dependencies = [ "reth-prune-types", "reth-stages-types", "reth-storage-errors", - "reth-tokio-util", "reth-trie-common", - "revm", + "revm-database", "serde_json", ] [[package]] name = "reth-storage-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-eips", "alloy-primitives", "alloy-rlp", "derive_more", - "reth-codecs", "reth-primitives-traits", "reth-prune-types", "reth-static-file-types", - "revm", + "revm-database-interface", + "revm-state", "thiserror", ] -[[package]] -name = "reth-storage-overlay" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "metrics", - "parking_lot", - "reth-chain-state", - "reth-db-api", - "reth-errors", - "reth-ethereum-primitives", - "reth-metrics", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-api", - "reth-storage-errors", - "reth-trie", - "reth-trie-common", - "reth-trie-db", - "revm", - "tracing", -] - [[package]] name = "reth-tasks" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "crossbeam-utils", "dashmap", @@ -5341,20 +4561,10 @@ dependencies = [ "tracing-futures", ] -[[package]] -name = "reth-tokio-util" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "tokio", - "tokio-stream", - "tracing", -] - [[package]] name = "reth-tracing" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "clap", "eyre", @@ -5362,19 +4572,17 @@ dependencies = [ "rolling-file", "tracing", "tracing-appender", - "tracing-chrome", "tracing-journald", "tracing-logfmt", "tracing-samply", - "tracing-subscriber", + "tracing-subscriber 0.3.23", ] [[package]] name = "reth-tracing-otlp" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ - "base64", "clap", "eyre", "opentelemetry", @@ -5383,20 +4591,20 @@ dependencies = [ "opentelemetry_sdk", "tracing", "tracing-opentelemetry", - "tracing-subscriber", + "tracing-subscriber 0.3.23", "url", ] [[package]] name = "reth-trie" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-trie", + "alloy-trie 0.9.5", "auto_impl", "itertools 0.14.0", "metrics", @@ -5408,48 +4616,51 @@ dependencies = [ "reth-storage-errors", "reth-trie-common", "reth-trie-sparse", - "revm", + "revm-database", "tracing", "triehash", ] [[package]] name = "reth-trie-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-consensus", "alloy-primitives", "alloy-rlp", "alloy-rpc-types-eth", "alloy-serde", - "alloy-trie", + "alloy-trie 0.9.5", "arbitrary", "arrayvec", "bytes", "derive_more", "hash-db", "itertools 0.14.0", - "nybbles", + "nybbles 0.4.8", "plain_hasher", "rayon", "reth-codecs", "reth-primitives-traits", - "revm", + "revm-database", "serde", "serde_with", - "thiserror", ] [[package]] name = "reth-trie-db" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", + "metrics", + "parking_lot", "reth-db-api", "reth-execution-errors", + "reth-metrics", "reth-primitives-traits", + "reth-stages-types", "reth-storage-api", "reth-storage-errors", "reth-trie", @@ -5459,36 +4670,36 @@ dependencies = [ [[package]] name = "reth-trie-sparse" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "alloy-primitives", - "alloy-trie", - "either", + "alloy-rlp", + "alloy-trie 0.9.5", + "auto_impl", "rayon", "reth-execution-errors", "reth-primitives-traits", "reth-trie-common", + "serde", + "serde_json", "slotmap", "smallvec", - "strum", "tracing", ] [[package]] name = "reth-zstd-compressors" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f1ebb37e81a596ce16e81bec6a0c9accbdb914cf19b9190eff69ed00395900" +version = "1.11.3" +source = "git+https://github.com/paradigmxyz/reth?branch=bal-devnet-3#354dd47ad1bf755616d991e97882e528e35bd54a" dependencies = [ "zstd", ] [[package]] name = "revm" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc210dfb3b45482a9f7c8806f737f7848fb7054b04235e6816480e515c1fe2d5" +version = "36.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "revm-bytecode", "revm-context", @@ -5505,9 +4716,8 @@ dependencies = [ [[package]] name = "revm-bytecode" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d38e16b72ec1c836ec8490562bfb21003165ea8bc496086bf345680a6e6c41" +version = "9.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "bitvec", "phf", @@ -5517,9 +4727,8 @@ dependencies = [ [[package]] name = "revm-context" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c16835bc2ead203219a18fcc84c2c71879ad6b890e8a71150cf7f10e4e355dc4" +version = "15.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "bitvec", "cfg-if", @@ -5534,9 +4743,8 @@ dependencies = [ [[package]] name = "revm-context-interface" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b4109bdceaca5ee6e27bf41f6b156f2b15892dc5bb47d3530bc4d3b3060077" +version = "16.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "alloy-eip2930", "alloy-eip7702", @@ -5550,13 +4758,10 @@ dependencies = [ [[package]] name = "revm-database" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d764afa9a1c9278c05d40461b07319d21ccb39c1bdf0e9dde7e5ea7d9be53d" +version = "12.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "alloy-eips", - "derive_more", - "either", "revm-bytecode", "revm-database-interface", "revm-primitives", @@ -5566,9 +4771,8 @@ dependencies = [ [[package]] name = "revm-database-interface" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2a27e4440c2ef4932afdaa28a1d1ac8601504c7030c1a387b5e307d07d864d1" +version = "10.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "auto_impl", "either", @@ -5580,9 +4784,8 @@ dependencies = [ [[package]] name = "revm-handler" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b8d988f896e22b19962658bc1afcd0989f727d48b2860a8bd7ceaecbf72ce34" +version = "17.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "auto_impl", "derive-where", @@ -5599,9 +4802,8 @@ dependencies = [ [[package]] name = "revm-inspector" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2584990403728b2e13fb5522510b61e4bb217c6a4c8f4d063447a6ddd7dd7cc" +version = "17.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "auto_impl", "either", @@ -5617,9 +4819,8 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "932f7fe05a2cdeb08195dd7e88a09a4da7c3660cdc6e62720839c77ba77f65aa" +version = "34.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "revm-bytecode", "revm-context-interface", @@ -5630,15 +4831,14 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac4dc0279f2a44770faa8c93d008df684440cf573c91b8e0e39d0d581abf7b3d" +version = "32.1.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "ark-bls12-381", "ark-bn254", "ark-ec", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", "arrayref", "aurora-engine-modexp", "blst", @@ -5650,29 +4850,27 @@ dependencies = [ "revm-primitives", "ripemd", "secp256k1 0.31.1", - "sha2 0.11.0", + "sha2", ] [[package]] name = "revm-primitives" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f4ba1a5757fe4398262290422c371556fcebf236f762f7ed7ff2c56768a63c" +version = "22.1.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "alloy-primitives", + "num_enum", "once_cell", "serde", ] [[package]] name = "revm-state" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd02082cf1baca01e8bc17456c45136bdc66632395a98db1c1a2afe4c6ea87f" +version = "10.0.0" +source = "git+https://github.com/bluealloy/revm?rev=30e1c40#30e1c404a00c4770695f02fa14593d0e2b434b23" dependencies = [ "alloy-eip7928", - "bitflags 2.13.1", - "nonmax", + "bitflags 2.11.0", "revm-bytecode", "revm-primitives", "serde", @@ -5688,38 +4886,24 @@ dependencies = [ "subtle", ] -[[package]] -name = "ring" -version = "0.17.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" -dependencies = [ - "cc", - "cfg-if", - "getrandom 0.2.17", - "libc", - "untrusted", - "windows-sys 0.52.0", -] - [[package]] name = "ripemd" -version = "0.2.0" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd4211456b4172d7e44261920c25acf07367c4f04bb5f5d54fc21b090d9b159" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" dependencies = [ - "digest 0.11.3", + "digest 0.10.7", ] [[package]] name = "rkyv" -version = "0.8.18" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9776093b7ca170454ab1406954f7b7d97a57c51dc6c0642957fb2ef25c2d399" +checksum = "1a30e631b7f4a03dee9056b8ef6982e8ba371dd5bedb74d3ec86df4499132c70" dependencies = [ "bytecheck", "bytes", - "hashbrown 0.17.1", + "hashbrown 0.16.1", "indexmap 2.14.0", "munge", "ptr_meta", @@ -5732,13 +4916,13 @@ dependencies = [ [[package]] name = "rkyv_derive" -version = "0.8.18" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c25ef604ac7dd839d44d64648952ea23c97866f124ff671b0ed2cf3ad9bb06e" +checksum = "8100bb34c0a1d0f907143db3149e6b4eea3c33b9ee8b189720168e818303986f" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] @@ -5753,9 +4937,9 @@ dependencies = [ [[package]] name = "roaring" -version = "0.11.4" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dedc5658c6ecb3bdb5ef5f3295bb9253f42dcf3fd1402c03f6b1f7659c3c4a9" +checksum = "8ba9ce64a8f45d7fc86358410bb1a82e8c987504c0d4900e9141d69a9f26c885" dependencies = [ "bytemuck", "byteorder", @@ -5782,16 +4966,15 @@ dependencies = [ [[package]] name = "ruint" -version = "1.20.0" +version = "1.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5e99bff0393163bb25029a6af25d3d8d202ba5b5438a74d1bd8789f5c822970" +checksum = "c141e807189ad38a07276942c6623032d3753c8859c146104ac2e4d68865945a" dependencies = [ "alloy-rlp", "arbitrary", "ark-ff 0.3.0", "ark-ff 0.4.2", "ark-ff 0.5.0", - "ark-ff 0.6.0", "bytes", "fastrlp 0.3.1", "fastrlp 0.4.0", @@ -5801,8 +4984,8 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand 0.8.7", - "rand 0.9.5", + "rand 0.8.5", + "rand 0.9.4", "rlp", "ruint-macro", "serde_core", @@ -5816,17 +4999,14 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" -[[package]] -name = "rustc-demangle" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb" - [[package]] name = "rustc-hash" -version = "2.1.3" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" +dependencies = [ + "rand 0.8.5", +] [[package]] name = "rustc-hex" @@ -5858,94 +5038,18 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.60.2", -] - -[[package]] -name = "rustls" -version = "0.23.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06" -dependencies = [ - "aws-lc-rs", - "once_cell", - "ring", - "rustls-pki-types", - "rustls-webpki", - "subtle", - "zeroize", -] - -[[package]] -name = "rustls-native-certs" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" -dependencies = [ - "openssl-probe", - "rustls-pki-types", - "schannel", - "security-framework", -] - -[[package]] -name = "rustls-pki-types" -version = "1.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" -dependencies = [ - "web-time", - "zeroize", -] - -[[package]] -name = "rustls-platform-verifier" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0" -dependencies = [ - "core-foundation", - "core-foundation-sys", - "jni", - "log", - "once_cell", - "rustls", - "rustls-native-certs", - "rustls-platform-verifier-android", - "rustls-webpki", - "security-framework", - "security-framework-sys", - "webpki-root-certs", - "windows-sys 0.60.2", -] - -[[package]] -name = "rustls-platform-verifier-android" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" - -[[package]] -name = "rustls-webpki" -version = "0.103.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" -dependencies = [ - "aws-lc-rs", - "ring", - "rustls-pki-types", - "untrusted", + "windows-sys 0.61.2", ] [[package]] name = "rustversion" -version = "1.0.23" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "rusty-fork" @@ -5974,15 +5078,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "schannel" -version = "0.1.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" -dependencies = [ - "windows-sys 0.61.2", -] - [[package]] name = "schemars" version = "0.9.0" @@ -5997,9 +5092,9 @@ dependencies = [ [[package]] name = "schemars" -version = "1.2.2" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "687274d293b6cdc6e73e0fee520bf2049650090d7164f87672d212a3c530cf4a" +checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc" dependencies = [ "dyn-clone", "ref-cast", @@ -6035,7 +5130,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ "bitcoin_hashes", - "rand 0.8.7", + "rand 0.8.5", "secp256k1-sys 0.10.1", "serde", ] @@ -6047,7 +5142,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c3c81b43dc2d8877c216a3fccf76677ee1ebccd429566d3e67447290d0c42b2" dependencies = [ "bitcoin_hashes", - "rand 0.9.5", + "rand 0.9.4", "secp256k1-sys 0.11.0", ] @@ -6069,29 +5164,6 @@ dependencies = [ "cc", ] -[[package]] -name = "security-framework" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" -dependencies = [ - "bitflags 2.13.1", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "semver" version = "0.11.0" @@ -6118,9 +5190,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.229" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ "serde_core", "serde_derive", @@ -6128,29 +5200,29 @@ dependencies = [ [[package]] name = "serde_core" -version = "1.0.229" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.229" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] name = "serde_json" -version = "1.0.151" +version = "1.0.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" dependencies = [ "indexmap 2.14.0", "itoa", @@ -6160,17 +5232,6 @@ dependencies = [ "zmij", ] -[[package]] -name = "serde_path_to_error" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" -dependencies = [ - "itoa", - "serde", - "serde_core", -] - [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -6185,19 +5246,17 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.22.0" +version = "3.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a" +checksum = "dd5414fad8e6907dbdd5bc441a50ae8d6e26151a03b1de04d89a5576de61d01f" dependencies = [ "base64", - "bs58", "chrono", "hex", "indexmap 1.9.3", "indexmap 2.14.0", - "jiff", "schemars 0.9.0", - "schemars 1.2.2", + "schemars 1.2.1", "serde_core", "serde_json", "serde_with_macros", @@ -6206,14 +5265,14 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.22.0" +version = "3.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46" +checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65" dependencies = [ - "darling", + "darling 0.23.0", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -6233,36 +5292,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures", "digest 0.10.7", ] -[[package]] -name = "sha2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", - "digest 0.11.3", -] - [[package]] name = "sha3" -version = "0.11.0" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be176f1a57ce4e3d31c1a166222d9768de5954f811601fb7ca06fc8203905ce1" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.11.3", + "digest 0.10.7", "keccak", ] [[package]] name = "sha3-asm" -version = "0.1.8" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6287fd675f713484342a89cbf0a386abef5f15919cfad607e5e1f19e1e15331" +checksum = "59cbb88c189d6352cc8ae96a39d19c7ecad8f7330b29461187f2587fdc2988d5" dependencies = [ "cc", "cfg-if", @@ -6283,12 +5331,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" -[[package]] -name = "shlex" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" - [[package]] name = "signature" version = "2.2.0" @@ -6299,22 +5341,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "simd-adler32" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" - -[[package]] -name = "simd_cesu8" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" -dependencies = [ - "rustc_version 0.4.1", - "simdutf8", -] - [[package]] name = "simdutf8" version = "0.1.5" @@ -6323,9 +5349,9 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] name = "siphasher" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" +checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e" [[package]] name = "slab" @@ -6344,9 +5370,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.15.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" dependencies = [ "arbitrary", "serde", @@ -6354,12 +5380,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.6.5" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -6395,7 +5421,6 @@ dependencies = [ "reth-evm", "reth-primitives-traits", "reth-trie-common", - "revm", "revm-bytecode", "revm-database-interface", "revm-state", @@ -6403,65 +5428,6 @@ dependencies = [ "serde_with", "thiserror", "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-common" -version = "0.1.0" -dependencies = [ - "const-hex", - "libssz", - "libssz-derive", - "libssz-merkle", - "libssz-types", - "paste", - "thiserror", -] - -[[package]] -name = "stateless-validator-reth" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rpc-types-engine", - "critical-section", - "ere-platform-core", - "reth-chainspec", - "reth-ethereum-primitives", - "reth-evm-ethereum", - "reth-payload-validator", - "reth-primitives-traits", - "stateless", - "stateless-validator-common", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-tests" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "anyhow", - "const-hex", - "ere-server-client", - "ere-util-tokio", - "flate2", - "rayon", - "reqwest 0.12.28", - "serde", - "serde_json", - "sha2 0.10.9", - "stateless-validator-common", - "stateless-validator-reth", - "tar", - "tempfile", - "walkdir", ] [[package]] @@ -6494,7 +5460,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -6503,12 +5469,6 @@ version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" -[[package]] -name = "symlink" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7973cce6668464ea31f176d85b13c7ab3bba2cb3b77a2ed26abd7801688010a" - [[package]] name = "syn" version = "1.0.109" @@ -6522,20 +5482,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.119" +version = "2.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" dependencies = [ "proc-macro2", "quote", @@ -6544,14 +5493,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "1.6.1" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083be3061e64d362cbe6ef12cfe1307ba3884326d8856448fe8a120fa2c44ebf" +checksum = "53f425ae0b12e2f5ae65542e00898d500d4d318b4baf09f40fd0d410454e9947" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -6571,7 +5520,7 @@ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -6585,7 +5534,7 @@ dependencies = [ "ntapi", "objc2-core-foundation", "objc2-io-kit", - "windows", + "windows 0.62.2", ] [[package]] @@ -6594,17 +5543,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "tar" -version = "0.4.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840" -dependencies = [ - "filetime", - "libc", - "xattr", -] - [[package]] name = "tempfile" version = "3.27.0" @@ -6612,51 +5550,51 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] name = "thiserror" -version = "2.0.20" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.20" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 2.0.117", ] [[package]] name = "thread-priority" -version = "3.1.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d2e834949be5111506bb252643498af1514f600d9e1dceedaa42afae155b67f" +checksum = "2210811179577da3d54eb69ab0b50490ee40491a25d95b8c6011ba40771cb721" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "cfg-if", "libc", "log", "rustversion", - "windows", + "windows 0.61.3", ] [[package]] name = "thread_local" -version = "1.1.10" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ "cfg-if", ] @@ -6672,11 +5610,12 @@ dependencies = [ [[package]] name = "time" -version = "0.3.55" +version = "0.3.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c" dependencies = [ "deranged", + "itoa", "num-conv", "powerfmt", "serde_core", @@ -6686,15 +5625,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.9" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" +checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" [[package]] name = "time-macros" -version = "0.2.32" +version = "0.2.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215" dependencies = [ "num-conv", "time-core", @@ -6712,9 +5651,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.12.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" +checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" dependencies = [ "tinyvec_macros", ] @@ -6727,9 +5666,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.53.1" +version = "1.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed" +checksum = "f66bf9585cda4b724d3e78ab34b73fb2bbaba9011b9bfdf69dc836382ea13b8c" dependencies = [ "bytes", "libc", @@ -6742,30 +5681,20 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.7.2" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", -] - -[[package]] -name = "tokio-rustls" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" -dependencies = [ - "rustls", - "tokio", + "syn 2.0.117", ] [[package]] name = "tokio-stream" -version = "0.1.19" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70" dependencies = [ "futures-core", "pin-project-lite", @@ -6775,14 +5704,13 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.19" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494815d09bf52b5548659851081238f0ca39ff638363907596da739561c62c52" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" dependencies = [ "bytes", "futures-core", "futures-sink", - "libc", "pin-project-lite", "tokio", ] @@ -6798,30 +5726,30 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.25.13+spec-1.1.0" +version = "0.25.11+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b" +checksum = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" dependencies = [ "indexmap 2.14.0", "toml_datetime", "toml_parser", - "winnow", + "winnow 1.0.1", ] [[package]] name = "toml_parser" -version = "1.1.3+spec-1.1.0" +version = "1.1.2+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56" +checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" dependencies = [ - "winnow", + "winnow 1.0.1", ] [[package]] name = "tonic" -version = "0.14.6" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac2a5518c70fa84342385732db33fb3f44bc4cc748936eb5833d2df34d6445ef" +checksum = "fec7c61a0695dc1887c1b53952990f3ad2e3a31453e1f49f10e75424943a93ec" dependencies = [ "async-trait", "base64", @@ -6845,26 +5773,15 @@ dependencies = [ [[package]] name = "tonic-prost" -version = "0.14.6" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50849f68853be452acf590cde0b146665b8d507b3b8af17261df47e02c209ea0" +checksum = "a55376a0bbaa4975a3f10d009ad763d8f4108f067c7c2e74f3001fb49778d309" dependencies = [ "bytes", "prost", "tonic", ] -[[package]] -name = "tonic-types" -version = "0.14.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73ab1b02061f83d519bba3caa167f88f261ef05720ab8ebc954ade70de3348e8" -dependencies = [ - "prost", - "prost-types", - "tonic", -] - [[package]] name = "tower" version = "0.5.3" @@ -6886,20 +5803,20 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.11" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" dependencies = [ - "bitflags 2.13.1", + "bitflags 2.11.0", "bytes", "futures-util", "http", "http-body", + "iri-string", "pin-project-lite", "tower", "tower-layer", "tower-service", - "url", ] [[package]] @@ -6920,7 +5837,6 @@ version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" dependencies = [ - "log", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -6928,15 +5844,14 @@ dependencies = [ [[package]] name = "tracing-appender" -version = "0.2.5" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "050686193eb999b4bb3bc2acfa891a13da00f79734704c4b8b4ef1a10b368a3c" +checksum = "786d480bce6247ab75f005b14ae1624ad978d3029d9113f0a22fa1ac773faeaf" dependencies = [ "crossbeam-channel", - "symlink", "thiserror", "time", - "tracing-subscriber", + "tracing-subscriber 0.3.23", ] [[package]] @@ -6947,18 +5862,7 @@ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", -] - -[[package]] -name = "tracing-chrome" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0a738ed5d6450a9fb96e86a23ad808de2b727fd1394585da5cdd6788ffe724" -dependencies = [ - "serde_json", - "tracing-core", - "tracing-subscriber", + "syn 2.0.117", ] [[package]] @@ -6989,7 +5893,7 @@ checksum = "2d3a81ed245bfb62592b1e2bc153e77656d94ee6a0497683a65a12ccaf2438d0" dependencies = [ "libc", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.23", ] [[package]] @@ -7005,21 +5909,21 @@ dependencies = [ [[package]] name = "tracing-logfmt" -version = "0.3.7" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a250055a3518b5efba928a18ffac8d32d42ea607a9affff4532144cd5b2e378e" +checksum = "6b1f47d22deb79c3f59fcf2a1f00f60cbdc05462bf17d1cd356c1fefa3f444bd" dependencies = [ "time", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.23", ] [[package]] name = "tracing-opentelemetry" -version = "0.33.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adbc64cba7137545b8044cb1fe9814f7aacf3c6b5f9b45be8bb5db538befdb26" +checksum = "1ac28f2d093c6c477eaa76b23525478f38de514fa9aeb1285738d4b97a9552fc" dependencies = [ "js-sys", "opentelemetry", @@ -7027,7 +5931,7 @@ dependencies = [ "tracing", "tracing-core", "tracing-log", - "tracing-subscriber", + "tracing-subscriber 0.3.23", "web-time", ] @@ -7044,7 +5948,7 @@ dependencies = [ "memmap2", "smallvec", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.23", ] [[package]] @@ -7057,6 +5961,15 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-subscriber" +version = "0.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +dependencies = [ + "tracing-core", +] + [[package]] name = "tracing-subscriber" version = "0.3.23" @@ -7070,11 +5983,9 @@ dependencies = [ "serde", "serde_json", "sharded-slab", - "smallvec", "thread_local", "tracing", "tracing-core", - "tracing-log", "tracing-serde", ] @@ -7095,10 +6006,11 @@ dependencies = [ "alloy-primitives", "alloy-rlp", "alloy-rpc-types-debug", - "alloy-trie", + "alloy-trie 0.9.5", "itertools 0.14.0", "reth-trie-common", "reth-trie-sparse", + "revm-bytecode", "revm-database-interface", "thiserror", "zeth-mpt", @@ -7110,34 +6022,11 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" -[[package]] -name = "twirp" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bfc65c610b3c5395ebb12132f251e1679386e0efef00c55ddee6affc68dd5c6" -dependencies = [ - "anyhow", - "async-trait", - "axum", - "futures", - "http", - "http-body-util", - "hyper", - "prost", - "reqwest 0.12.28", - "serde", - "serde_json", - "thiserror", - "tokio", - "tower", - "url", -] - [[package]] name = "typenum" -version = "1.20.1" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "ucd-trie" @@ -7171,9 +6060,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "unicode-segmentation" -version = "1.13.3" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" [[package]] name = "unicode-xid" @@ -7181,18 +6070,6 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" -[[package]] -name = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - -[[package]] -name = "unty" -version = "0.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae" - [[package]] name = "url" version = "2.5.8" @@ -7219,9 +6096,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.24.0" +version = "1.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf3923a6f5c4c6382e0b653c4117f48d631ea17f38ed86e2a828e6f7412f5239" +checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9" dependencies = [ "js-sys", "wasm-bindgen", @@ -7253,7 +6130,7 @@ checksum = "d674d135b4a8c1d7e813e2f8d1c9a58308aee4a680323066025e53132218bd91" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -7292,18 +6169,27 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasip2" -version = "1.0.4+wasi-0.2.12" +version = "1.0.2+wasi-0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" dependencies = [ "wit-bindgen", ] [[package]] name = "wasm-bindgen" -version = "0.2.127" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" dependencies = [ "cfg-if", "once_cell", @@ -7314,9 +6200,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.77" +version = "0.4.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950" +checksum = "f371d383f2fb139252e0bfac3b81b265689bf45b6874af544ffa4c975ac1ebf8" dependencies = [ "js-sys", "wasm-bindgen", @@ -7324,9 +6210,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.127" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -7334,31 +6220,65 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.127" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" dependencies = [ "bumpalo", "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.127" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" dependencies = [ "unicode-ident", ] [[package]] -name = "web-sys" -version = "0.3.104" +name = "wasm-encoder" +version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser", +] + +[[package]] +name = "wasm-metadata" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +dependencies = [ + "anyhow", + "indexmap 2.14.0", + "wasm-encoder", + "wasmparser", +] + +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags 2.11.0", + "hashbrown 0.15.5", + "indexmap 2.14.0", + "semver 1.0.28", +] + +[[package]] +name = "web-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f2dfbb17949fa2088e5d39408c48368947b86f7834484e87b73de55bc14d97d" dependencies = [ "js-sys", "wasm-bindgen", @@ -7374,24 +6294,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki-root-certs" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb" -dependencies = [ - "rustls-pki-types", -] - -[[package]] -name = "webpki-roots" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "winapi" version = "0.3.9" @@ -7414,7 +6316,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -7423,16 +6325,38 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.61.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections 0.2.0", + "windows-core 0.61.2", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + [[package]] name = "windows" version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" dependencies = [ - "windows-collections", - "windows-core", - "windows-future", - "windows-numerics", + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +dependencies = [ + "windows-core 0.61.2", ] [[package]] @@ -7441,7 +6365,20 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-core", + "windows-core 0.62.2", +] + +[[package]] +name = "windows-core" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.1.3", + "windows-result 0.3.4", + "windows-strings 0.4.2", ] [[package]] @@ -7452,9 +6389,20 @@ checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", - "windows-link", - "windows-result", - "windows-strings", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", + "windows-threading 0.1.0", ] [[package]] @@ -7463,9 +6411,9 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "windows-core", - "windows-link", - "windows-threading", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] @@ -7476,7 +6424,7 @@ checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -7487,23 +6435,48 @@ checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + [[package]] name = "windows-link" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", +] + [[package]] name = "windows-numerics" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-core", - "windows-link", + "windows-core 0.62.2", + "windows-link 0.2.1", +] + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link 0.1.3", ] [[package]] @@ -7512,7 +6485,16 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-link", + "windows-link 0.2.1", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link 0.1.3", ] [[package]] @@ -7521,16 +6503,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-link", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -7539,7 +6512,7 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.5", + "windows-targets", ] [[package]] @@ -7548,23 +6521,7 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows-link", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -7573,15 +6530,24 @@ version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ - "windows-link", - "windows_aarch64_gnullvm 0.53.1", - "windows_aarch64_msvc 0.53.1", - "windows_i686_gnu 0.53.1", - "windows_i686_gnullvm 0.53.1", - "windows_i686_msvc 0.53.1", - "windows_x86_64_gnu 0.53.1", - "windows_x86_64_gnullvm 0.53.1", - "windows_x86_64_msvc 0.53.1", + "windows-link 0.2.1", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows-threading" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +dependencies = [ + "windows-link 0.1.3", ] [[package]] @@ -7590,99 +6556,51 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" dependencies = [ - "windows-link", + "windows-link 0.2.1", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - [[package]] name = "windows_aarch64_gnullvm" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - [[package]] name = "windows_aarch64_msvc" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - [[package]] name = "windows_i686_gnu" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - [[package]] name = "windows_i686_gnullvm" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - [[package]] name = "windows_i686_msvc" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - [[package]] name = "windows_x86_64_gnu" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - [[package]] name = "windows_x86_64_gnullvm" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - [[package]] name = "windows_x86_64_msvc" version = "0.53.1" @@ -7691,18 +6609,109 @@ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" -version = "1.0.4" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09dac053f1cd375980747450bfc7250c264eaae0583872e845c0c7cd578872b5" dependencies = [ "memchr", ] [[package]] name = "wit-bindgen" -version = "0.57.1" +version = "0.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck", + "wit-parser", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.14.0", + "prettyplease", + "syn 2.0.117", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.117", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", + "bitflags 2.11.0", + "indexmap 2.14.0", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.14.0", + "log", + "semver 1.0.28", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser", +] [[package]] name = "writeable" @@ -7719,21 +6728,11 @@ dependencies = [ "tap", ] -[[package]] -name = "xattr" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" -dependencies = [ - "libc", - "rustix", -] - [[package]] name = "yoke" -version = "0.8.3" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" dependencies = [ "stable_deref_trait", "yoke-derive", @@ -7748,35 +6747,35 @@ checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", "synstructure", ] [[package]] name = "zerocopy" -version = "0.8.56" +version = "0.8.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.56" +version = "0.8.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] name = "zerofrom" -version = "0.1.8" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +checksum = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df" dependencies = [ "zerofrom-derive", ] @@ -7789,28 +6788,28 @@ checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", "synstructure", ] [[package]] name = "zeroize" -version = "1.9.0" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" dependencies = [ "zeroize_derive", ] [[package]] name = "zeroize_derive" -version = "1.5.0" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +checksum = "85a5b4158499876c763cb03bc4e49185d3cccbabb15b33c627f7884f43db852e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -7843,7 +6842,7 @@ checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 2.0.117", ] [[package]] @@ -7852,9 +6851,9 @@ version = "0.1.0" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-trie", + "alloy-trie 0.8.1", "arrayvec", - "bincode 1.3.3", + "bincode", "itertools 0.14.0", "rkyv", "serde", @@ -7862,19 +6861,11 @@ dependencies = [ "thiserror", ] -[[package]] -name = "zkvm-interface" -version = "0.1.0" -source = "git+https://github.com/eth-act/zkvm-standards?rev=282cd356c3a0498416bb0619f9c8a347ce9933fb#282cd356c3a0498416bb0619f9c8a347ce9933fb" -dependencies = [ - "bindgen", -] - [[package]] name = "zmij" -version = "1.0.23" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" [[package]] name = "zstd" diff --git a/Cargo.toml b/Cargo.toml index eb652f7..9641852 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,20 +1,18 @@ [workspace.package] version = "0.1.0" edition = "2024" -rust-version = "1.95" +rust-version = "1.88" license = "MIT OR Apache-2.0" +homepage = "https://github.com/paradigmxyz/stateless" repository = "https://github.com/paradigmxyz/stateless" exclude = [".github/"] [workspace] members = [ "crates/stateless", - "crates/stateless-validator-common", - "crates/stateless-validator-reth", "crates/tries", "crates/zeth-mpt", "testing/ef-tests", - "testing/stateless-validator", ] resolver = "2" @@ -22,7 +20,6 @@ resolver = "2" missing_debug_implementations = "warn" missing_docs = "warn" rust_2018_idioms = { level = "deny", priority = -1 } -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_vendor, values("zisk"))'] } unreachable_pub = "warn" unused_must_use = "deny" @@ -43,79 +40,50 @@ strip = "symbols" [workspace.dependencies] # internal -stateless = { path = "crates/stateless", default-features = false } -stateless-validator-common = { path = "crates/stateless-validator-common", default-features = false } -stateless-validator-reth = { path = "crates/stateless-validator-reth", default-features = false } -tries = { path = "crates/tries", default-features = false } +stateless = { path = "crates/stateless" } +tries = { path = "crates/tries" } # reth -reth-chainspec = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-consensus = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-db = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-db-api = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-db-common = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-ethereum-consensus = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-ethereum-primitives = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-evm = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-primitives-traits = { version = "0.7.0", default-features = false } -reth-payload-validator = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-provider = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-revm = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-tracing = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-trie = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-trie-common = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } -reth-trie-db = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5" } -reth-trie-sparse = { git = "https://github.com/paradigmxyz/reth", rev = "db702b511a9dfe5a80ef76685dd93652ffe37cc5", default-features = false } +reth-chainspec = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-consensus = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-db = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-db-api = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-db-common = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-ethereum-consensus = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-ethereum-primitives = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-evm = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-primitives-traits = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-provider = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-revm = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-tracing = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-trie = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-trie-common = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } +reth-trie-db = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3" } +reth-trie-sparse = { git = "https://github.com/paradigmxyz/reth", branch = "bal-devnet-3", default-features = false } # alloy -alloy-consensus = { version = "2.4.2", default-features = false } -alloy-eips = { version = "2.4.2", default-features = false } -alloy-genesis = { version = "2.4.2", default-features = false } -alloy-primitives = { version = "1.6.1", default-features = false, features = ["map-foldhash", "map-indexmap"] } -alloy-rlp = { version = "0.3.16", default-features = false } -alloy-rpc-types-debug = { version = "2.4.2", default-features = false } -alloy-rpc-types-engine = { version = "2.4.2", default-features = false } -alloy-trie = { version = "0.9.4", default-features = false } +alloy-consensus = { version = "1.7", default-features = false } +alloy-eips = { version = "1.7", default-features = false } +alloy-genesis = { version = "1.7", default-features = false } +alloy-primitives = { version = "1.5", default-features = false, features = ["map-indexmap"] } +alloy-rlp = { version = "0.3", default-features = false } +alloy-rpc-types-debug = { version = "1.7", default-features = false } +alloy-trie = { version = "0.9", default-features = false } # revm -revm = { version = "43.0.1", default-features = false } -revm-bytecode = { version = "43.0.0", default-features = false } -revm-database-interface = { version = "43.0.0", default-features = false } -revm-state = { version = "43.0.0", default-features = false } - -# zkVM standard -zkvm-interface = { git = "https://github.com/eth-act/zkvm-standards", rev = "282cd356c3a0498416bb0619f9c8a347ce9933fb" } - -# Ere -ere-platform-core = { git = "https://github.com/eth-act/ere", tag = "v0.20.0" } -ere-server-client = { git = "https://github.com/eth-act/ere", tag = "v0.20.0" } -ere-util-tokio = { git = "https://github.com/eth-act/ere", tag = "v0.20.0" } - -# ssz -libssz = { version = "0.3.0", default-features = false, features = ["alloc"] } -libssz-derive = "0.3.0" -libssz-merkle = { version = "0.3.0", default-features = false, features = [ - "alloc", - "sha2-backend", -] } -libssz-types = { version = "0.3.0", default-features = false, features = ["alloc"] } +revm = { version = "36.0.0", default-features = false } +revm-bytecode = { version = "9.0.0", default-features = false } +revm-database-interface = { version = "10.0.0", default-features = false } +revm-state = { version = "10.0.0", default-features = false } # misc -anyhow = "1.0" arrayvec = { version = "0.7", default-features = false } bincode = "1.3" -const-hex = { version = "1.19", default-features = false, features = ["alloc"] } -flate2 = "1.1" itertools = { version = "0.14", default-features = false, features = [ "use_alloc", ] } -paste = "1.0" rayon = "1.8" -reqwest = { version = "0.12", default-features = false, features = [ - "blocking", - "rustls-tls", -] } rkyv = "0.8" serde = { version = "1.0", default-features = false, features = [ "derive", @@ -125,8 +93,42 @@ serde_json = "1.0" serde_with = { version = "3.16", default-features = false, features = [ "alloc", ] } -sha2 = "0.10" +clap = "4" +flate2 = "1" +reqwest = { version = "0.12", default-features = false, features = [ + "blocking", + "rustls-tls", +] } tar = "0.4" -tempfile = "3.20" +tempfile = "3" thiserror = { version = "2.0", default-features = false } walkdir = "2.5" + +[patch.crates-io] +# revm patches (same rev as reth bal-devnet-3) +revm = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-bytecode = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-database = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-database-interface = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-state = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-primitives = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-interpreter = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-precompile = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-context = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-context-interface = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-handler = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } +revm-inspector = { git = "https://github.com/bluealloy/revm", rev = "30e1c40" } + +# alloy patches (BAL/Glamsterdam header extensions) +alloy-evm = { git = "https://github.com/alloy-rs/evm", branch = "bal-devnet3" } +alloy-consensus = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-consensus-any = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-eips = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-genesis = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-network = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-network-primitives = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-rpc-types-debug = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-rpc-types-eth = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-serde = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } +alloy-signer = { git = "https://github.com/alloy-rs/alloy", branch = "bal-devnet2" } diff --git a/README.md b/README.md index b688d46..3dbbdc6 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ use stateless::{stateless_validation, ExecutionWitness}; let validation = stateless_validation( block, + public_keys, witness, chain_spec, evm_config, @@ -43,10 +44,7 @@ let block_access_list = validation.block_access_list; ## `no_std` -The `stateless` crate is `#![no_std]` compatible and builds for the 64-bit RISC-V target (`riscv64im-unknown-none-elf`), making it suitable for use in zkVM environments. Because upstream dependencies currently require atomics, it must be built using the custom target specification provided in `targets/riscv64im-unknown-none-elf.json`. - -> **Note:** The build temporarily relies on the LLVM `lower-atomic` pass -> to lower atomic instructions into non-atomic equivalents. +The `stateless` crate is `#![no_std]` compatible and builds for RISC-V targets (`riscv32imac-unknown-none-elf`), making it suitable for use in zkVM environments. ## Running EF tests @@ -66,24 +64,6 @@ Or manually: EF_TEST_TRIE=default cargo test -p ef-tests --release --features "asm-keccak ef-tests" ``` -## Running stateless validator tests - -The Reth validator tests use the `tests-zkevm@v21.0.7` execution-spec fixtures, -in both the `blockchain_test` and `blockchain_test_engine` formats. -The first run downloads the archive and checks its SHA-256 checksum. -Later runs reuse the versioned fixture cache. - -```bash -cargo test -p stateless-validator-tests --test host_execution --locked -``` - -The suite requires every fixture to pass, except the tests listed in -`KNOWN_FAILURES` in `testing/stateless-validator/tests/host_execution.rs`. -The EIP-7685 and EIP-7928 tests there fail on upstream alloy-evm and revm bugs. -The EIP-8025 tests omit code from the witness after the block wrote the same code, -and the guest reads code only from the witness. -The suite fails once any of them pass. - ## Contributing Contributions are welcome! Join the conversation in the [Telegram group][tg-url]. diff --git a/bin/stateless-validator-reth/openvm/Cargo.lock b/bin/stateless-validator-reth/openvm/Cargo.lock deleted file mode 100644 index 0e0c51b..0000000 --- a/bin/stateless-validator-reth/openvm/Cargo.lock +++ /dev/null @@ -1,4285 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "ahash" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" -dependencies = [ - "memchr", -] - -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - -[[package]] -name = "alloy-chains" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fdcfed8f106be3df944054aaa42bc13ae103a3ac8a9f4b08d4f053e3a743f8" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "num_enum", - "phf", - "serde", -] - -[[package]] -name = "alloy-consensus" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b836b372d3b742b7c083d2617d6e68563cd5dadbd8752c461a935a756551e69" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-trie", - "alloy-tx-macros", - "auto_impl", - "c-kzg", - "derive_more", - "either", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "once_cell", - "rand 0.8.7", - "secp256k1", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "alloy-consensus-any" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1befb37485ea71e8599e32ffd76c98af7c3720a34741d30abd87f41c3148407" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-eip2124" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "741bdd7499908b3aa0b159bba11e71c8cddd009a2c2eb7a06e825f1ec87900a5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "crc", - "serde", - "thiserror", -] - -[[package]] -name = "alloy-eip2930" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64579d931b3f8eacc7c9ab0b220e87e9c4816e5c724ede1947b55c2f8e92ae5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde", -] - -[[package]] -name = "alloy-eip7702" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2919c5a56a1007492da313e7a3b6d45ef5edc5d33416fdec63c0d7a2702a0d20" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "serde", - "serde_with", - "thiserror", -] - -[[package]] -name = "alloy-eip7928" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd59d7221d384c46771ffbf6f18f70aa7753326351277857016bed5127b888f" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "once_cell", - "serde", - "thiserror", -] - -[[package]] -name = "alloy-eips" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3e76d47e8de277cb55e7e77fa38adde835162fc01cddbe1b258b5e0a86035b" -dependencies = [ - "alloy-eip2124", - "alloy-eip2930", - "alloy-eip7702", - "alloy-eip7928", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "auto_impl", - "c-kzg", - "derive_more", - "either", - "serde", - "serde_with", - "sha2 0.10.9", -] - -[[package]] -name = "alloy-evm" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b6bd5f7e5ce9858bac99275e3f548c3b63bb3e5806da0142dc0b2f518d3ec4a" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-hardforks", - "alloy-primitives", - "alloy-sol-types", - "auto_impl", - "derive_more", - "revm", - "thiserror", - "tracing", -] - -[[package]] -name = "alloy-genesis" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0680a2f7d4bbc6f48c0cb43368fa544918a1fa291e772bdb47c834ade338f363" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "alloy-trie", - "serde", - "serde_with", -] - -[[package]] -name = "alloy-hardforks" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865371fb677c005f7cb0ea9c2847a1ba4fdb042caf6428b1769fee20368bbfc7" -dependencies = [ - "alloy-chains", - "alloy-eip2124", - "alloy-primitives", - "auto_impl", - "dyn-clone", -] - -[[package]] -name = "alloy-network-primitives" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8795eecf50374a0dd942caff57922c59333c9991ead9eccbbc1709f55d73c7c2" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-primitives" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f007e257069855bdf21d27762fd3f3705a613f805c9a08309bf353503f081d71" -dependencies = [ - "alloy-rlp", - "bytes", - "cfg-if", - "const-hex", - "derive_more", - "foldhash 0.2.0", - "hashbrown 0.17.1", - "indexmap", - "itoa", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "paste", - "rand 0.9.5", - "ruint", - "serde", - "sha3", -] - -[[package]] -name = "alloy-rlp" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24671b1f62edcf0f9b62994c7bf72cd621a04a4b99f5020ece1a647b40e2f103" -dependencies = [ - "alloy-rlp-derive", - "arrayvec", - "bytes", -] - -[[package]] -name = "alloy-rlp-derive" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4311c03125e8a18296504560b9de3d75ecbd0dcda7f71e6cf2a196d57e6fba" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "alloy-rpc-types-debug" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a97960aa11b9984a18580b8dfbfc3eacfce1befa0d588b03ccc0bc5563d01f8" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "derive_more", - "serde", - "serde_with", -] - -[[package]] -name = "alloy-rpc-types-engine" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a43d7b6b86be4885c7a76f1dfcde9651af2d419ff571e8ee7257de47101203b" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "derive_more", - "strum", -] - -[[package]] -name = "alloy-rpc-types-eth" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "756eb5803e70985be4066b636194ccb5f6629e5d141817c1f0c50cea8350bf5c" -dependencies = [ - "alloy-consensus", - "alloy-consensus-any", - "alloy-eips", - "alloy-network-primitives", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-sol-types", - "itertools 0.14.0", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "alloy-serde" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc142e40df0c3eb5983b1637a68ab33471d8d22b8f402c9ed8260411a4e89d86" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - -[[package]] -name = "alloy-sol-macro" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5655c38d5f84955bf727b2eeb62fddd91ebb98fd1d7ae6eb77f73ea88f9b9cf" -dependencies = [ - "alloy-sol-macro-expander", - "alloy-sol-macro-input", - "proc-macro-error3", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "alloy-sol-macro-expander" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6277c780e07b76951e09a59788dde230d1582612324177d11a43a61e21a6bb83" -dependencies = [ - "alloy-sol-macro-input", - "const-hex", - "heck", - "indexmap", - "proc-macro-error3", - "proc-macro2", - "quote", - "sha3", - "syn 2.0.119", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-macro-input" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9762b2ad3e5a0c09886de54fe549ab0056681df843cb082e2df7e1c0eb270d30" -dependencies = [ - "const-hex", - "dunce", - "heck", - "macro-string", - "proc-macro2", - "quote", - "syn 2.0.119", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-types" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96e74d6213180f78dbdccddce8af02a639c160c94b0a543fa35c77c58b8a7fc" -dependencies = [ - "alloy-primitives", - "alloy-sol-macro", -] - -[[package]] -name = "alloy-trie" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f14b5d9b2c2173980202c6ff470d96e7c5e202c65a9f67884ad565226df7fbb" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "derive_more", - "nybbles", - "serde", - "smallvec", - "thiserror", - "tracing", -] - -[[package]] -name = "alloy-tx-macros" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25484345e4d89c259235e200d4f895eba33e70f125f4e8bb37a7aa69a97bd656" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-bls12-381" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" -dependencies = [ - "ark-ec 0.5.0", - "ark-ff 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", -] - -[[package]] -name = "ark-bls12-381" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be2ede2c0c96fa37d5d3484e8a59fec566c4a52b8c84bf993eaa6c67d7225a4c" -dependencies = [ - "ark-ec 0.6.0", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", -] - -[[package]] -name = "ark-bn254" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bc66f96ebe2a17a499475b4f94791d379817592ef494171586967ffdc6f95db" -dependencies = [ - "ark-ec 0.6.0", - "ark-ff 0.6.0", - "ark-std 0.6.0", -] - -[[package]] -name = "ark-ec" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" -dependencies = [ - "ahash", - "ark-ff 0.5.0", - "ark-poly 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", - "educe", - "fnv", - "hashbrown 0.15.5", - "itertools 0.13.0", - "num-bigint", - "num-integer", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8352a2b2aedf6ba2cc38f7520fc51191d518dde96175c729af19f2d059f191c4" -dependencies = [ - "ahash", - "ark-ff 0.6.0", - "ark-poly 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "educe", - "fnv", - "hashbrown 0.17.1", - "itertools 0.14.0", - "num-bigint", - "num-integer", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" -dependencies = [ - "ark-ff-asm 0.5.0", - "ark-ff-macros 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", - "arrayvec", - "digest 0.10.7", - "educe", - "itertools 0.13.0", - "num-bigint", - "num-traits", - "paste", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a806ac6c8307b929df4645776290a50ee2aac754ad09d8bdf73391309e43af" -dependencies = [ - "ark-ff-asm 0.6.0", - "ark-ff-macros 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "digest 0.10.7", - "educe", - "num-bigint", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" -dependencies = [ - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-asm" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1479009684adc073dff49a1025d3a7065b317a9ead25aaaca38cdc70058ba8a2" -dependencies = [ - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-macros" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-macros" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0691ed21ef00ef89c1e9bda832eba493dda3ec2f8d892fb25b705f73f06bb8" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-poly" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" -dependencies = [ - "ahash", - "ark-ff 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", - "educe", - "fnv", - "hashbrown 0.15.5", -] - -[[package]] -name = "ark-poly" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f55af10b672002b8d953e230282c51206842e20e5791a94432219b4201de5c" -dependencies = [ - "ahash", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "educe", - "fnv", - "hashbrown 0.17.1", -] - -[[package]] -name = "ark-serialize" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" -dependencies = [ - "ark-serialize-derive 0.5.0", - "ark-std 0.5.0", - "arrayvec", - "digest 0.10.7", - "num-bigint", -] - -[[package]] -name = "ark-serialize" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a74dd304fd536fb95d0a328e72be759209cc496a9da094c5bc56e5fea4f9e86b" -dependencies = [ - "ark-serialize-derive 0.6.0", - "ark-std 0.6.0", - "digest 0.10.7", - "num-bigint", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f153690697a2b91e5e1251ff98411ee5371500a111a0fd317a70e588eb300f9" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-std" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" -dependencies = [ - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "ark-std" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367c9c827ed431bff6868b7aa926e05b16eb46603cc8b6e768e4a5553fa1d155" -dependencies = [ - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "arrayref" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" - -[[package]] -name = "arrayvec" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" - -[[package]] -name = "aurora-engine-modexp" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518bc5745a6264b5fd7b09dffb9667e400ee9e2bbe18555fac75e1fe9afa0df9" -dependencies = [ - "hex", - "num", -] - -[[package]] -name = "auto_impl" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "autocfg" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" - -[[package]] -name = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "base64ct" -version = "1.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" - -[[package]] -name = "bindgen" -version = "0.72.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" -dependencies = [ - "bitflags 2.13.1", - "cexpr", - "clang-sys", - "itertools 0.13.0", - "log", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex 1.3.0", - "syn 2.0.119", -] - -[[package]] -name = "bitcoin-consensus-encoding" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6712f9c6fd6785b3b270884e57c441c403dc5d7e19ca45368c97c7a1de3000ec" -dependencies = [ - "bitcoin-internals", - "hex-conservative 1.2.0", - "serde", -] - -[[package]] -name = "bitcoin-internals" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d573f4cf32996a8dce612e4348cece65a241f1882ed594047c9ba348e8869fa5" - -[[package]] -name = "bitcoin-io" -version = "0.1.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb5de036369d1ac59d3c1819ebc4d850f89466f5401c571a285b6ed564a4cb78" -dependencies = [ - "bitcoin-consensus-encoding", -] - -[[package]] -name = "bitcoin_hashes" -version = "0.14.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca4c7abb40c8817d77403c880988cfd484f23ab2365726afb2f798363e2c4a2" -dependencies = [ - "bitcoin-io", - "hex-conservative 0.2.2", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" -dependencies = [ - "serde_core", -] - -[[package]] -name = "bitvec" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" -dependencies = [ - "funty", - "radium", - "serde", - "tap", - "wyz", -] - -[[package]] -name = "blake2b_simd" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3560a7b1951efe814fcd721938313adc56753ca39f4b23847d7e9a2402f5dbff" -dependencies = [ - "arrayvec", - "constant_time_eq", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" -dependencies = [ - "hybrid-array", -] - -[[package]] -name = "bls12_381" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7bc6d6292be3a19e6379786dac800f551e5865a5bb51ebbe3064ab80433f403" -dependencies = [ - "ff", - "group", - "pairing", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "blst" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20659f9bbee16cbbd2f7393e40ab6309f5a98f76a2eb57a995ec508b72387fe" -dependencies = [ - "cc", - "glob", - "threadpool", - "zeroize", -] - -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "bytemuck" -version = "1.25.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" - -[[package]] -name = "bytes" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" -dependencies = [ - "serde", -] - -[[package]] -name = "c-kzg" -version = "2.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d04308254695569fdb9bfe3bacc1c91837a670d0806605eb82d63748fbd3a6" -dependencies = [ - "blst", - "cc", - "glob", - "hex", - "libc", - "once_cell", - "serde", -] - -[[package]] -name = "cc" -version = "1.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad534f4357a5264cce5019c989cf66a4f0dc4e0d1b1d15f8aacec0ff7360273" -dependencies = [ - "find-msvc-tools", - "jobserver", - "libc", - "shlex 2.0.1", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-if" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" - -[[package]] -name = "chrono" -version = "0.4.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" -dependencies = [ - "num-traits", - "serde", -] - -[[package]] -name = "clang-sys" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "const-hex" -version = "1.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e2a781ebdf4467d1428dc4593067825fb646f6871475098d8577421af73558" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "proptest", - "serde_core", -] - -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "constant_time_eq" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" - -[[package]] -name = "convert_case" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "cpufeatures" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" -dependencies = [ - "libc", -] - -[[package]] -name = "crc" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" - -[[package]] -name = "critical-section" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" - -[[package]] -name = "crossbeam-deque" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" - -[[package]] -name = "crunchy" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" - -[[package]] -name = "crypto-bigint" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" -dependencies = [ - "generic-array", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "crypto-common" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" -dependencies = [ - "hybrid-array", -] - -[[package]] -name = "darling" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" -dependencies = [ - "ident_case", - "proc-macro2", - "quote", - "serde", - "strsim", - "syn 2.0.119", -] - -[[package]] -name = "darling_macro" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" -dependencies = [ - "darling_core", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "dashmap" -version = "6.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core", - "serde", -] - -[[package]] -name = "defmt" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" -dependencies = [ - "bitflags 1.3.2", - "defmt-macros", -] - -[[package]] -name = "defmt-macros" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" -dependencies = [ - "defmt-parser", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "defmt-parser" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" -dependencies = [ - "thiserror", -] - -[[package]] -name = "der" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "deranged" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" - -[[package]] -name = "derive-where" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d08b3a0bcc0d079199cd476b2cae8435016ec11d1c0986c6901c5ac223041534" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "derive_more" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" -dependencies = [ - "derive_more-impl", -] - -[[package]] -name = "derive_more-impl" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" -dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version", - "syn 2.0.119", - "unicode-xid", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer 0.10.4", - "const-oid", - "crypto-common 0.1.6", - "subtle", -] - -[[package]] -name = "digest" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" -dependencies = [ - "block-buffer 0.12.1", - "crypto-common 0.2.2", -] - -[[package]] -name = "displaydoc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "dunce" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" - -[[package]] -name = "dyn-clone" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" -dependencies = [ - "der", - "digest 0.10.7", - "elliptic-curve", - "rfc6979", - "serdect", - "signature", -] - -[[package]] -name = "educe" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" -dependencies = [ - "enum-ordinalize", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "either" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" -dependencies = [ - "serde", -] - -[[package]] -name = "elliptic-curve" -version = "0.13.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" -dependencies = [ - "base16ct", - "crypto-bigint", - "digest 0.10.7", - "ff", - "generic-array", - "group", - "pkcs8", - "rand_core 0.6.4", - "sec1", - "serdect", - "subtle", - "zeroize", -] - -[[package]] -name = "enum-ordinalize" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89dd01549b09589510cf0647475075d12071456586d70f5c75c98ae2a5537677" -dependencies = [ - "enum-ordinalize-derive", -] - -[[package]] -name = "enum-ordinalize-derive" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a65863d15a4ce2888bd2f0f543cc963d3879c3a022c8ee43f6141d479a3ac815" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "ere-platform-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" - -[[package]] -name = "ere-platform-openvm" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "ere-platform-core", - "openvm", - "openvm-accelerators", - "openvm-algebra-guest", - "openvm-ecc-guest", -] - -[[package]] -name = "fastrand" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" - -[[package]] -name = "ff" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" -dependencies = [ - "bitvec", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "find-msvc-tools" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" - -[[package]] -name = "fixed-cache" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe63500644ef0269fe6b744e7e5dc5c20b5eebf3d881bc2be53f194636f6583" -dependencies = [ - "equivalent", -] - -[[package]] -name = "fixed-map" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86ed19add84e8cb9e8cc5f7074de0324247149ffef0b851e215fb0edc50c229b" -dependencies = [ - "fixed-map-derive", -] - -[[package]] -name = "fixed-map-derive" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dc7a9cb3326bafb80642c5ce99b39a2c0702d4bfa8ee8a3e773791a6cbe2407" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - -[[package]] -name = "foldhash" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" - -[[package]] -name = "form_urlencoded" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures-core" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" - -[[package]] -name = "futures-task" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" - -[[package]] -name = "futures-util" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" -dependencies = [ - "futures-core", - "futures-task", - "pin-project-lite", -] - -[[package]] -name = "generic-array" -version = "0.14.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" -dependencies = [ - "typenum", - "version_check", - "zeroize", -] - -[[package]] -name = "getrandom" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "getrandom" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" -dependencies = [ - "cfg-if", - "libc", - "r-efi 5.3.0", - "wasip2", -] - -[[package]] -name = "getrandom" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" -dependencies = [ - "cfg-if", - "libc", - "r-efi 6.0.0", -] - -[[package]] -name = "glob" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "halo2curves-axiom" -version = "0.7.3" -source = "git+https://github.com/axiom-crypto/halo2curves.git?tag=v0.7.3#d744f712fbeaf62576b2b10842822919551c5ef8" -dependencies = [ - "blake2b_simd", - "digest 0.10.7", - "ff", - "group", - "hex", - "lazy_static", - "num-bigint", - "num-traits", - "pairing", - "pasta_curves", - "paste", - "rand 0.8.7", - "rand_core 0.6.4", - "rayon", - "serde", - "serde_arrays", - "sha2 0.10.9", - "static_assertions", - "subtle", - "unroll", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "allocator-api2", - "equivalent", - "foldhash 0.1.5", -] - -[[package]] -name = "hashbrown" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" -dependencies = [ - "allocator-api2", - "foldhash 0.2.0", - "serde", - "serde_core", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] - -[[package]] -name = "hex-conservative" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda06d18ac606267c40c04e41b9947729bf8b9efe74bd4e82b61a5f26a510b9f" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "hex-conservative" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35431185f361ccf3ffc58254628af5f1f5d5f28531da2e02e5d6c82bbc282a10" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "hex-literal" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e712f64ec3850b98572bffac52e2c6f282b29fe6c5fa6d42334b30be438d95c1" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.7", -] - -[[package]] -name = "hybrid-array" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b" -dependencies = [ - "typenum", -] - -[[package]] -name = "icu_collections" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" -dependencies = [ - "displaydoc", - "potential_utf", - "utf8_iter", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_normalizer" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" -dependencies = [ - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" - -[[package]] -name = "icu_properties" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "zerotrie", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" - -[[package]] -name = "icu_provider" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" -dependencies = [ - "displaydoc", - "icu_locale_core", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "indexmap" -version = "2.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" -dependencies = [ - "equivalent", - "hashbrown 0.17.1", - "serde", - "serde_core", -] - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" - -[[package]] -name = "jiff" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" -dependencies = [ - "defmt", - "jiff-core", - "jiff-static", - "portable-atomic", - "portable-atomic-util", - "serde_core", -] - -[[package]] -name = "jiff-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -dependencies = [ - "defmt", -] - -[[package]] -name = "jiff-static" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204" -dependencies = [ - "jiff-core", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "jobserver" -version = "0.1.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" -dependencies = [ - "getrandom 0.4.3", - "libc", -] - -[[package]] -name = "k256" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" -dependencies = [ - "cfg-if", - "ecdsa", - "elliptic-curve", - "serdect", - "sha2 0.10.9", -] - -[[package]] -name = "k256" -version = "0.13.4" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "ecdsa", - "elliptic-curve", - "ff", - "hex-literal", - "num-bigint", - "openvm", - "openvm-algebra-guest", - "openvm-algebra-moduli-macros", - "openvm-ecc-guest", - "openvm-ecc-sw-macros", - "serde", -] - -[[package]] -name = "keccak" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", -] - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" -dependencies = [ - "spin 0.9.9", -] - -[[package]] -name = "libc" -version = "0.2.189" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" - -[[package]] -name = "libloading" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" -dependencies = [ - "cfg-if", - "windows-link", -] - -[[package]] -name = "libm" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" - -[[package]] -name = "libssz" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bdd6d63ed811ae164966de20810be780e07de784a4834ccfe6be90480c369e" -dependencies = [ - "smallvec", -] - -[[package]] -name = "libssz-derive" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee1b9ac9200429f7e9830492765445989ea61c3fb9028ad5a96e1dd5f5e913" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "libssz-merkle" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863eca32d1a43e5ec41106a515552efa8307768d37c68d26b7f21ff13cfee1a7" -dependencies = [ - "libssz", - "sha2 0.10.9", -] - -[[package]] -name = "libssz-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4231ac301726840a3fe111f11bd4619d3c97ed155cb94c88dbf92b70e04e017" -dependencies = [ - "libssz", - "libssz-merkle", - "smallvec", -] - -[[package]] -name = "litemap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" - -[[package]] -name = "lock_api" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" - -[[package]] -name = "lru" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" -dependencies = [ - "hashbrown 0.15.5", -] - -[[package]] -name = "macro-string" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a9dbbfc75d2688ed057456ce8a3ee3f48d12eec09229f560f3643b9f275653" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "memchr" -version = "2.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "modular-bitfield" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2956e537fc68236d2aa048f55704f231cc93f1c4de42fe1ecb5bd7938061fc4a" -dependencies = [ - "modular-bitfield-impl", - "static_assertions", -] - -[[package]] -name = "modular-bitfield-impl" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b43b4fd69e3437618106f7754f34021b831a514f9e1a98ae863cabcd8d8dad" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "nonmax" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51" -dependencies = [ - "serde", -] - -[[package]] -name = "num" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" -dependencies = [ - "num-bigint", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" -dependencies = [ - "num-integer", - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "num-complex" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-conv" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" - -[[package]] -name = "num-integer" -version = "0.1.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-modular" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a5fe11d4135c3bcdf3a95b18b194afa9608a5f6ff034f5d857bc9a27fb0119" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-prime" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e238432a7881ec7164503ccc516c014bf009be7984cde1ba56837862543bdec3" -dependencies = [ - "bitvec", - "either", - "lru", - "num-bigint", - "num-integer", - "num-modular", - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "num-rational" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_enum" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" -dependencies = [ - "num_enum_derive", - "rustversion", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "nybbles" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d49ff0c0d00d4a502b39df9af3a525e1efeb14b9dabb5bb83335284c1309210" -dependencies = [ - "alloy-rlp", - "cfg-if", - "ruint", - "serde", - "smallvec", -] - -[[package]] -name = "once_cell" -version = "1.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" -dependencies = [ - "critical-section", - "portable-atomic", -] - -[[package]] -name = "openvm" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "bytemuck", - "getrandom 0.2.17", - "getrandom 0.3.4", - "num-bigint", - "openvm-custom-insn", - "openvm-mem", - "openvm-platform", - "openvm-riscv-guest", - "serde", -] - -[[package]] -name = "openvm-accelerators" -version = "0.4.0" -source = "git+https://github.com/han0110/openvm-eth?branch=patch%2Fdevelop-v2.x.0%2F38baa3f#7eca04230713d2ddb333dcf00f6149833ba30db1" -dependencies = [ - "ark-bls12-381 0.5.0", - "ark-ec 0.5.0", - "ark-serialize 0.5.0", - "aurora-engine-modexp", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "k256 0.13.4 (git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview)", - "openvm-curve-utils", - "openvm-ecc-guest", - "openvm-keccak256", - "openvm-kzg", - "openvm-pairing", - "openvm-pairing-guest", - "openvm-sha2", - "p256 0.13.2 (git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview)", - "ripemd 0.1.3", -] - -[[package]] -name = "openvm-algebra-complex-macros" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-macros-common", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "openvm-algebra-guest" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "halo2curves-axiom", - "num-bigint", - "once_cell", - "openvm-algebra-complex-macros", - "openvm-algebra-moduli-macros", - "openvm-custom-insn", - "openvm-riscv-guest", - "serde-big-array", - "strum_macros 0.26.4", -] - -[[package]] -name = "openvm-algebra-moduli-macros" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "num-bigint", - "num-prime", - "openvm-macros-common", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "openvm-curve-utils" -version = "0.4.0" -source = "git+https://github.com/han0110/openvm-eth?branch=patch%2Fdevelop-v2.x.0%2F38baa3f#7eca04230713d2ddb333dcf00f6149833ba30db1" -dependencies = [ - "hex-literal", - "openvm-ecc-guest", - "openvm-pairing", -] - -[[package]] -name = "openvm-custom-insn" -version = "0.1.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "openvm-ecc-guest" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "ecdsa", - "elliptic-curve", - "group", - "halo2curves-axiom", - "once_cell", - "openvm", - "openvm-algebra-guest", - "openvm-custom-insn", - "openvm-ecc-sw-macros", - "openvm-riscv-guest", - "serde", - "strum_macros 0.26.4", -] - -[[package]] -name = "openvm-ecc-sw-macros" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-macros-common", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "openvm-keccak256" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-keccak256-guest", - "spin 0.10.1", - "tiny-keccak", -] - -[[package]] -name = "openvm-keccak256-guest" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-platform", -] - -[[package]] -name = "openvm-kzg" -version = "0.4.0" -source = "git+https://github.com/han0110/openvm-eth?branch=patch%2Fdevelop-v2.x.0%2F38baa3f#7eca04230713d2ddb333dcf00f6149833ba30db1" -dependencies = [ - "bls12_381", - "hex", - "hex-literal", - "openvm-algebra-guest", - "openvm-curve-utils", - "openvm-ecc-guest", - "openvm-pairing", - "serde", - "serde-big-array", - "spin 0.10.1", -] - -[[package]] -name = "openvm-macros-common" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "syn 2.0.119", -] - -[[package]] -name = "openvm-mem" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" - -[[package]] -name = "openvm-pairing" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "group", - "halo2curves-axiom", - "hex-literal", - "itertools 0.14.0", - "num-bigint", - "num-traits", - "openvm", - "openvm-algebra-complex-macros", - "openvm-algebra-guest", - "openvm-algebra-moduli-macros", - "openvm-custom-insn", - "openvm-ecc-guest", - "openvm-ecc-sw-macros", - "openvm-pairing-guest", - "openvm-platform", - "openvm-riscv-guest", - "serde", -] - -[[package]] -name = "openvm-pairing-guest" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "halo2curves-axiom", - "hex-literal", - "itertools 0.14.0", - "lazy_static", - "num-bigint", - "num-traits", - "openvm", - "openvm-algebra-guest", - "openvm-algebra-moduli-macros", - "openvm-custom-insn", - "openvm-ecc-guest", - "serde", - "strum_macros 0.26.4", -] - -[[package]] -name = "openvm-platform" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "libm", - "openvm-custom-insn", - "openvm-riscv-guest", -] - -[[package]] -name = "openvm-riscv-guest" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-custom-insn", - "strum_macros 0.26.4", -] - -[[package]] -name = "openvm-sha2" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-sha2-guest", - "sha2 0.10.9", -] - -[[package]] -name = "openvm-sha2-guest" -version = "2.0.0" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "openvm-platform", -] - -[[package]] -name = "p256" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" -dependencies = [ - "ecdsa", - "elliptic-curve", - "primeorder", - "sha2 0.10.9", -] - -[[package]] -name = "p256" -version = "0.13.2" -source = "git+https://github.com/openvm-org/openvm.git?tag=v2.1.0-preview#538c5488130da56c8442d33445efe3c1fe5ea8b8" -dependencies = [ - "ecdsa", - "elliptic-curve", - "ff", - "hex-literal", - "num-bigint", - "openvm", - "openvm-algebra-guest", - "openvm-algebra-moduli-macros", - "openvm-ecc-guest", - "openvm-ecc-sw-macros", - "serde", -] - -[[package]] -name = "pairing" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fec4625e73cf41ef4bb6846cafa6d44736525f442ba45e407c4a000a13996f" -dependencies = [ - "group", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-link", -] - -[[package]] -name = "pasta_curves" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3437083215c505e867eea5478371feba43d7689d6d15ec0a209eb46fb0d4cda6" -dependencies = [ - "blake2b_simd", - "ff", - "group", - "lazy_static", - "rand 0.8.7", - "static_assertions", - "subtle", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "percent-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" - -[[package]] -name = "phf" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" -dependencies = [ - "phf_macros", - "phf_shared", - "serde", -] - -[[package]] -name = "phf_generator" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" -dependencies = [ - "fastrand", - "phf_shared", -] - -[[package]] -name = "phf_macros" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" -dependencies = [ - "phf_generator", - "phf_shared", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "phf_shared" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" -dependencies = [ - "siphasher", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der", - "spki", -] - -[[package]] -name = "pkg-config" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" - -[[package]] -name = "portable-atomic" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" - -[[package]] -name = "portable-atomic-util" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" -dependencies = [ - "portable-atomic", -] - -[[package]] -name = "potential_utf" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" -dependencies = [ - "zerovec", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "prettyplease" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" -dependencies = [ - "proc-macro2", - "syn 2.0.119", -] - -[[package]] -name = "primeorder" -version = "0.13.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" -dependencies = [ - "elliptic-curve", -] - -[[package]] -name = "proc-macro-error-attr3" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82366fd7d8b7a440d66d13418820c69df9b3908bcb1a0476d7f5ce5d12f5a04d" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "proc-macro-error3" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b511283ea8a74b4b39447b128c5d00f03a356b7424554b13e298a5550100d9ac" -dependencies = [ - "proc-macro-error-attr3", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "proc-macro2" -version = "1.0.107" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "proptest" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" -dependencies = [ - "bitflags 2.13.1", - "num-traits", - "rand 0.9.5", - "rand_chacha 0.9.0", - "rand_xorshift", - "unarray", -] - -[[package]] -name = "quote" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "r-efi" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" - -[[package]] -name = "r-efi" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" - -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "serde", -] - -[[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_core 0.9.5", - "serde", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", - "serde", -] - -[[package]] -name = "rand_xorshift" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" -dependencies = [ - "rand_core 0.9.5", -] - -[[package]] -name = "rayon" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] -name = "redox_syscall" -version = "0.5.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" -dependencies = [ - "bitflags 2.13.1", -] - -[[package]] -name = "regex" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" - -[[package]] -name = "reth-chainspec" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-chains", - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "auto_impl", - "derive_more", - "reth-ethereum-forks", - "reth-network-peers", - "reth-primitives-traits", - "serde_json", -] - -[[package]] -name = "reth-codecs" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34b0b409ecf930ed3850e92bd9b4d4f8a8c397eef23e8ba5b1a1a02682a94bd" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "bytes", - "modular-bitfield", - "reth-codecs-derive", - "reth-zstd-compressors", - "serde", -] - -[[package]] -name = "reth-codecs-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcb49ab084e764e7d20f710e2c9daa439380d0fc33f8bfee8c372bfdbc1f437" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "reth-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-primitives", - "auto_impl", - "reth-execution-types", - "reth-primitives-traits", - "thiserror", -] - -[[package]] -name = "reth-consensus-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "reth-chainspec", - "reth-consensus", - "reth-primitives-traits", -] - -[[package]] -name = "reth-db-models" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "reth-primitives-traits", -] - -[[package]] -name = "reth-ethereum-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "reth-chainspec", - "reth-consensus", - "reth-consensus-common", - "reth-execution-types", - "reth-primitives-traits", - "tracing", -] - -[[package]] -name = "reth-ethereum-forks" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eip2124", - "alloy-hardforks", - "alloy-primitives", - "auto_impl", - "once_cell", -] - -[[package]] -name = "reth-ethereum-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rpc-types-eth", - "reth-codecs", - "reth-primitives-traits", - "serde", -] - -[[package]] -name = "reth-evm" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "auto_impl", - "derive_more", - "fixed-cache", - "futures-util", - "reth-execution-errors", - "reth-execution-types", - "reth-primitives-traits", - "reth-storage-api", - "reth-storage-errors", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-evm-ethereum" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "alloy-rpc-types-engine", - "reth-chainspec", - "reth-ethereum-forks", - "reth-ethereum-primitives", - "reth-evm", - "reth-execution-types", - "reth-primitives-traits", - "reth-storage-errors", - "revm", -] - -[[package]] -name = "reth-execution-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-evm", - "alloy-primitives", - "alloy-rlp", - "nybbles", - "reth-storage-errors", - "thiserror", -] - -[[package]] -name = "reth-execution-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "derive_more", - "reth-ethereum-primitives", - "reth-primitives-traits", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-network-peers" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde_with", - "thiserror", - "url", -] - -[[package]] -name = "reth-payload-validator" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-rpc-types-engine", - "reth-primitives-traits", -] - -[[package]] -name = "reth-primitives-traits" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9060738a07ca1b0d8ede3ce21d8187c57cc22ee9e2991b29cbbc663280f843cd" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-eth", - "alloy-trie", - "bytes", - "dashmap", - "derive_more", - "once_cell", - "reth-codecs", - "revm-bytecode", - "revm-primitives", - "revm-state", - "secp256k1", - "serde", - "thiserror", -] - -[[package]] -name = "reth-prune-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "derive_more", - "strum", - "thiserror", - "tracing", -] - -[[package]] -name = "reth-stages-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "reth-trie-common", -] - -[[package]] -name = "reth-static-file-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "derive_more", - "fixed-map", - "reth-stages-types", - "serde", - "strum", -] - -[[package]] -name = "reth-storage-api" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-eips", - "alloy-primitives", - "alloy-rpc-types-engine", - "auto_impl", - "reth-chainspec", - "reth-db-models", - "reth-ethereum-primitives", - "reth-execution-types", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-errors", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-storage-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "derive_more", - "reth-codecs", - "reth-primitives-traits", - "reth-prune-types", - "reth-static-file-types", - "revm", - "thiserror", -] - -[[package]] -name = "reth-trie-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-primitives", - "alloy-rlp", - "alloy-trie", - "derive_more", - "itertools 0.14.0", - "nybbles", - "reth-primitives-traits", - "revm", - "thiserror", -] - -[[package]] -name = "reth-zstd-compressors" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f1ebb37e81a596ce16e81bec6a0c9accbdb914cf19b9190eff69ed00395900" -dependencies = [ - "zstd", -] - -[[package]] -name = "revm" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc210dfb3b45482a9f7c8806f737f7848fb7054b04235e6816480e515c1fe2d5" -dependencies = [ - "revm-bytecode", - "revm-context", - "revm-context-interface", - "revm-database", - "revm-database-interface", - "revm-handler", - "revm-inspector", - "revm-interpreter", - "revm-precompile", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-bytecode" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d38e16b72ec1c836ec8490562bfb21003165ea8bc496086bf345680a6e6c41" -dependencies = [ - "bitvec", - "phf", - "revm-primitives", - "serde", -] - -[[package]] -name = "revm-context" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c16835bc2ead203219a18fcc84c2c71879ad6b890e8a71150cf7f10e4e355dc4" -dependencies = [ - "bitvec", - "cfg-if", - "derive-where", - "revm-bytecode", - "revm-context-interface", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-context-interface" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b4109bdceaca5ee6e27bf41f6b156f2b15892dc5bb47d3530bc4d3b3060077" -dependencies = [ - "alloy-eip2930", - "alloy-eip7702", - "auto_impl", - "either", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-database" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d764afa9a1c9278c05d40461b07319d21ccb39c1bdf0e9dde7e5ea7d9be53d" -dependencies = [ - "derive_more", - "either", - "revm-bytecode", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-database-interface" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2a27e4440c2ef4932afdaa28a1d1ac8601504c7030c1a387b5e307d07d864d1" -dependencies = [ - "auto_impl", - "either", - "revm-primitives", - "revm-state", - "thiserror", -] - -[[package]] -name = "revm-handler" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b8d988f896e22b19962658bc1afcd0989f727d48b2860a8bd7ceaecbf72ce34" -dependencies = [ - "auto_impl", - "derive-where", - "revm-bytecode", - "revm-context", - "revm-context-interface", - "revm-database-interface", - "revm-interpreter", - "revm-precompile", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-inspector" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2584990403728b2e13fb5522510b61e4bb217c6a4c8f4d063447a6ddd7dd7cc" -dependencies = [ - "auto_impl", - "either", - "revm-context", - "revm-database-interface", - "revm-handler", - "revm-interpreter", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-interpreter" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "932f7fe05a2cdeb08195dd7e88a09a4da7c3660cdc6e62720839c77ba77f65aa" -dependencies = [ - "revm-bytecode", - "revm-context-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-precompile" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac4dc0279f2a44770faa8c93d008df684440cf573c91b8e0e39d0d581abf7b3d" -dependencies = [ - "ark-bls12-381 0.6.0", - "ark-bn254", - "ark-ec 0.6.0", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "arrayref", - "aurora-engine-modexp", - "cfg-if", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "p256 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", - "revm-context-interface", - "revm-primitives", - "ripemd 0.2.0", - "sha2 0.11.0", -] - -[[package]] -name = "revm-primitives" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f4ba1a5757fe4398262290422c371556fcebf236f762f7ed7ff2c56768a63c" -dependencies = [ - "alloy-primitives", - "once_cell", - "serde", -] - -[[package]] -name = "revm-state" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd02082cf1baca01e8bc17456c45136bdc66632395a98db1c1a2afe4c6ea87f" -dependencies = [ - "alloy-eip7928", - "bitflags 2.13.1", - "nonmax", - "revm-bytecode", - "revm-primitives", - "serde", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac", - "subtle", -] - -[[package]] -name = "ripemd" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" -dependencies = [ - "digest 0.10.7", -] - -[[package]] -name = "ripemd" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd4211456b4172d7e44261920c25acf07367c4f04bb5f5d54fc21b090d9b159" -dependencies = [ - "digest 0.11.3", -] - -[[package]] -name = "ruint" -version = "1.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5e99bff0393163bb25029a6af25d3d8d202ba5b5438a74d1bd8789f5c822970" -dependencies = [ - "alloy-rlp", - "proptest", - "rand 0.8.7", - "rand 0.9.5", - "ruint-macro", - "serde_core", - "valuable", - "zeroize", -] - -[[package]] -name = "ruint-macro" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" - -[[package]] -name = "rustc-hash" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustversion" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "sec1" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct", - "der", - "generic-array", - "pkcs8", - "serdect", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" -dependencies = [ - "bitcoin_hashes", - "rand 0.8.7", - "secp256k1-sys", - "serde", -] - -[[package]] -name = "secp256k1-sys" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9" -dependencies = [ - "cc", -] - -[[package]] -name = "semver" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" - -[[package]] -name = "serde" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" -dependencies = [ - "serde_core", - "serde_derive", -] - -[[package]] -name = "serde-big-array" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11fc7cc2c76d73e0f27ee52abbd64eec84d46f370c88371120433196934e4b7f" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_arrays" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38636132857f68ec3d5f3eb121166d2af33cb55174c4d5ff645db6165cbef0fd" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_core" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "serde_json" -version = "1.0.151" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" -dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", -] - -[[package]] -name = "serde_with" -version = "3.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a" -dependencies = [ - "base64", - "bs58", - "chrono", - "hex", - "jiff", - "serde_core", - "serde_json", - "serde_with_macros", - "time", -] - -[[package]] -name = "serde_with_macros" -version = "3.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "serdect" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" -dependencies = [ - "base16ct", - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "digest 0.10.7", -] - -[[package]] -name = "sha2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", - "digest 0.11.3", -] - -[[package]] -name = "sha3" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be176f1a57ce4e3d31c1a166222d9768de5954f811601fb7ca06fc8203905ce1" -dependencies = [ - "digest 0.11.3", - "keccak", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "shlex" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" - -[[package]] -name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "siphasher" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" - -[[package]] -name = "smallvec" -version = "1.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" -dependencies = [ - "serde", -] - -[[package]] -name = "spin" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" - -[[package]] -name = "spin" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" - -[[package]] -name = "stateless" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", - "reth-chainspec", - "reth-consensus", - "reth-ethereum-consensus", - "reth-ethereum-primitives", - "reth-evm", - "reth-primitives-traits", - "reth-trie-common", - "revm", - "revm-bytecode", - "revm-database-interface", - "revm-state", - "serde", - "serde_with", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-common" -version = "0.1.0" -dependencies = [ - "libssz", - "libssz-derive", - "libssz-merkle", - "libssz-types", - "paste", - "thiserror", -] - -[[package]] -name = "stateless-validator-reth" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rpc-types-engine", - "ere-platform-core", - "reth-chainspec", - "reth-ethereum-primitives", - "reth-evm-ethereum", - "reth-payload-validator", - "reth-primitives-traits", - "stateless", - "stateless-validator-common", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-reth-openvm" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "ere-platform-openvm", - "stateless-validator-reth", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "strum" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" -dependencies = [ - "strum_macros 0.27.2", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.119", -] - -[[package]] -name = "strum_macros" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "subtle" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.119" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn-solidity" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083be3061e64d362cbe6ef12cfe1307ba3884326d8856448fe8a120fa2c44ebf" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "synstructure" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "thiserror" -version = "2.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "time" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" -dependencies = [ - "deranged", - "num-conv", - "powerfmt", - "serde_core", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinystr" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "tinyvec" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tracing" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "tracing-core" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" - -[[package]] -name = "tries" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", - "alloy-trie", - "reth-trie-common", - "revm-database-interface", - "thiserror", - "zeth-mpt", -] - -[[package]] -name = "typenum" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "unicode-ident" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" - -[[package]] -name = "unicode-segmentation" -version = "1.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "unroll" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad948c1cb799b1a70f836077721a92a35ac177d4daddf4c20a633786d4cf618" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "url" -version = "2.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - -[[package]] -name = "valuable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - -[[package]] -name = "wasip2" -version = "1.0.4+wasi-0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" -dependencies = [ - "wit-bindgen", -] - -[[package]] -name = "windows-link" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" - -[[package]] -name = "wit-bindgen" -version = "0.57.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" - -[[package]] -name = "writeable" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" - -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - -[[package]] -name = "yoke" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" -dependencies = [ - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "synstructure", -] - -[[package]] -name = "zerocopy" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "zerofrom" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "synstructure", -] - -[[package]] -name = "zeroize" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "zerotrie" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", -] - -[[package]] -name = "zerovec" -version = "0.11.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "zeth-mpt" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-trie", - "arrayvec", -] - -[[package]] -name = "zkvm-interface" -version = "0.1.0" -source = "git+https://github.com/eth-act/zkvm-standards?rev=282cd356c3a0498416bb0619f9c8a347ce9933fb#282cd356c3a0498416bb0619f9c8a347ce9933fb" -dependencies = [ - "bindgen", -] - -[[package]] -name = "zmij" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" - -[[package]] -name = "zstd" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "7.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" -dependencies = [ - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.16+zstd.1.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" -dependencies = [ - "cc", - "pkg-config", -] diff --git a/bin/stateless-validator-reth/openvm/Cargo.toml b/bin/stateless-validator-reth/openvm/Cargo.toml deleted file mode 100644 index 97a1a0d..0000000 --- a/bin/stateless-validator-reth/openvm/Cargo.toml +++ /dev/null @@ -1,28 +0,0 @@ -[workspace] - -[package] -name = "stateless-validator-reth-openvm" -version = "0.1.0" -edition = "2024" - -[dependencies] -# enable features -alloy-primitives = { version = "1.6.1", default-features = false, features = [ - "map-hashbrown", - "native-keccak", -] } - -# ere -ere-platform-openvm = { git = "https://github.com/eth-act/ere", tag = "v0.20.0", features = [ - "std", - "zkvm-accelerator", -] } - -# local -stateless-validator-reth = { path = "../../../crates/stateless-validator-reth", features = [ - "zkvm-interface", -] } - -[profile.release] -codegen-units = 1 -lto = "fat" diff --git a/bin/stateless-validator-reth/openvm/src/main.rs b/bin/stateless-validator-reth/openvm/src/main.rs deleted file mode 100644 index 5128fab..0000000 --- a/bin/stateless-validator-reth/openvm/src/main.rs +++ /dev/null @@ -1,17 +0,0 @@ -//! OpenVM Reth stateless validator guest program. - -use ere_platform_openvm::OpenVMPlatform; -use stateless_validator_reth::guest::entrypoint; - -fn main() { - entrypoint::(); -} - -// OpenVM guests execute on one thread, so critical sections need no runtime synchronization. -#[unsafe(no_mangle)] -fn _critical_section_1_0_acquire() -> u64 { - 0 -} - -#[unsafe(no_mangle)] -fn _critical_section_1_0_release(_: u64) {} diff --git a/bin/stateless-validator-reth/sp1/Cargo.lock b/bin/stateless-validator-reth/sp1/Cargo.lock deleted file mode 100644 index 5e000e1..0000000 --- a/bin/stateless-validator-reth/sp1/Cargo.lock +++ /dev/null @@ -1,4339 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "addchain" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e33f6a175ec6a9e0aca777567f9ff7c3deefc255660df887e7fa3585e9801d8" -dependencies = [ - "num-bigint 0.3.3", - "num-integer", - "num-traits", -] - -[[package]] -name = "ahash" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" -dependencies = [ - "memchr", -] - -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - -[[package]] -name = "alloy-chains" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fdcfed8f106be3df944054aaa42bc13ae103a3ac8a9f4b08d4f053e3a743f8" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "num_enum", - "phf", - "serde", -] - -[[package]] -name = "alloy-consensus" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b836b372d3b742b7c083d2617d6e68563cd5dadbd8752c461a935a756551e69" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-trie", - "alloy-tx-macros", - "auto_impl", - "c-kzg", - "derive_more", - "either", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "once_cell", - "rand 0.8.7", - "secp256k1", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "alloy-consensus-any" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1befb37485ea71e8599e32ffd76c98af7c3720a34741d30abd87f41c3148407" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-eip2124" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "741bdd7499908b3aa0b159bba11e71c8cddd009a2c2eb7a06e825f1ec87900a5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "crc", - "serde", - "thiserror", -] - -[[package]] -name = "alloy-eip2930" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64579d931b3f8eacc7c9ab0b220e87e9c4816e5c724ede1947b55c2f8e92ae5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde", -] - -[[package]] -name = "alloy-eip7702" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2919c5a56a1007492da313e7a3b6d45ef5edc5d33416fdec63c0d7a2702a0d20" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "serde", - "serde_with", - "thiserror", -] - -[[package]] -name = "alloy-eip7928" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd59d7221d384c46771ffbf6f18f70aa7753326351277857016bed5127b888f" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "once_cell", - "serde", - "thiserror", -] - -[[package]] -name = "alloy-eips" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3e76d47e8de277cb55e7e77fa38adde835162fc01cddbe1b258b5e0a86035b" -dependencies = [ - "alloy-eip2124", - "alloy-eip2930", - "alloy-eip7702", - "alloy-eip7928", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "auto_impl", - "c-kzg", - "derive_more", - "either", - "serde", - "serde_with", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "alloy-evm" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b6bd5f7e5ce9858bac99275e3f548c3b63bb3e5806da0142dc0b2f518d3ec4a" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-hardforks", - "alloy-primitives", - "alloy-sol-types", - "auto_impl", - "derive_more", - "revm", - "thiserror", - "tracing", -] - -[[package]] -name = "alloy-genesis" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0680a2f7d4bbc6f48c0cb43368fa544918a1fa291e772bdb47c834ade338f363" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "alloy-trie", - "serde", - "serde_with", -] - -[[package]] -name = "alloy-hardforks" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865371fb677c005f7cb0ea9c2847a1ba4fdb042caf6428b1769fee20368bbfc7" -dependencies = [ - "alloy-chains", - "alloy-eip2124", - "alloy-primitives", - "auto_impl", - "dyn-clone", -] - -[[package]] -name = "alloy-network-primitives" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8795eecf50374a0dd942caff57922c59333c9991ead9eccbbc1709f55d73c7c2" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-primitives" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f007e257069855bdf21d27762fd3f3705a613f805c9a08309bf353503f081d71" -dependencies = [ - "alloy-rlp", - "bytes", - "cfg-if", - "const-hex", - "derive_more", - "foldhash", - "hashbrown 0.17.1", - "indexmap", - "itoa", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "paste", - "rand 0.9.5", - "ruint", - "serde", - "sha3", -] - -[[package]] -name = "alloy-rlp" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24671b1f62edcf0f9b62994c7bf72cd621a04a4b99f5020ece1a647b40e2f103" -dependencies = [ - "alloy-rlp-derive", - "arrayvec", - "bytes", -] - -[[package]] -name = "alloy-rlp-derive" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4311c03125e8a18296504560b9de3d75ecbd0dcda7f71e6cf2a196d57e6fba" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "alloy-rpc-types-debug" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a97960aa11b9984a18580b8dfbfc3eacfce1befa0d588b03ccc0bc5563d01f8" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "derive_more", - "serde", - "serde_with", -] - -[[package]] -name = "alloy-rpc-types-engine" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a43d7b6b86be4885c7a76f1dfcde9651af2d419ff571e8ee7257de47101203b" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "derive_more", - "strum", -] - -[[package]] -name = "alloy-rpc-types-eth" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "756eb5803e70985be4066b636194ccb5f6629e5d141817c1f0c50cea8350bf5c" -dependencies = [ - "alloy-consensus", - "alloy-consensus-any", - "alloy-eips", - "alloy-network-primitives", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-sol-types", - "itertools 0.13.0", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "alloy-serde" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc142e40df0c3eb5983b1637a68ab33471d8d22b8f402c9ed8260411a4e89d86" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - -[[package]] -name = "alloy-sol-macro" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5655c38d5f84955bf727b2eeb62fddd91ebb98fd1d7ae6eb77f73ea88f9b9cf" -dependencies = [ - "alloy-sol-macro-expander", - "alloy-sol-macro-input", - "proc-macro-error3", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "alloy-sol-macro-expander" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6277c780e07b76951e09a59788dde230d1582612324177d11a43a61e21a6bb83" -dependencies = [ - "alloy-sol-macro-input", - "const-hex", - "heck", - "indexmap", - "proc-macro-error3", - "proc-macro2", - "quote", - "sha3", - "syn 2.0.119", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-macro-input" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9762b2ad3e5a0c09886de54fe549ab0056681df843cb082e2df7e1c0eb270d30" -dependencies = [ - "const-hex", - "dunce", - "heck", - "macro-string", - "proc-macro2", - "quote", - "syn 2.0.119", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-types" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96e74d6213180f78dbdccddce8af02a639c160c94b0a543fa35c77c58b8a7fc" -dependencies = [ - "alloy-primitives", - "alloy-sol-macro", -] - -[[package]] -name = "alloy-trie" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f14b5d9b2c2173980202c6ff470d96e7c5e202c65a9f67884ad565226df7fbb" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "derive_more", - "nybbles", - "serde", - "smallvec", - "thiserror", - "tracing", -] - -[[package]] -name = "alloy-tx-macros" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25484345e4d89c259235e200d4f895eba33e70f125f4e8bb37a7aa69a97bd656" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-bls12-381" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be2ede2c0c96fa37d5d3484e8a59fec566c4a52b8c84bf993eaa6c67d7225a4c" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-bn254" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bc66f96ebe2a17a499475b4f94791d379817592ef494171586967ffdc6f95db" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8352a2b2aedf6ba2cc38f7520fc51191d518dde96175c729af19f2d059f191c4" -dependencies = [ - "ahash", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "educe", - "fnv", - "hashbrown 0.17.1", - "itertools 0.14.0", - "num-bigint 0.4.8", - "num-integer", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a806ac6c8307b929df4645776290a50ee2aac754ad09d8bdf73391309e43af" -dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", - "digest 0.10.7", - "educe", - "num-bigint 0.4.8", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1479009684adc073dff49a1025d3a7065b317a9ead25aaaca38cdc70058ba8a2" -dependencies = [ - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-macros" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0691ed21ef00ef89c1e9bda832eba493dda3ec2f8d892fb25b705f73f06bb8" -dependencies = [ - "num-bigint 0.4.8", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-poly" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f55af10b672002b8d953e230282c51206842e20e5791a94432219b4201de5c" -dependencies = [ - "ahash", - "ark-ff", - "ark-serialize", - "ark-std", - "educe", - "fnv", - "hashbrown 0.17.1", -] - -[[package]] -name = "ark-serialize" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a74dd304fd536fb95d0a328e72be759209cc496a9da094c5bc56e5fea4f9e86b" -dependencies = [ - "ark-serialize-derive", - "ark-std", - "digest 0.10.7", - "num-bigint 0.4.8", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f153690697a2b91e5e1251ff98411ee5371500a111a0fd317a70e588eb300f9" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-std" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367c9c827ed431bff6868b7aa926e05b16eb46603cc8b6e768e4a5553fa1d155" -dependencies = [ - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "arrayref" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" - -[[package]] -name = "arrayvec" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" - -[[package]] -name = "aurora-engine-modexp" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518bc5745a6264b5fd7b09dffb9667e400ee9e2bbe18555fac75e1fe9afa0df9" -dependencies = [ - "hex", - "num", -] - -[[package]] -name = "auto_impl" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "autocfg" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" - -[[package]] -name = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "base64ct" -version = "1.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bindgen" -version = "0.72.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" -dependencies = [ - "bitflags 2.13.1", - "cexpr", - "clang-sys", - "itertools 0.13.0", - "log", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex 1.3.0", - "syn 2.0.119", -] - -[[package]] -name = "bitcoin-consensus-encoding" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6712f9c6fd6785b3b270884e57c441c403dc5d7e19ca45368c97c7a1de3000ec" -dependencies = [ - "bitcoin-internals", - "hex-conservative 1.2.0", - "serde", -] - -[[package]] -name = "bitcoin-internals" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d573f4cf32996a8dce612e4348cece65a241f1882ed594047c9ba348e8869fa5" - -[[package]] -name = "bitcoin-io" -version = "0.1.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb5de036369d1ac59d3c1819ebc4d850f89466f5401c571a285b6ed564a4cb78" -dependencies = [ - "bitcoin-consensus-encoding", -] - -[[package]] -name = "bitcoin_hashes" -version = "0.14.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca4c7abb40c8817d77403c880988cfd484f23ab2365726afb2f798363e2c4a2" -dependencies = [ - "bitcoin-io", - "hex-conservative 0.2.2", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" -dependencies = [ - "serde_core", -] - -[[package]] -name = "bitvec" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" -dependencies = [ - "funty", - "radium", - "serde", - "tap", - "wyz", -] - -[[package]] -name = "blake3" -version = "1.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" -dependencies = [ - "arrayvec", - "cc", - "cfg-if", - "constant_time_eq", - "cpufeatures 0.3.0", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" -dependencies = [ - "hybrid-array", -] - -[[package]] -name = "bls12_381" -version = "0.8.0" -source = "git+https://github.com/sp1-patches/bls12_381?tag=patch-0.8.0-sp1-6.2.0#9e4e2ae4780d3d69cecbec000f5e814df2392468" -dependencies = [ - "cfg-if", - "digest 0.10.7", - "ff", - "group", - "hex", - "pairing", - "rand_core 0.6.4", - "sp1-lib 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "subtle", -] - -[[package]] -name = "blst" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20659f9bbee16cbbd2f7393e40ab6309f5a98f76a2eb57a995ec508b72387fe" -dependencies = [ - "cc", - "glob", - "threadpool", - "zeroize", -] - -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "bytemuck" -version = "1.25.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" -dependencies = [ - "bytemuck_derive", -] - -[[package]] -name = "bytemuck_derive" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0e56a716f1e132ff6bf4bdac1c944a3fcdc1cae65f70a4a2a1ac3b401d2d1f" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "bytes" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" -dependencies = [ - "serde", -] - -[[package]] -name = "c-kzg" -version = "2.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d04308254695569fdb9bfe3bacc1c91837a670d0806605eb82d63748fbd3a6" -dependencies = [ - "blst", - "cc", - "glob", - "hex", - "libc", - "once_cell", - "serde", -] - -[[package]] -name = "cc" -version = "1.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad534f4357a5264cce5019c989cf66a4f0dc4e0d1b1d15f8aacec0ff7360273" -dependencies = [ - "find-msvc-tools", - "jobserver", - "libc", - "shlex 2.0.1", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-if" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" - -[[package]] -name = "chrono" -version = "0.4.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" -dependencies = [ - "num-traits", - "serde", -] - -[[package]] -name = "clang-sys" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "const-default" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b396d1f76d455557e1218ec8066ae14bba60b4b36ecd55577ba979f5db7ecaa" - -[[package]] -name = "const-hex" -version = "1.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e2a781ebdf4467d1428dc4593067825fb646f6871475098d8577421af73558" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "proptest", - "serde_core", -] - -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "constant_time_eq" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" - -[[package]] -name = "convert_case" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "cpufeatures" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" -dependencies = [ - "libc", -] - -[[package]] -name = "crc" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" - -[[package]] -name = "critical-section" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" - -[[package]] -name = "crossbeam-utils" -version = "0.8.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" - -[[package]] -name = "crunchy" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" - -[[package]] -name = "crypto-bigint" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" -dependencies = [ - "generic-array", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "crypto-common" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" -dependencies = [ - "hybrid-array", -] - -[[package]] -name = "darling" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" -dependencies = [ - "ident_case", - "proc-macro2", - "quote", - "serde", - "strsim", - "syn 2.0.119", -] - -[[package]] -name = "darling_macro" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" -dependencies = [ - "darling_core", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "dashmap" -version = "6.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core", - "serde", -] - -[[package]] -name = "defmt" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" -dependencies = [ - "bitflags 1.3.2", - "defmt-macros", -] - -[[package]] -name = "defmt-macros" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" -dependencies = [ - "defmt-parser", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "defmt-parser" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" -dependencies = [ - "thiserror", -] - -[[package]] -name = "der" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "deranged" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" - -[[package]] -name = "derive-where" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d08b3a0bcc0d079199cd476b2cae8435016ec11d1c0986c6901c5ac223041534" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "derive_more" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" -dependencies = [ - "derive_more-impl", -] - -[[package]] -name = "derive_more-impl" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" -dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version", - "syn 2.0.119", - "unicode-xid", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer 0.10.4", - "const-oid", - "crypto-common 0.1.6", - "subtle", -] - -[[package]] -name = "digest" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" -dependencies = [ - "block-buffer 0.12.1", - "crypto-common 0.2.2", -] - -[[package]] -name = "displaydoc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "dunce" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" - -[[package]] -name = "dyn-clone" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" -dependencies = [ - "der", - "digest 0.10.7", - "elliptic-curve", - "rfc6979 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serdect", - "signature", -] - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "git+https://github.com/sp1-patches/signatures?tag=sp1-skip-verify-on-recovery#1880299a48fe7ef249edaa616fd411239fb5daf1" -dependencies = [ - "der", - "digest 0.10.7", - "elliptic-curve", - "rfc6979 0.4.0 (git+https://github.com/sp1-patches/signatures?tag=sp1-skip-verify-on-recovery)", - "signature", -] - -[[package]] -name = "educe" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" -dependencies = [ - "enum-ordinalize", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "either" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" -dependencies = [ - "serde", -] - -[[package]] -name = "elf" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4445909572dbd556c457c849c4ca58623d84b27c8fff1e74b0b4227d8b90d17b" - -[[package]] -name = "elliptic-curve" -version = "0.13.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" -dependencies = [ - "base16ct", - "crypto-bigint", - "digest 0.10.7", - "ff", - "generic-array", - "group", - "hkdf", - "pkcs8", - "rand_core 0.6.4", - "sec1", - "serdect", - "subtle", - "zeroize", -] - -[[package]] -name = "embedded-alloc" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f2de9133f68db0d4627ad69db767726c99ff8585272716708227008d3f1bddd" -dependencies = [ - "const-default", - "critical-section", - "linked_list_allocator", - "rlsf", -] - -[[package]] -name = "enum-ordinalize" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89dd01549b09589510cf0647475075d12071456586d70f5c75c98ae2a5537677" -dependencies = [ - "enum-ordinalize-derive", -] - -[[package]] -name = "enum-ordinalize-derive" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a65863d15a4ce2888bd2f0f543cc963d3879c3a022c8ee43f6141d479a3ac815" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "ere-platform-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" - -[[package]] -name = "ere-platform-sp1" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "ere-platform-core", - "libzkevm", - "sp1-zkvm", -] - -[[package]] -name = "fastrand" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" - -[[package]] -name = "ff" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" -dependencies = [ - "bitvec", - "byteorder", - "ff_derive", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "ff_derive" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f10d12652036b0e99197587c6ba87a8fc3031986499973c030d8b44fcc151b60" -dependencies = [ - "addchain", - "num-bigint 0.3.3", - "num-integer", - "num-traits", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "find-msvc-tools" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" - -[[package]] -name = "fixed-cache" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe63500644ef0269fe6b744e7e5dc5c20b5eebf3d881bc2be53f194636f6583" -dependencies = [ - "equivalent", -] - -[[package]] -name = "fixed-map" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86ed19add84e8cb9e8cc5f7074de0324247149ffef0b851e215fb0edc50c229b" -dependencies = [ - "fixed-map-derive", -] - -[[package]] -name = "fixed-map-derive" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dc7a9cb3326bafb80642c5ce99b39a2c0702d4bfa8ee8a3e773791a6cbe2407" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foldhash" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" - -[[package]] -name = "form_urlencoded" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures-core" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" - -[[package]] -name = "futures-task" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" - -[[package]] -name = "futures-util" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" -dependencies = [ - "futures-core", - "futures-task", - "pin-project-lite", -] - -[[package]] -name = "gcd" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d758ba1b47b00caf47f24925c0074ecb20d6dfcffe7f6d53395c0465674841a" - -[[package]] -name = "generic-array" -version = "0.14.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" -dependencies = [ - "typenum", - "version_check", - "zeroize", -] - -[[package]] -name = "getrandom" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "getrandom" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" -dependencies = [ - "cfg-if", - "libc", - "r-efi 5.3.0", - "wasip2", -] - -[[package]] -name = "getrandom" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" -dependencies = [ - "cfg-if", - "libc", - "r-efi 6.0.0", -] - -[[package]] -name = "glob" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "hashbrown" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" -dependencies = [ - "allocator-api2", - "foldhash", - "serde", - "serde_core", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hex-conservative" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda06d18ac606267c40c04e41b9947729bf8b9efe74bd4e82b61a5f26a510b9f" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "hex-conservative" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35431185f361ccf3ffc58254628af5f1f5d5f28531da2e02e5d6c82bbc282a10" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "hkdf" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" -dependencies = [ - "hmac", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.7", -] - -[[package]] -name = "hybrid-array" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b" -dependencies = [ - "typenum", -] - -[[package]] -name = "icu_collections" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" -dependencies = [ - "displaydoc", - "potential_utf", - "utf8_iter", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_normalizer" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" -dependencies = [ - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" - -[[package]] -name = "icu_properties" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "zerotrie", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" - -[[package]] -name = "icu_provider" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" -dependencies = [ - "displaydoc", - "icu_locale_core", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "indexmap" -version = "2.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" -dependencies = [ - "equivalent", - "hashbrown 0.17.1", - "serde", - "serde_core", -] - -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" - -[[package]] -name = "jiff" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" -dependencies = [ - "defmt", - "jiff-core", - "jiff-static", - "portable-atomic", - "portable-atomic-util", - "serde_core", -] - -[[package]] -name = "jiff-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -dependencies = [ - "defmt", -] - -[[package]] -name = "jiff-static" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204" -dependencies = [ - "jiff-core", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "jobserver" -version = "0.1.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" -dependencies = [ - "getrandom 0.4.3", - "libc", -] - -[[package]] -name = "k256" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" -dependencies = [ - "cfg-if", - "ecdsa 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "elliptic-curve", - "serdect", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "k256" -version = "0.13.4" -source = "git+https://github.com/sp1-patches/elliptic-curves?tag=patch-k256-13.4-sp1-6.2.0#41374de1febd88e67faa695a5641ae46460a8cb6" -dependencies = [ - "cfg-if", - "ecdsa 0.16.9 (git+https://github.com/sp1-patches/signatures?tag=sp1-skip-verify-on-recovery)", - "elliptic-curve", - "hex", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", - "sp1-lib 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "keccak" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", -] - -[[package]] -name = "kzg-rs" -version = "0.2.8" -source = "git+https://github.com/succinctlabs/kzg-rs?tag=v0.2.8-sp1-6.2.0#2d48f8b948746d5cfa62ce7421369278a1c2e405" -dependencies = [ - "bls12_381", - "ff", - "hex", - "serde_arrays", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", - "spin", -] - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" -dependencies = [ - "spin", -] - -[[package]] -name = "libc" -version = "0.2.189" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" - -[[package]] -name = "libloading" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" -dependencies = [ - "cfg-if", - "windows-link", -] - -[[package]] -name = "libm" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" - -[[package]] -name = "libssz" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bdd6d63ed811ae164966de20810be780e07de784a4834ccfe6be90480c369e" -dependencies = [ - "smallvec", -] - -[[package]] -name = "libssz-derive" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee1b9ac9200429f7e9830492765445989ea61c3fb9028ad5a96e1dd5f5e913" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "libssz-merkle" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863eca32d1a43e5ec41106a515552efa8307768d37c68d26b7f21ff13cfee1a7" -dependencies = [ - "libssz", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "libssz-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4231ac301726840a3fe111f11bd4619d3c97ed155cb94c88dbf92b70e04e017" -dependencies = [ - "libssz", - "libssz-merkle", - "smallvec", -] - -[[package]] -name = "libzkevm" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "bls12_381", - "k256 0.13.4 (git+https://github.com/sp1-patches/elliptic-curves?tag=patch-k256-13.4-sp1-6.2.0)", - "kzg-rs", - "num-bigint-dig", - "p256 0.13.2 (git+https://github.com/sp1-patches/elliptic-curves?tag=patch-p256-13.2-sp1-6.2.0)", - "ripemd 0.1.3", - "sha2 0.10.9 (git+https://github.com/sp1-patches/RustCrypto-hashes?tag=patch-sha2-0.10.9-sp1-6.2.0)", - "sp1-zkvm", - "substrate-bn", - "tiny-keccak", -] - -[[package]] -name = "linked_list_allocator" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b23ac50abb8261cb38c6e2a7192d3302e0836dac1628f6a93b82b4fad185897" - -[[package]] -name = "litemap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" - -[[package]] -name = "lock_api" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" - -[[package]] -name = "macro-string" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a9dbbfc75d2688ed057456ce8a3ee3f48d12eec09229f560f3643b9f275653" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "memchr" -version = "2.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "modular-bitfield" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2956e537fc68236d2aa048f55704f231cc93f1c4de42fe1ecb5bd7938061fc4a" -dependencies = [ - "modular-bitfield-impl", - "static_assertions", -] - -[[package]] -name = "modular-bitfield-impl" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b43b4fd69e3437618106f7754f34021b831a514f9e1a98ae863cabcd8d8dad" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "nonmax" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51" -dependencies = [ - "serde", -] - -[[package]] -name = "num" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" -dependencies = [ - "num-bigint 0.4.8", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6f7833f2cbf2360a6cfd58cd41a53aa7a90bd4c202f5b1c7dd2ed73c57b2c3" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-bigint-dig" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7f9a86e097b0d187ad0e65667c2f58b9254671e86e7dbb78036b16692eae099" -dependencies = [ - "libm", - "num-integer", - "num-iter", - "num-traits", - "once_cell", - "smallvec", -] - -[[package]] -name = "num-complex" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-conv" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" - -[[package]] -name = "num-integer" -version = "0.1.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" -dependencies = [ - "num-bigint 0.4.8", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_enum" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" -dependencies = [ - "num_enum_derive", - "rustversion", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "nybbles" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d49ff0c0d00d4a502b39df9af3a525e1efeb14b9dabb5bb83335284c1309210" -dependencies = [ - "alloy-rlp", - "cfg-if", - "ruint", - "serde", - "smallvec", -] - -[[package]] -name = "once_cell" -version = "1.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" -dependencies = [ - "critical-section", - "portable-atomic", -] - -[[package]] -name = "p256" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" -dependencies = [ - "ecdsa 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "elliptic-curve", - "primeorder 0.13.6", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "p256" -version = "0.13.2" -source = "git+https://github.com/sp1-patches/elliptic-curves?tag=patch-p256-13.2-sp1-6.2.0#778543de72a8160a9ce253870da1efae6b18e6d3" -dependencies = [ - "ecdsa 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "elliptic-curve", - "hex", - "primeorder 0.13.1", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", - "sp1-lib 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "p3-bn254-fr" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2077757c7cb514202ccb5368f521f23f5709c720599e6545c683c66e0a52d2d8" -dependencies = [ - "ff", - "num-bigint 0.4.8", - "p3-field", - "p3-poseidon2", - "p3-symmetric", - "rand 0.8.7", - "serde", -] - -[[package]] -name = "p3-challenger" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a908924d43e4cfb93fb41c8346cac211b70314385a9037e9241f5b7f3eaf77" -dependencies = [ - "p3-field", - "p3-maybe-rayon", - "p3-symmetric", - "p3-util", - "serde", - "tracing", -] - -[[package]] -name = "p3-dft" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be6408b10a2c27eb13a7d5580c546c2179a8dc7dbc10a990657311891f9b41c0" -dependencies = [ - "p3-field", - "p3-matrix", - "p3-maybe-rayon", - "p3-util", - "tracing", -] - -[[package]] -name = "p3-field" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dc75969ca3ac847f43e632ab979d59ff7a68f9eac8dbf8edcbba47fc2e1d3aa" -dependencies = [ - "itertools 0.12.1", - "num-bigint 0.4.8", - "num-traits", - "p3-util", - "rand 0.8.7", - "serde", -] - -[[package]] -name = "p3-koala-bear" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a9683cd0ef68100df7c62490533047bcf19c04c4a0fa1efc9d7c1e03e31f6b3" -dependencies = [ - "cfg-if", - "num-bigint 0.4.8", - "p3-field", - "p3-mds", - "p3-poseidon2", - "p3-symmetric", - "rand 0.8.7", - "rustc_version", - "serde", -] - -[[package]] -name = "p3-matrix" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c3f150ceb90e09539413bf481e618d05ee19210b4e467d2902eb82d2e15281" -dependencies = [ - "itertools 0.12.1", - "p3-field", - "p3-maybe-rayon", - "p3-util", - "rand 0.8.7", - "serde", - "tracing", -] - -[[package]] -name = "p3-maybe-rayon" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0641952b42da45e1dfa2d4a2a3163e330f944ad9740942f35026c0a71a605f1" - -[[package]] -name = "p3-mds" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4a5f250e174dcfca5cbeac6ad75713924e7e7320e0a335e3c50b8b1f4fe8ec" -dependencies = [ - "itertools 0.12.1", - "p3-dft", - "p3-field", - "p3-matrix", - "p3-symmetric", - "p3-util", - "rand 0.8.7", -] - -[[package]] -name = "p3-poseidon2" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "522986377b2164c5f94f2dae88e0e0a3d169cc6239202ef4aeb4322d60feffd0" -dependencies = [ - "gcd", - "p3-field", - "p3-mds", - "p3-symmetric", - "rand 0.8.7", - "serde", -] - -[[package]] -name = "p3-symmetric" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9047ce85c086a9b3f118e10078f10636f7bfeed5da871a04da0b61400af8793a" -dependencies = [ - "itertools 0.12.1", - "p3-field", - "serde", -] - -[[package]] -name = "p3-util" -version = "0.4.3-succinct" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff962f8eaa5f36e0447cee7c241f6b4b475fadf3ee61f154327a26bb4e009ba" -dependencies = [ - "serde", -] - -[[package]] -name = "pairing" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fec4625e73cf41ef4bb6846cafa6d44736525f442ba45e407c4a000a13996f" -dependencies = [ - "group", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-link", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "percent-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" - -[[package]] -name = "phf" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" -dependencies = [ - "phf_macros", - "phf_shared", - "serde", -] - -[[package]] -name = "phf_generator" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" -dependencies = [ - "fastrand", - "phf_shared", -] - -[[package]] -name = "phf_macros" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" -dependencies = [ - "phf_generator", - "phf_shared", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "phf_shared" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" -dependencies = [ - "siphasher", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der", - "spki", -] - -[[package]] -name = "pkg-config" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" - -[[package]] -name = "portable-atomic" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" - -[[package]] -name = "portable-atomic-util" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" -dependencies = [ - "portable-atomic", -] - -[[package]] -name = "potential_utf" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" -dependencies = [ - "zerovec", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "prettyplease" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" -dependencies = [ - "proc-macro2", - "syn 2.0.119", -] - -[[package]] -name = "primeorder" -version = "0.13.1" -source = "git+https://github.com/sp1-patches/elliptic-curves?tag=patch-p256-13.2-sp1-6.2.0#778543de72a8160a9ce253870da1efae6b18e6d3" -dependencies = [ - "elliptic-curve", -] - -[[package]] -name = "primeorder" -version = "0.13.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" -dependencies = [ - "elliptic-curve", -] - -[[package]] -name = "proc-macro-error-attr3" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82366fd7d8b7a440d66d13418820c69df9b3908bcb1a0476d7f5ce5d12f5a04d" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "proc-macro-error3" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b511283ea8a74b4b39447b128c5d00f03a356b7424554b13e298a5550100d9ac" -dependencies = [ - "proc-macro-error-attr3", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "proc-macro2" -version = "1.0.107" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "proptest" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" -dependencies = [ - "bitflags 2.13.1", - "num-traits", - "rand 0.9.5", - "rand_chacha 0.9.0", - "rand_xorshift", - "unarray", -] - -[[package]] -name = "quote" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "r-efi" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" - -[[package]] -name = "r-efi" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" - -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "serde", -] - -[[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_core 0.9.5", - "serde", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", - "serde", -] - -[[package]] -name = "rand_xorshift" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" -dependencies = [ - "rand_core 0.9.5", -] - -[[package]] -name = "redox_syscall" -version = "0.5.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" -dependencies = [ - "bitflags 2.13.1", -] - -[[package]] -name = "regex" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" - -[[package]] -name = "reth-chainspec" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-chains", - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "auto_impl", - "derive_more", - "reth-ethereum-forks", - "reth-network-peers", - "reth-primitives-traits", - "serde_json", -] - -[[package]] -name = "reth-codecs" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34b0b409ecf930ed3850e92bd9b4d4f8a8c397eef23e8ba5b1a1a02682a94bd" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "bytes", - "modular-bitfield", - "reth-codecs-derive", - "reth-zstd-compressors", - "serde", -] - -[[package]] -name = "reth-codecs-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcb49ab084e764e7d20f710e2c9daa439380d0fc33f8bfee8c372bfdbc1f437" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "reth-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-primitives", - "auto_impl", - "reth-execution-types", - "reth-primitives-traits", - "thiserror", -] - -[[package]] -name = "reth-consensus-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "reth-chainspec", - "reth-consensus", - "reth-primitives-traits", -] - -[[package]] -name = "reth-db-models" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "reth-primitives-traits", -] - -[[package]] -name = "reth-ethereum-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "reth-chainspec", - "reth-consensus", - "reth-consensus-common", - "reth-execution-types", - "reth-primitives-traits", - "tracing", -] - -[[package]] -name = "reth-ethereum-forks" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eip2124", - "alloy-hardforks", - "alloy-primitives", - "auto_impl", - "once_cell", -] - -[[package]] -name = "reth-ethereum-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rpc-types-eth", - "reth-codecs", - "reth-primitives-traits", - "serde", -] - -[[package]] -name = "reth-evm" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "auto_impl", - "derive_more", - "fixed-cache", - "futures-util", - "reth-execution-errors", - "reth-execution-types", - "reth-primitives-traits", - "reth-storage-api", - "reth-storage-errors", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-evm-ethereum" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "alloy-rpc-types-engine", - "reth-chainspec", - "reth-ethereum-forks", - "reth-ethereum-primitives", - "reth-evm", - "reth-execution-types", - "reth-primitives-traits", - "reth-storage-errors", - "revm", -] - -[[package]] -name = "reth-execution-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-evm", - "alloy-primitives", - "alloy-rlp", - "nybbles", - "reth-storage-errors", - "thiserror", -] - -[[package]] -name = "reth-execution-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "derive_more", - "reth-ethereum-primitives", - "reth-primitives-traits", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-network-peers" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde_with", - "thiserror", - "url", -] - -[[package]] -name = "reth-payload-validator" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-rpc-types-engine", - "reth-primitives-traits", -] - -[[package]] -name = "reth-primitives-traits" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9060738a07ca1b0d8ede3ce21d8187c57cc22ee9e2991b29cbbc663280f843cd" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-eth", - "alloy-trie", - "bytes", - "dashmap", - "derive_more", - "once_cell", - "reth-codecs", - "revm-bytecode", - "revm-primitives", - "revm-state", - "secp256k1", - "serde", - "thiserror", -] - -[[package]] -name = "reth-prune-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "derive_more", - "strum", - "thiserror", - "tracing", -] - -[[package]] -name = "reth-stages-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "reth-trie-common", -] - -[[package]] -name = "reth-static-file-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "derive_more", - "fixed-map", - "reth-stages-types", - "serde", - "strum", -] - -[[package]] -name = "reth-storage-api" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-eips", - "alloy-primitives", - "alloy-rpc-types-engine", - "auto_impl", - "reth-chainspec", - "reth-db-models", - "reth-ethereum-primitives", - "reth-execution-types", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-errors", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-storage-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "derive_more", - "reth-codecs", - "reth-primitives-traits", - "reth-prune-types", - "reth-static-file-types", - "revm", - "thiserror", -] - -[[package]] -name = "reth-trie-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-primitives", - "alloy-rlp", - "alloy-trie", - "derive_more", - "itertools 0.14.0", - "nybbles", - "reth-primitives-traits", - "revm", - "thiserror", -] - -[[package]] -name = "reth-zstd-compressors" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f1ebb37e81a596ce16e81bec6a0c9accbdb914cf19b9190eff69ed00395900" -dependencies = [ - "zstd", -] - -[[package]] -name = "revm" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc210dfb3b45482a9f7c8806f737f7848fb7054b04235e6816480e515c1fe2d5" -dependencies = [ - "revm-bytecode", - "revm-context", - "revm-context-interface", - "revm-database", - "revm-database-interface", - "revm-handler", - "revm-inspector", - "revm-interpreter", - "revm-precompile", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-bytecode" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d38e16b72ec1c836ec8490562bfb21003165ea8bc496086bf345680a6e6c41" -dependencies = [ - "bitvec", - "phf", - "revm-primitives", - "serde", -] - -[[package]] -name = "revm-context" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c16835bc2ead203219a18fcc84c2c71879ad6b890e8a71150cf7f10e4e355dc4" -dependencies = [ - "bitvec", - "cfg-if", - "derive-where", - "revm-bytecode", - "revm-context-interface", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-context-interface" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b4109bdceaca5ee6e27bf41f6b156f2b15892dc5bb47d3530bc4d3b3060077" -dependencies = [ - "alloy-eip2930", - "alloy-eip7702", - "auto_impl", - "either", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-database" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d764afa9a1c9278c05d40461b07319d21ccb39c1bdf0e9dde7e5ea7d9be53d" -dependencies = [ - "derive_more", - "either", - "revm-bytecode", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-database-interface" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2a27e4440c2ef4932afdaa28a1d1ac8601504c7030c1a387b5e307d07d864d1" -dependencies = [ - "auto_impl", - "either", - "revm-primitives", - "revm-state", - "thiserror", -] - -[[package]] -name = "revm-handler" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b8d988f896e22b19962658bc1afcd0989f727d48b2860a8bd7ceaecbf72ce34" -dependencies = [ - "auto_impl", - "derive-where", - "revm-bytecode", - "revm-context", - "revm-context-interface", - "revm-database-interface", - "revm-interpreter", - "revm-precompile", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-inspector" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2584990403728b2e13fb5522510b61e4bb217c6a4c8f4d063447a6ddd7dd7cc" -dependencies = [ - "auto_impl", - "either", - "revm-context", - "revm-database-interface", - "revm-handler", - "revm-interpreter", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-interpreter" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "932f7fe05a2cdeb08195dd7e88a09a4da7c3660cdc6e62720839c77ba77f65aa" -dependencies = [ - "revm-bytecode", - "revm-context-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-precompile" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac4dc0279f2a44770faa8c93d008df684440cf573c91b8e0e39d0d581abf7b3d" -dependencies = [ - "ark-bls12-381", - "ark-bn254", - "ark-ec", - "ark-ff", - "ark-serialize", - "arrayref", - "aurora-engine-modexp", - "cfg-if", - "k256 0.13.4 (registry+https://github.com/rust-lang/crates.io-index)", - "p256 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", - "revm-context-interface", - "revm-primitives", - "ripemd 0.2.0", - "sha2 0.11.0", -] - -[[package]] -name = "revm-primitives" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f4ba1a5757fe4398262290422c371556fcebf236f762f7ed7ff2c56768a63c" -dependencies = [ - "alloy-primitives", - "once_cell", - "serde", -] - -[[package]] -name = "revm-state" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd02082cf1baca01e8bc17456c45136bdc66632395a98db1c1a2afe4c6ea87f" -dependencies = [ - "alloy-eip7928", - "bitflags 2.13.1", - "nonmax", - "revm-bytecode", - "revm-primitives", - "serde", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac", - "subtle", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "git+https://github.com/sp1-patches/signatures?tag=sp1-skip-verify-on-recovery#1880299a48fe7ef249edaa616fd411239fb5daf1" -dependencies = [ - "hmac", - "subtle", -] - -[[package]] -name = "ripemd" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" -dependencies = [ - "digest 0.10.7", -] - -[[package]] -name = "ripemd" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd4211456b4172d7e44261920c25acf07367c4f04bb5f5d54fc21b090d9b159" -dependencies = [ - "digest 0.11.3", -] - -[[package]] -name = "rlsf" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07393724337be2ee43a9d86164df4505746874a3fa65913374bc6d6a92314362" -dependencies = [ - "cfg-if", - "const-default", - "libc", - "rustversion", -] - -[[package]] -name = "ruint" -version = "1.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5e99bff0393163bb25029a6af25d3d8d202ba5b5438a74d1bd8789f5c822970" -dependencies = [ - "alloy-rlp", - "proptest", - "rand 0.8.7", - "rand 0.9.5", - "ruint-macro", - "serde_core", - "valuable", - "zeroize", -] - -[[package]] -name = "ruint-macro" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" - -[[package]] -name = "rustc-hash" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustversion" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "sec1" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct", - "der", - "generic-array", - "pkcs8", - "serdect", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" -dependencies = [ - "bitcoin_hashes", - "rand 0.8.7", - "secp256k1-sys", - "serde", -] - -[[package]] -name = "secp256k1-sys" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9" -dependencies = [ - "cc", -] - -[[package]] -name = "semver" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" - -[[package]] -name = "serde" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" -dependencies = [ - "serde_core", - "serde_derive", -] - -[[package]] -name = "serde_arrays" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94a16b99c5ea4fe3daccd14853ad260ec00ea043b2708d1fd1da3106dcd8d9df" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_core" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "serde_json" -version = "1.0.151" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" -dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", -] - -[[package]] -name = "serde_with" -version = "3.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a" -dependencies = [ - "base64", - "bs58", - "chrono", - "hex", - "jiff", - "serde_core", - "serde_json", - "serde_with_macros", - "time", -] - -[[package]] -name = "serde_with_macros" -version = "3.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "serdect" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" -dependencies = [ - "base16ct", - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "digest 0.10.7", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "git+https://github.com/sp1-patches/RustCrypto-hashes?tag=patch-sha2-0.10.9-sp1-6.2.0#e48b656ebc806117554bb33c2f8687e4637e37ff" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "digest 0.10.7", -] - -[[package]] -name = "sha2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", - "digest 0.11.3", -] - -[[package]] -name = "sha3" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be176f1a57ce4e3d31c1a166222d9768de5954f811601fb7ca06fc8203905ce1" -dependencies = [ - "digest 0.11.3", - "keccak", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "shlex" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" - -[[package]] -name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "siphasher" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" - -[[package]] -name = "slop-algebra" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595bd5d17770f28d726ab9a18b9ddedd8cc321de438f04c4e48e8863490daade" -dependencies = [ - "itertools 0.14.0", - "p3-field", - "serde", -] - -[[package]] -name = "slop-algebra" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "itertools 0.14.0", - "p3-field", - "serde", -] - -[[package]] -name = "slop-bn254" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "690a37ca47bf4e7ff9b82d61639f40a54189231a683e6e6911e1f64f50847e49" -dependencies = [ - "ff", - "p3-bn254-fr", - "serde", - "slop-algebra 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-challenger 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-poseidon2 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-symmetric 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "slop-bn254" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "ff", - "p3-bn254-fr", - "serde", - "slop-algebra 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-challenger 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-poseidon2 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-symmetric 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", -] - -[[package]] -name = "slop-challenger" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "984685f5f90c90a404e198d6b44b45dcc03e5129896a5580f372711ecb4719d4" -dependencies = [ - "p3-challenger", - "serde", - "slop-algebra 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-symmetric 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "slop-challenger" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "p3-challenger", - "serde", - "slop-algebra 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-symmetric 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", -] - -[[package]] -name = "slop-koala-bear" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7e2bcb7e2c60876d5b512d64b3e4a12d0cbda16904acca239d12da99892b643" -dependencies = [ - "lazy_static", - "p3-koala-bear", - "serde", - "slop-algebra 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-challenger 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-poseidon2 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-symmetric 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "slop-koala-bear" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "lazy_static", - "p3-koala-bear", - "serde", - "slop-algebra 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-challenger 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-poseidon2 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-symmetric 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", -] - -[[package]] -name = "slop-poseidon2" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f199d86bc430b6bd680db7a73ba36a498a330e67a5d5cd43a7d6721470a2e8ca" -dependencies = [ - "p3-poseidon2", -] - -[[package]] -name = "slop-poseidon2" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "p3-poseidon2", -] - -[[package]] -name = "slop-primitives" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fdaaf4b5b473fde672c953399f1769c95dffd1f62f0ce895369043ed421a1e" - -[[package]] -name = "slop-primitives" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" - -[[package]] -name = "slop-symmetric" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "340b51e681138ba5673a8573f2bfef1865dd790d2a5bd63bf84cdcef122316d8" -dependencies = [ - "p3-symmetric", -] - -[[package]] -name = "slop-symmetric" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "p3-symmetric", -] - -[[package]] -name = "smallvec" -version = "1.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" -dependencies = [ - "serde", -] - -[[package]] -name = "sp1-lib" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56a18249eecbf1d500ca102f1bc08b7e4ebff2ae610a517f0ee8437b448a32c8" -dependencies = [ - "bincode", - "elliptic-curve", - "serde", - "sp1-primitives 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "sp1-lib" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "bincode", - "serde", - "sp1-primitives 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", -] - -[[package]] -name = "sp1-primitives" -version = "6.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a54b724a778bb00445315828b523d70455d860da6d5241d386e89294d7476b89" -dependencies = [ - "bincode", - "blake3", - "elf", - "hex", - "itertools 0.14.0", - "lazy_static", - "num-bigint 0.4.8", - "serde", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-algebra 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-bn254 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-challenger 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-koala-bear 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-poseidon2 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-primitives 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-symmetric 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "sp1-primitives" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "bincode", - "blake3", - "elf", - "hex", - "itertools 0.14.0", - "lazy_static", - "num-bigint 0.4.8", - "serde", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", - "slop-algebra 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-bn254 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-challenger 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-koala-bear 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-poseidon2 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-primitives 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "slop-symmetric 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", -] - -[[package]] -name = "sp1-zkvm" -version = "6.9.0" -source = "git+https://github.com/succinctlabs/sp1?tag=v6.9.0#b8387fa61e1361d90ee7de49f551863418ca0f08" -dependencies = [ - "cfg-if", - "critical-section", - "embedded-alloc", - "getrandom 0.2.17", - "getrandom 0.3.4", - "libm", - "rand 0.8.7", - "sha2 0.10.9 (registry+https://github.com/rust-lang/crates.io-index)", - "sp1-lib 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", - "sp1-primitives 6.9.0 (git+https://github.com/succinctlabs/sp1?tag=v6.9.0)", -] - -[[package]] -name = "spin" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" - -[[package]] -name = "stateless" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", - "reth-chainspec", - "reth-consensus", - "reth-ethereum-consensus", - "reth-ethereum-primitives", - "reth-evm", - "reth-primitives-traits", - "reth-trie-common", - "revm", - "revm-bytecode", - "revm-database-interface", - "revm-state", - "serde", - "serde_with", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-common" -version = "0.1.0" -dependencies = [ - "libssz", - "libssz-derive", - "libssz-merkle", - "libssz-types", - "paste", - "thiserror", -] - -[[package]] -name = "stateless-validator-reth" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rpc-types-engine", - "ere-platform-core", - "reth-chainspec", - "reth-ethereum-primitives", - "reth-evm-ethereum", - "reth-payload-validator", - "reth-primitives-traits", - "stateless", - "stateless-validator-common", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-reth-sp1" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "ere-platform-sp1", - "stateless-validator-reth", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "strum" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "substrate-bn" -version = "0.6.0" -source = "git+https://github.com/sp1-patches/bn?tag=patch-0.6.0-sp1-6.2.0-substrate-bn#b9cd95a749de1f20ac786178f9f8754f79a5ad55" -dependencies = [ - "bytemuck", - "byteorder", - "cfg-if", - "crunchy", - "lazy_static", - "num-bigint 0.4.8", - "rand 0.8.7", - "rustc-hex", - "sp1-lib 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "subtle" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.119" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn-solidity" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083be3061e64d362cbe6ef12cfe1307ba3884326d8856448fe8a120fa2c44ebf" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "synstructure" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "thiserror" -version = "2.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "time" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" -dependencies = [ - "deranged", - "num-conv", - "powerfmt", - "serde_core", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "git+https://github.com/sp1-patches/tiny-keccak?tag=patch-2.0.2-sp1-6.2.0#c3f95bcc35b391101d0cf0abe91ea4c8423868b0" -dependencies = [ - "cfg-if", - "crunchy", - "sp1-lib 6.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "tinystr" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "tinyvec" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tracing" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "tracing-core" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" -dependencies = [ - "once_cell", -] - -[[package]] -name = "tries" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", - "alloy-trie", - "reth-trie-common", - "revm-database-interface", - "thiserror", - "zeth-mpt", -] - -[[package]] -name = "typenum" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "unicode-ident" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" - -[[package]] -name = "unicode-segmentation" -version = "1.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "url" -version = "2.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - -[[package]] -name = "valuable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - -[[package]] -name = "wasip2" -version = "1.0.4+wasi-0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" -dependencies = [ - "wit-bindgen", -] - -[[package]] -name = "windows-link" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" - -[[package]] -name = "wit-bindgen" -version = "0.57.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" - -[[package]] -name = "writeable" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" - -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - -[[package]] -name = "yoke" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" -dependencies = [ - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "synstructure", -] - -[[package]] -name = "zerocopy" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "zerofrom" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "synstructure", -] - -[[package]] -name = "zeroize" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "zerotrie" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", -] - -[[package]] -name = "zerovec" -version = "0.11.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "zeth-mpt" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-trie", - "arrayvec", -] - -[[package]] -name = "zkvm-interface" -version = "0.1.0" -source = "git+https://github.com/eth-act/zkvm-standards?rev=282cd356c3a0498416bb0619f9c8a347ce9933fb#282cd356c3a0498416bb0619f9c8a347ce9933fb" -dependencies = [ - "bindgen", -] - -[[package]] -name = "zmij" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" - -[[package]] -name = "zstd" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "7.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" -dependencies = [ - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.16+zstd.1.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" -dependencies = [ - "cc", - "pkg-config", -] diff --git a/bin/stateless-validator-reth/sp1/Cargo.toml b/bin/stateless-validator-reth/sp1/Cargo.toml deleted file mode 100644 index cb0646e..0000000 --- a/bin/stateless-validator-reth/sp1/Cargo.toml +++ /dev/null @@ -1,25 +0,0 @@ -[workspace] - -[package] -name = "stateless-validator-reth-sp1" -version = "0.1.0" -edition = "2024" - -[dependencies] -# enable features -alloy-primitives = { version = "1.6.1", default-features = false, features = [ - "map-foldhash", - "native-keccak", -] } - -# ere -ere-platform-sp1 = { git = "https://github.com/eth-act/ere", tag = "v0.20.0" } - -# local -stateless-validator-reth = { path = "../../../crates/stateless-validator-reth", default-features = false, features = [ - "sp1", -] } - -[profile.release] -codegen-units = 1 -lto = "fat" diff --git a/bin/stateless-validator-reth/sp1/src/main.rs b/bin/stateless-validator-reth/sp1/src/main.rs deleted file mode 100644 index 080836a..0000000 --- a/bin/stateless-validator-reth/sp1/src/main.rs +++ /dev/null @@ -1,12 +0,0 @@ -//! SP1 Reth stateless validator guest program. - -#![no_main] - -use ere_platform_sp1::{SP1Platform, sp1_zkvm}; -use stateless_validator_reth::guest::entrypoint; - -sp1_zkvm::entrypoint!(main); - -fn main() { - entrypoint::(); -} diff --git a/bin/stateless-validator-reth/zisk/Cargo.lock b/bin/stateless-validator-reth/zisk/Cargo.lock deleted file mode 100644 index 2454030..0000000 --- a/bin/stateless-validator-reth/zisk/Cargo.lock +++ /dev/null @@ -1,3949 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "ahash" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" -dependencies = [ - "memchr", -] - -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - -[[package]] -name = "alloy-chains" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fdcfed8f106be3df944054aaa42bc13ae103a3ac8a9f4b08d4f053e3a743f8" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "num_enum", - "phf", - "serde", -] - -[[package]] -name = "alloy-consensus" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b836b372d3b742b7c083d2617d6e68563cd5dadbd8752c461a935a756551e69" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-trie", - "alloy-tx-macros", - "auto_impl", - "c-kzg", - "derive_more", - "either", - "k256", - "once_cell", - "rand 0.8.7", - "secp256k1 0.30.0", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "alloy-consensus-any" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1befb37485ea71e8599e32ffd76c98af7c3720a34741d30abd87f41c3148407" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-eip2124" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "741bdd7499908b3aa0b159bba11e71c8cddd009a2c2eb7a06e825f1ec87900a5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "crc", - "serde", - "thiserror", -] - -[[package]] -name = "alloy-eip2930" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64579d931b3f8eacc7c9ab0b220e87e9c4816e5c724ede1947b55c2f8e92ae5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde", -] - -[[package]] -name = "alloy-eip7702" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2919c5a56a1007492da313e7a3b6d45ef5edc5d33416fdec63c0d7a2702a0d20" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "k256", - "serde", - "serde_with", - "thiserror", -] - -[[package]] -name = "alloy-eip7928" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd59d7221d384c46771ffbf6f18f70aa7753326351277857016bed5127b888f" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "once_cell", - "serde", - "thiserror", -] - -[[package]] -name = "alloy-eips" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3e76d47e8de277cb55e7e77fa38adde835162fc01cddbe1b258b5e0a86035b" -dependencies = [ - "alloy-eip2124", - "alloy-eip2930", - "alloy-eip7702", - "alloy-eip7928", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "auto_impl", - "c-kzg", - "derive_more", - "either", - "serde", - "serde_with", - "sha2 0.10.9", -] - -[[package]] -name = "alloy-evm" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b6bd5f7e5ce9858bac99275e3f548c3b63bb3e5806da0142dc0b2f518d3ec4a" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-hardforks", - "alloy-primitives", - "alloy-sol-types", - "auto_impl", - "derive_more", - "revm", - "thiserror", - "tracing", -] - -[[package]] -name = "alloy-genesis" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0680a2f7d4bbc6f48c0cb43368fa544918a1fa291e772bdb47c834ade338f363" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "alloy-trie", - "serde", - "serde_with", -] - -[[package]] -name = "alloy-hardforks" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865371fb677c005f7cb0ea9c2847a1ba4fdb042caf6428b1769fee20368bbfc7" -dependencies = [ - "alloy-chains", - "alloy-eip2124", - "alloy-primitives", - "auto_impl", - "dyn-clone", -] - -[[package]] -name = "alloy-network-primitives" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8795eecf50374a0dd942caff57922c59333c9991ead9eccbbc1709f55d73c7c2" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-primitives" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f007e257069855bdf21d27762fd3f3705a613f805c9a08309bf353503f081d71" -dependencies = [ - "alloy-rlp", - "bytes", - "cfg-if", - "const-hex", - "derive_more", - "foldhash", - "hashbrown 0.17.1", - "indexmap", - "itoa", - "k256", - "paste", - "rand 0.9.5", - "ruint", - "serde", - "sha3", -] - -[[package]] -name = "alloy-rlp" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24671b1f62edcf0f9b62994c7bf72cd621a04a4b99f5020ece1a647b40e2f103" -dependencies = [ - "alloy-rlp-derive", - "arrayvec", - "bytes", -] - -[[package]] -name = "alloy-rlp-derive" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4311c03125e8a18296504560b9de3d75ecbd0dcda7f71e6cf2a196d57e6fba" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "alloy-rpc-types-debug" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a97960aa11b9984a18580b8dfbfc3eacfce1befa0d588b03ccc0bc5563d01f8" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "derive_more", - "serde", - "serde_with", -] - -[[package]] -name = "alloy-rpc-types-engine" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a43d7b6b86be4885c7a76f1dfcde9651af2d419ff571e8ee7257de47101203b" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "derive_more", - "strum", -] - -[[package]] -name = "alloy-rpc-types-eth" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "756eb5803e70985be4066b636194ccb5f6629e5d141817c1f0c50cea8350bf5c" -dependencies = [ - "alloy-consensus", - "alloy-consensus-any", - "alloy-eips", - "alloy-network-primitives", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-sol-types", - "itertools 0.14.0", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "alloy-serde" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc142e40df0c3eb5983b1637a68ab33471d8d22b8f402c9ed8260411a4e89d86" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - -[[package]] -name = "alloy-sol-macro" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5655c38d5f84955bf727b2eeb62fddd91ebb98fd1d7ae6eb77f73ea88f9b9cf" -dependencies = [ - "alloy-sol-macro-expander", - "alloy-sol-macro-input", - "proc-macro-error3", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "alloy-sol-macro-expander" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6277c780e07b76951e09a59788dde230d1582612324177d11a43a61e21a6bb83" -dependencies = [ - "alloy-sol-macro-input", - "const-hex", - "heck", - "indexmap", - "proc-macro-error3", - "proc-macro2", - "quote", - "sha3", - "syn 2.0.119", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-macro-input" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9762b2ad3e5a0c09886de54fe549ab0056681df843cb082e2df7e1c0eb270d30" -dependencies = [ - "const-hex", - "dunce", - "heck", - "macro-string", - "proc-macro2", - "quote", - "syn 2.0.119", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-types" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96e74d6213180f78dbdccddce8af02a639c160c94b0a543fa35c77c58b8a7fc" -dependencies = [ - "alloy-primitives", - "alloy-sol-macro", -] - -[[package]] -name = "alloy-trie" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f14b5d9b2c2173980202c6ff470d96e7c5e202c65a9f67884ad565226df7fbb" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "derive_more", - "nybbles", - "serde", - "smallvec", - "thiserror", - "tracing", -] - -[[package]] -name = "alloy-tx-macros" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25484345e4d89c259235e200d4f895eba33e70f125f4e8bb37a7aa69a97bd656" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-bls12-381" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" -dependencies = [ - "ark-ec 0.5.0", - "ark-ff 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", -] - -[[package]] -name = "ark-bls12-381" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be2ede2c0c96fa37d5d3484e8a59fec566c4a52b8c84bf993eaa6c67d7225a4c" -dependencies = [ - "ark-ec 0.6.0", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", -] - -[[package]] -name = "ark-bn254" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" -dependencies = [ - "ark-ec 0.5.0", - "ark-ff 0.5.0", - "ark-std 0.5.0", -] - -[[package]] -name = "ark-bn254" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bc66f96ebe2a17a499475b4f94791d379817592ef494171586967ffdc6f95db" -dependencies = [ - "ark-ec 0.6.0", - "ark-ff 0.6.0", - "ark-std 0.6.0", -] - -[[package]] -name = "ark-ec" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" -dependencies = [ - "ahash", - "ark-ff 0.5.0", - "ark-poly 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", - "educe", - "fnv", - "hashbrown 0.15.5", - "itertools 0.13.0", - "num-bigint", - "num-integer", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8352a2b2aedf6ba2cc38f7520fc51191d518dde96175c729af19f2d059f191c4" -dependencies = [ - "ahash", - "ark-ff 0.6.0", - "ark-poly 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "educe", - "fnv", - "hashbrown 0.17.1", - "itertools 0.14.0", - "num-bigint", - "num-integer", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" -dependencies = [ - "ark-ff-asm 0.5.0", - "ark-ff-macros 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", - "arrayvec", - "digest 0.10.7", - "educe", - "itertools 0.13.0", - "num-bigint", - "num-traits", - "paste", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a806ac6c8307b929df4645776290a50ee2aac754ad09d8bdf73391309e43af" -dependencies = [ - "ark-ff-asm 0.6.0", - "ark-ff-macros 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "digest 0.10.7", - "educe", - "num-bigint", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" -dependencies = [ - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-asm" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1479009684adc073dff49a1025d3a7065b317a9ead25aaaca38cdc70058ba8a2" -dependencies = [ - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-macros" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-ff-macros" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0691ed21ef00ef89c1e9bda832eba493dda3ec2f8d892fb25b705f73f06bb8" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-poly" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" -dependencies = [ - "ahash", - "ark-ff 0.5.0", - "ark-serialize 0.5.0", - "ark-std 0.5.0", - "educe", - "fnv", - "hashbrown 0.15.5", -] - -[[package]] -name = "ark-poly" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f55af10b672002b8d953e230282c51206842e20e5791a94432219b4201de5c" -dependencies = [ - "ahash", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "ark-std 0.6.0", - "educe", - "fnv", - "hashbrown 0.17.1", -] - -[[package]] -name = "ark-secp256k1" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8bd211c48debd3037b48873a7aa22c3aba034e83388aa4124795c9f220b88c7" -dependencies = [ - "ark-ec 0.5.0", - "ark-ff 0.5.0", - "ark-std 0.5.0", -] - -[[package]] -name = "ark-secp256r1" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cf8be5820de567729bfa73a410ddd07cec8ad102d9a4bf61fd6b2e60db264e8" -dependencies = [ - "ark-ec 0.5.0", - "ark-ff 0.5.0", - "ark-std 0.5.0", -] - -[[package]] -name = "ark-serialize" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" -dependencies = [ - "ark-serialize-derive 0.5.0", - "ark-std 0.5.0", - "arrayvec", - "digest 0.10.7", - "num-bigint", -] - -[[package]] -name = "ark-serialize" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a74dd304fd536fb95d0a328e72be759209cc496a9da094c5bc56e5fea4f9e86b" -dependencies = [ - "ark-serialize-derive 0.6.0", - "ark-std 0.6.0", - "digest 0.10.7", - "num-bigint", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f153690697a2b91e5e1251ff98411ee5371500a111a0fd317a70e588eb300f9" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "ark-std" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" -dependencies = [ - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "ark-std" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367c9c827ed431bff6868b7aa926e05b16eb46603cc8b6e768e4a5553fa1d155" -dependencies = [ - "num-traits", - "rand 0.8.7", -] - -[[package]] -name = "arrayref" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" - -[[package]] -name = "arrayvec" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" - -[[package]] -name = "aurora-engine-modexp" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518bc5745a6264b5fd7b09dffb9667e400ee9e2bbe18555fac75e1fe9afa0df9" -dependencies = [ - "hex", - "num", -] - -[[package]] -name = "auto_impl" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "autocfg" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" - -[[package]] -name = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "base64ct" -version = "1.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" - -[[package]] -name = "bincode" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740" -dependencies = [ - "serde", - "unty", -] - -[[package]] -name = "bindgen" -version = "0.72.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" -dependencies = [ - "bitflags 2.13.1", - "cexpr", - "clang-sys", - "itertools 0.13.0", - "log", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex 1.3.0", - "syn 2.0.119", -] - -[[package]] -name = "bitcoin-consensus-encoding" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6712f9c6fd6785b3b270884e57c441c403dc5d7e19ca45368c97c7a1de3000ec" -dependencies = [ - "bitcoin-internals", - "hex-conservative 1.2.0", - "serde", -] - -[[package]] -name = "bitcoin-internals" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d573f4cf32996a8dce612e4348cece65a241f1882ed594047c9ba348e8869fa5" - -[[package]] -name = "bitcoin-io" -version = "0.1.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb5de036369d1ac59d3c1819ebc4d850f89466f5401c571a285b6ed564a4cb78" -dependencies = [ - "bitcoin-consensus-encoding", -] - -[[package]] -name = "bitcoin_hashes" -version = "0.14.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca4c7abb40c8817d77403c880988cfd484f23ab2365726afb2f798363e2c4a2" -dependencies = [ - "bitcoin-io", - "hex-conservative 0.2.2", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" -dependencies = [ - "serde_core", -] - -[[package]] -name = "bitvec" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" -dependencies = [ - "funty", - "radium", - "serde", - "tap", - "wyz", -] - -[[package]] -name = "blake3" -version = "1.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" -dependencies = [ - "arrayvec", - "cc", - "cfg-if", - "constant_time_eq", - "cpufeatures 0.3.0", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" -dependencies = [ - "hybrid-array", -] - -[[package]] -name = "blst" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20659f9bbee16cbbd2f7393e40ab6309f5a98f76a2eb57a995ec508b72387fe" -dependencies = [ - "cc", - "glob", - "threadpool", - "zeroize", -] - -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "bytes" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" -dependencies = [ - "serde", -] - -[[package]] -name = "c-kzg" -version = "2.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d04308254695569fdb9bfe3bacc1c91837a670d0806605eb82d63748fbd3a6" -dependencies = [ - "blst", - "cc", - "glob", - "hex", - "libc", - "once_cell", - "serde", -] - -[[package]] -name = "cc" -version = "1.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad534f4357a5264cce5019c989cf66a4f0dc4e0d1b1d15f8aacec0ff7360273" -dependencies = [ - "find-msvc-tools", - "jobserver", - "libc", - "shlex 2.0.1", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-if" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" - -[[package]] -name = "chrono" -version = "0.4.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" -dependencies = [ - "num-traits", - "serde", -] - -[[package]] -name = "clang-sys" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "const-hex" -version = "1.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e2a781ebdf4467d1428dc4593067825fb646f6871475098d8577421af73558" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "proptest", - "serde_core", -] - -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "constant_time_eq" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" - -[[package]] -name = "convert_case" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "cpufeatures" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" -dependencies = [ - "libc", -] - -[[package]] -name = "crc" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" - -[[package]] -name = "critical-section" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" - -[[package]] -name = "crossbeam-utils" -version = "0.8.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" - -[[package]] -name = "crunchy" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" - -[[package]] -name = "crypto-bigint" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" -dependencies = [ - "generic-array", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "crypto-common" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" -dependencies = [ - "hybrid-array", -] - -[[package]] -name = "darling" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" -dependencies = [ - "ident_case", - "proc-macro2", - "quote", - "serde", - "strsim", - "syn 2.0.119", -] - -[[package]] -name = "darling_macro" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" -dependencies = [ - "darling_core", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "dashmap" -version = "6.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core", - "serde", -] - -[[package]] -name = "defmt" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" -dependencies = [ - "bitflags 1.3.2", - "defmt-macros", -] - -[[package]] -name = "defmt-macros" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" -dependencies = [ - "defmt-parser", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "defmt-parser" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" -dependencies = [ - "thiserror", -] - -[[package]] -name = "der" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "deranged" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" - -[[package]] -name = "derive-where" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d08b3a0bcc0d079199cd476b2cae8435016ec11d1c0986c6901c5ac223041534" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "derive_more" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" -dependencies = [ - "derive_more-impl", -] - -[[package]] -name = "derive_more-impl" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" -dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version", - "syn 2.0.119", - "unicode-xid", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer 0.10.4", - "const-oid", - "crypto-common 0.1.6", - "subtle", -] - -[[package]] -name = "digest" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" -dependencies = [ - "block-buffer 0.12.1", - "crypto-common 0.2.2", -] - -[[package]] -name = "displaydoc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "dunce" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" - -[[package]] -name = "dyn-clone" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" -dependencies = [ - "der", - "digest 0.10.7", - "elliptic-curve", - "rfc6979", - "serdect", - "signature", -] - -[[package]] -name = "educe" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" -dependencies = [ - "enum-ordinalize", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "either" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" -dependencies = [ - "serde", -] - -[[package]] -name = "elliptic-curve" -version = "0.13.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" -dependencies = [ - "base16ct", - "crypto-bigint", - "digest 0.10.7", - "ff", - "generic-array", - "group", - "pkcs8", - "rand_core 0.6.4", - "sec1", - "serdect", - "subtle", - "zeroize", -] - -[[package]] -name = "enum-ordinalize" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89dd01549b09589510cf0647475075d12071456586d70f5c75c98ae2a5537677" -dependencies = [ - "enum-ordinalize-derive", -] - -[[package]] -name = "enum-ordinalize-derive" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a65863d15a4ce2888bd2f0f543cc963d3879c3a022c8ee43f6141d479a3ac815" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "ere-platform-core" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" - -[[package]] -name = "ere-platform-zisk" -version = "0.20.0" -source = "git+https://github.com/eth-act/ere?tag=v0.20.0#a1bf10e04a54476e85dc8507028d2767e3a47c60" -dependencies = [ - "ere-platform-core", - "ziskos", -] - -[[package]] -name = "fastrand" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" - -[[package]] -name = "ff" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "find-msvc-tools" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" - -[[package]] -name = "fixed-cache" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe63500644ef0269fe6b744e7e5dc5c20b5eebf3d881bc2be53f194636f6583" -dependencies = [ - "equivalent", -] - -[[package]] -name = "fixed-map" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86ed19add84e8cb9e8cc5f7074de0324247149ffef0b851e215fb0edc50c229b" -dependencies = [ - "fixed-map-derive", -] - -[[package]] -name = "fixed-map-derive" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dc7a9cb3326bafb80642c5ce99b39a2c0702d4bfa8ee8a3e773791a6cbe2407" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foldhash" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" - -[[package]] -name = "form_urlencoded" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures-core" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" - -[[package]] -name = "futures-task" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" - -[[package]] -name = "futures-util" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" -dependencies = [ - "futures-core", - "futures-task", - "pin-project-lite", -] - -[[package]] -name = "generic-array" -version = "0.14.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" -dependencies = [ - "typenum", - "version_check", - "zeroize", -] - -[[package]] -name = "getrandom" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "getrandom" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" -dependencies = [ - "cfg-if", - "libc", - "r-efi 5.3.0", - "wasip2", -] - -[[package]] -name = "getrandom" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" -dependencies = [ - "cfg-if", - "libc", - "r-efi 6.0.0", -] - -[[package]] -name = "glob" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "allocator-api2", -] - -[[package]] -name = "hashbrown" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" -dependencies = [ - "allocator-api2", - "foldhash", - "serde", - "serde_core", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hex-conservative" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda06d18ac606267c40c04e41b9947729bf8b9efe74bd4e82b61a5f26a510b9f" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "hex-conservative" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35431185f361ccf3ffc58254628af5f1f5d5f28531da2e02e5d6c82bbc282a10" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.7", -] - -[[package]] -name = "hybrid-array" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b" -dependencies = [ - "typenum", -] - -[[package]] -name = "icu_collections" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" -dependencies = [ - "displaydoc", - "potential_utf", - "utf8_iter", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_normalizer" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" -dependencies = [ - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" - -[[package]] -name = "icu_properties" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "zerotrie", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" - -[[package]] -name = "icu_provider" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" -dependencies = [ - "displaydoc", - "icu_locale_core", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "indexmap" -version = "2.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" -dependencies = [ - "equivalent", - "hashbrown 0.17.1", - "serde", - "serde_core", -] - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" - -[[package]] -name = "jiff" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" -dependencies = [ - "defmt", - "jiff-core", - "jiff-static", - "portable-atomic", - "portable-atomic-util", - "serde_core", -] - -[[package]] -name = "jiff-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -dependencies = [ - "defmt", -] - -[[package]] -name = "jiff-static" -version = "0.2.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204" -dependencies = [ - "jiff-core", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "jobserver" -version = "0.1.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" -dependencies = [ - "getrandom 0.4.3", - "libc", -] - -[[package]] -name = "k256" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" -dependencies = [ - "cfg-if", - "ecdsa", - "elliptic-curve", - "serdect", - "sha2 0.10.9", -] - -[[package]] -name = "keccak" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", -] - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "libc" -version = "0.2.189" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" - -[[package]] -name = "libloading" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" -dependencies = [ - "cfg-if", - "windows-link", -] - -[[package]] -name = "libm" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" - -[[package]] -name = "libssz" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4bdd6d63ed811ae164966de20810be780e07de784a4834ccfe6be90480c369e" -dependencies = [ - "smallvec", -] - -[[package]] -name = "libssz-derive" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee1b9ac9200429f7e9830492765445989ea61c3fb9028ad5a96e1dd5f5e913" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "libssz-merkle" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863eca32d1a43e5ec41106a515552efa8307768d37c68d26b7f21ff13cfee1a7" -dependencies = [ - "libssz", - "sha2 0.10.9", -] - -[[package]] -name = "libssz-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4231ac301726840a3fe111f11bd4619d3c97ed155cb94c88dbf92b70e04e017" -dependencies = [ - "libssz", - "libssz-merkle", - "smallvec", -] - -[[package]] -name = "litemap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" - -[[package]] -name = "lock_api" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" - -[[package]] -name = "macro-string" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a9dbbfc75d2688ed057456ce8a3ee3f48d12eec09229f560f3643b9f275653" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "memchr" -version = "2.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "modular-bitfield" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2956e537fc68236d2aa048f55704f231cc93f1c4de42fe1ecb5bd7938061fc4a" -dependencies = [ - "modular-bitfield-impl", - "static_assertions", -] - -[[package]] -name = "modular-bitfield-impl" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b43b4fd69e3437618106f7754f34021b831a514f9e1a98ae863cabcd8d8dad" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "nonmax" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51" -dependencies = [ - "serde", -] - -[[package]] -name = "num" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" -dependencies = [ - "num-bigint", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-conv" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" - -[[package]] -name = "num-integer" -version = "0.1.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_enum" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" -dependencies = [ - "num_enum_derive", - "rustversion", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "nybbles" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d49ff0c0d00d4a502b39df9af3a525e1efeb14b9dabb5bb83335284c1309210" -dependencies = [ - "alloy-rlp", - "cfg-if", - "ruint", - "serde", - "smallvec", -] - -[[package]] -name = "once_cell" -version = "1.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" -dependencies = [ - "critical-section", - "portable-atomic", -] - -[[package]] -name = "p256" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" -dependencies = [ - "ecdsa", - "elliptic-curve", - "primeorder", - "sha2 0.10.9", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-link", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "percent-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" - -[[package]] -name = "phf" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" -dependencies = [ - "phf_macros", - "phf_shared", - "serde", -] - -[[package]] -name = "phf_generator" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" -dependencies = [ - "fastrand", - "phf_shared", -] - -[[package]] -name = "phf_macros" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" -dependencies = [ - "phf_generator", - "phf_shared", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "phf_shared" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" -dependencies = [ - "siphasher", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der", - "spki", -] - -[[package]] -name = "pkg-config" -version = "0.3.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" - -[[package]] -name = "portable-atomic" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" - -[[package]] -name = "portable-atomic-util" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" -dependencies = [ - "portable-atomic", -] - -[[package]] -name = "potential_utf" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" -dependencies = [ - "zerovec", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "prettyplease" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" -dependencies = [ - "proc-macro2", - "syn 2.0.119", -] - -[[package]] -name = "primeorder" -version = "0.13.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" -dependencies = [ - "elliptic-curve", -] - -[[package]] -name = "proc-macro-error-attr3" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82366fd7d8b7a440d66d13418820c69df9b3908bcb1a0476d7f5ce5d12f5a04d" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "proc-macro-error3" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b511283ea8a74b4b39447b128c5d00f03a356b7424554b13e298a5550100d9ac" -dependencies = [ - "proc-macro-error-attr3", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "proc-macro2" -version = "1.0.107" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "proofman-fields" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5437c76a4057e306207e86b3b541fe22b4bc09b38d1f31d476a6a71fb7c210fd" -dependencies = [ - "blake3", - "cfg-if", - "num-bigint", - "paste", - "serde", -] - -[[package]] -name = "proofman-verifier" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e010f8abe6954a7abebebbeae918684cdf602027983c549f594d34b72a317b4b" -dependencies = [ - "num-traits", - "proofman-fields", - "serde", -] - -[[package]] -name = "proptest" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" -dependencies = [ - "bitflags 2.13.1", - "num-traits", - "rand 0.9.5", - "rand_chacha 0.9.0", - "rand_xorshift", - "unarray", -] - -[[package]] -name = "quote" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "r-efi" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" - -[[package]] -name = "r-efi" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" - -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "serde", -] - -[[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_chacha 0.9.0", - "rand_core 0.9.5", - "serde", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", - "serde", -] - -[[package]] -name = "rand_xorshift" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" -dependencies = [ - "rand_core 0.9.5", -] - -[[package]] -name = "redox_syscall" -version = "0.5.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" -dependencies = [ - "bitflags 2.13.1", -] - -[[package]] -name = "regex" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" - -[[package]] -name = "reth-chainspec" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-chains", - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "auto_impl", - "derive_more", - "reth-ethereum-forks", - "reth-network-peers", - "reth-primitives-traits", - "serde_json", -] - -[[package]] -name = "reth-codecs" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34b0b409ecf930ed3850e92bd9b4d4f8a8c397eef23e8ba5b1a1a02682a94bd" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "bytes", - "modular-bitfield", - "reth-codecs-derive", - "reth-zstd-compressors", - "serde", -] - -[[package]] -name = "reth-codecs-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcb49ab084e764e7d20f710e2c9daa439380d0fc33f8bfee8c372bfdbc1f437" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "reth-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-primitives", - "auto_impl", - "reth-execution-types", - "reth-primitives-traits", - "thiserror", -] - -[[package]] -name = "reth-consensus-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "reth-chainspec", - "reth-consensus", - "reth-primitives-traits", -] - -[[package]] -name = "reth-db-models" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "reth-primitives-traits", -] - -[[package]] -name = "reth-ethereum-consensus" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "reth-chainspec", - "reth-consensus", - "reth-consensus-common", - "reth-execution-types", - "reth-primitives-traits", - "tracing", -] - -[[package]] -name = "reth-ethereum-forks" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eip2124", - "alloy-hardforks", - "alloy-primitives", - "auto_impl", - "once_cell", -] - -[[package]] -name = "reth-ethereum-primitives" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rpc-types-eth", - "reth-codecs", - "reth-primitives-traits", - "serde", -] - -[[package]] -name = "reth-evm" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "auto_impl", - "derive_more", - "fixed-cache", - "futures-util", - "reth-execution-errors", - "reth-execution-types", - "reth-primitives-traits", - "reth-storage-api", - "reth-storage-errors", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-evm-ethereum" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "alloy-rpc-types-engine", - "reth-chainspec", - "reth-ethereum-forks", - "reth-ethereum-primitives", - "reth-evm", - "reth-execution-types", - "reth-primitives-traits", - "reth-storage-errors", - "revm", -] - -[[package]] -name = "reth-execution-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-evm", - "alloy-primitives", - "alloy-rlp", - "nybbles", - "reth-storage-errors", - "thiserror", -] - -[[package]] -name = "reth-execution-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-evm", - "alloy-primitives", - "derive_more", - "reth-ethereum-primitives", - "reth-primitives-traits", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-network-peers" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde_with", - "thiserror", - "url", -] - -[[package]] -name = "reth-payload-validator" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-rpc-types-engine", - "reth-primitives-traits", -] - -[[package]] -name = "reth-primitives-traits" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9060738a07ca1b0d8ede3ce21d8187c57cc22ee9e2991b29cbbc663280f843cd" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-eth", - "alloy-trie", - "bytes", - "dashmap", - "derive_more", - "once_cell", - "reth-codecs", - "revm-bytecode", - "revm-primitives", - "revm-state", - "secp256k1 0.30.0", - "serde", - "thiserror", -] - -[[package]] -name = "reth-prune-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "derive_more", - "strum", - "thiserror", - "tracing", -] - -[[package]] -name = "reth-stages-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "reth-trie-common", -] - -[[package]] -name = "reth-static-file-types" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-primitives", - "derive_more", - "fixed-map", - "reth-stages-types", - "serde", - "strum", -] - -[[package]] -name = "reth-storage-api" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-eip7928", - "alloy-eips", - "alloy-primitives", - "alloy-rpc-types-engine", - "auto_impl", - "reth-chainspec", - "reth-db-models", - "reth-ethereum-primitives", - "reth-execution-types", - "reth-primitives-traits", - "reth-prune-types", - "reth-stages-types", - "reth-storage-errors", - "reth-trie-common", - "revm", -] - -[[package]] -name = "reth-storage-errors" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "derive_more", - "reth-codecs", - "reth-primitives-traits", - "reth-prune-types", - "reth-static-file-types", - "revm", - "thiserror", -] - -[[package]] -name = "reth-trie-common" -version = "2.5.2" -source = "git+https://github.com/paradigmxyz/reth?rev=db702b511a9dfe5a80ef76685dd93652ffe37cc5#db702b511a9dfe5a80ef76685dd93652ffe37cc5" -dependencies = [ - "alloy-consensus", - "alloy-primitives", - "alloy-rlp", - "alloy-trie", - "derive_more", - "itertools 0.14.0", - "nybbles", - "reth-primitives-traits", - "revm", - "thiserror", -] - -[[package]] -name = "reth-zstd-compressors" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f1ebb37e81a596ce16e81bec6a0c9accbdb914cf19b9190eff69ed00395900" -dependencies = [ - "zstd", -] - -[[package]] -name = "revm" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc210dfb3b45482a9f7c8806f737f7848fb7054b04235e6816480e515c1fe2d5" -dependencies = [ - "revm-bytecode", - "revm-context", - "revm-context-interface", - "revm-database", - "revm-database-interface", - "revm-handler", - "revm-inspector", - "revm-interpreter", - "revm-precompile", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-bytecode" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d38e16b72ec1c836ec8490562bfb21003165ea8bc496086bf345680a6e6c41" -dependencies = [ - "bitvec", - "phf", - "revm-primitives", - "serde", -] - -[[package]] -name = "revm-context" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c16835bc2ead203219a18fcc84c2c71879ad6b890e8a71150cf7f10e4e355dc4" -dependencies = [ - "bitvec", - "cfg-if", - "derive-where", - "revm-bytecode", - "revm-context-interface", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-context-interface" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b4109bdceaca5ee6e27bf41f6b156f2b15892dc5bb47d3530bc4d3b3060077" -dependencies = [ - "alloy-eip2930", - "alloy-eip7702", - "auto_impl", - "either", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-database" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d764afa9a1c9278c05d40461b07319d21ccb39c1bdf0e9dde7e5ea7d9be53d" -dependencies = [ - "derive_more", - "either", - "revm-bytecode", - "revm-database-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-database-interface" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2a27e4440c2ef4932afdaa28a1d1ac8601504c7030c1a387b5e307d07d864d1" -dependencies = [ - "auto_impl", - "either", - "revm-primitives", - "revm-state", - "thiserror", -] - -[[package]] -name = "revm-handler" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b8d988f896e22b19962658bc1afcd0989f727d48b2860a8bd7ceaecbf72ce34" -dependencies = [ - "auto_impl", - "derive-where", - "revm-bytecode", - "revm-context", - "revm-context-interface", - "revm-database-interface", - "revm-interpreter", - "revm-precompile", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-inspector" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2584990403728b2e13fb5522510b61e4bb217c6a4c8f4d063447a6ddd7dd7cc" -dependencies = [ - "auto_impl", - "either", - "revm-context", - "revm-database-interface", - "revm-handler", - "revm-interpreter", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-interpreter" -version = "43.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "932f7fe05a2cdeb08195dd7e88a09a4da7c3660cdc6e62720839c77ba77f65aa" -dependencies = [ - "revm-bytecode", - "revm-context-interface", - "revm-primitives", - "revm-state", -] - -[[package]] -name = "revm-precompile" -version = "43.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac4dc0279f2a44770faa8c93d008df684440cf573c91b8e0e39d0d581abf7b3d" -dependencies = [ - "ark-bls12-381 0.6.0", - "ark-bn254 0.6.0", - "ark-ec 0.6.0", - "ark-ff 0.6.0", - "ark-serialize 0.6.0", - "arrayref", - "aurora-engine-modexp", - "cfg-if", - "k256", - "p256", - "revm-context-interface", - "revm-primitives", - "ripemd 0.2.0", - "sha2 0.11.0", -] - -[[package]] -name = "revm-primitives" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f4ba1a5757fe4398262290422c371556fcebf236f762f7ed7ff2c56768a63c" -dependencies = [ - "alloy-primitives", - "once_cell", - "serde", -] - -[[package]] -name = "revm-state" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd02082cf1baca01e8bc17456c45136bdc66632395a98db1c1a2afe4c6ea87f" -dependencies = [ - "alloy-eip7928", - "bitflags 2.13.1", - "nonmax", - "revm-bytecode", - "revm-primitives", - "serde", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac", - "subtle", -] - -[[package]] -name = "ripemd" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" -dependencies = [ - "digest 0.10.7", -] - -[[package]] -name = "ripemd" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd4211456b4172d7e44261920c25acf07367c4f04bb5f5d54fc21b090d9b159" -dependencies = [ - "digest 0.11.3", -] - -[[package]] -name = "ruint" -version = "1.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5e99bff0393163bb25029a6af25d3d8d202ba5b5438a74d1bd8789f5c822970" -dependencies = [ - "alloy-rlp", - "proptest", - "rand 0.8.7", - "rand 0.9.5", - "ruint-macro", - "serde_core", - "valuable", - "zeroize", -] - -[[package]] -name = "ruint-macro" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" - -[[package]] -name = "rustc-hash" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustversion" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "sec1" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct", - "der", - "generic-array", - "pkcs8", - "serdect", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" -dependencies = [ - "bitcoin_hashes", - "rand 0.8.7", - "secp256k1-sys 0.10.1", - "serde", -] - -[[package]] -name = "secp256k1" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c3c81b43dc2d8877c216a3fccf76677ee1ebccd429566d3e67447290d0c42b2" -dependencies = [ - "bitcoin_hashes", - "rand 0.9.5", - "secp256k1-sys 0.11.0", -] - -[[package]] -name = "secp256k1-sys" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9" -dependencies = [ - "cc", -] - -[[package]] -name = "secp256k1-sys" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb913707158fadaf0d8702c2db0e857de66eb003ccfdda5924b5f5ac98efb38" -dependencies = [ - "cc", -] - -[[package]] -name = "semver" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" - -[[package]] -name = "serde" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" -dependencies = [ - "serde_core", - "serde_derive", -] - -[[package]] -name = "serde_core" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.229" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "serde_json" -version = "1.0.151" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" -dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", -] - -[[package]] -name = "serde_with" -version = "3.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a" -dependencies = [ - "base64", - "bs58", - "chrono", - "hex", - "jiff", - "serde_core", - "serde_json", - "serde_with_macros", - "time", -] - -[[package]] -name = "serde_with_macros" -version = "3.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "serdect" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" -dependencies = [ - "base16ct", - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "digest 0.10.7", -] - -[[package]] -name = "sha2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", - "digest 0.11.3", -] - -[[package]] -name = "sha3" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be176f1a57ce4e3d31c1a166222d9768de5954f811601fb7ca06fc8203905ce1" -dependencies = [ - "digest 0.11.3", - "keccak", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "shlex" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" - -[[package]] -name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "siphasher" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" - -[[package]] -name = "smallvec" -version = "1.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" -dependencies = [ - "serde", -] - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" - -[[package]] -name = "stateless" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", - "reth-chainspec", - "reth-consensus", - "reth-ethereum-consensus", - "reth-ethereum-primitives", - "reth-evm", - "reth-primitives-traits", - "reth-trie-common", - "revm", - "revm-bytecode", - "revm-database-interface", - "revm-state", - "serde", - "serde_with", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-common" -version = "0.1.0" -dependencies = [ - "libssz", - "libssz-derive", - "libssz-merkle", - "libssz-types", - "paste", - "thiserror", -] - -[[package]] -name = "stateless-validator-reth" -version = "0.1.0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-rpc-types-engine", - "ere-platform-core", - "reth-chainspec", - "reth-ethereum-primitives", - "reth-evm-ethereum", - "reth-payload-validator", - "reth-primitives-traits", - "stateless", - "stateless-validator-common", - "thiserror", - "tries", - "zkvm-interface", -] - -[[package]] -name = "stateless-validator-reth-zisk" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "ere-platform-zisk", - "stateless-validator-reth", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "strum" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "subtle" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "syn" -version = "2.0.119" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn-solidity" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083be3061e64d362cbe6ef12cfe1307ba3884326d8856448fe8a120fa2c44ebf" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "synstructure" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "thiserror" -version = "2.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "time" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" -dependencies = [ - "deranged", - "num-conv", - "powerfmt", - "serde_core", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinystr" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "tinyvec" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tracing" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "tracing-core" -version = "0.1.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" - -[[package]] -name = "tries" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-rpc-types-debug", - "alloy-trie", - "reth-trie-common", - "revm-database-interface", - "thiserror", - "zeth-mpt", -] - -[[package]] -name = "typenum" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "unicode-ident" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" - -[[package]] -name = "unicode-segmentation" -version = "1.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "unty" -version = "0.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae" - -[[package]] -name = "url" -version = "2.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - -[[package]] -name = "valuable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - -[[package]] -name = "wasip2" -version = "1.0.4+wasi-0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" -dependencies = [ - "wit-bindgen", -] - -[[package]] -name = "windows-link" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" - -[[package]] -name = "wit-bindgen" -version = "0.57.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" - -[[package]] -name = "writeable" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" - -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - -[[package]] -name = "yoke" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" -dependencies = [ - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "synstructure", -] - -[[package]] -name = "zerocopy" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "zerofrom" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "synstructure", -] - -[[package]] -name = "zeroize" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "zerotrie" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", -] - -[[package]] -name = "zerovec" -version = "0.11.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.4", -] - -[[package]] -name = "zeth-mpt" -version = "0.1.0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "alloy-trie", - "arrayvec", -] - -[[package]] -name = "zisk-circuit" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d4e9fd62d361e5866ef701425a2ccdaa6bef4389e80941d6ed101d97f21c28c" - -[[package]] -name = "zisk-definitions" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73a297ba24eeea9e746b702b0164494180988ba5c92de388b690b80493477b9a" - -[[package]] -name = "zisk-lib-c" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f689ce03d68b1b8782b5bba804856415c9feedd62e6ea55d661e528fd5831e44" - -[[package]] -name = "zisk-precomp-helpers" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7516e0a9b1909657c3096e2d26cb56a70bc89ccae10a5d713ae43a0136064ae" -dependencies = [ - "ark-bls12-381 0.5.0", - "ark-bn254 0.5.0", - "ark-ff 0.5.0", - "ark-secp256k1", - "ark-secp256r1", - "cfg-if", - "crunchy", - "num-bigint", - "num-traits", - "zisk-circuit", - "zisk-lib-c", -] - -[[package]] -name = "zisk-verifier" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fde205d74963f0c726a2caedebf50cb35dd555ab1d78aa3319e0564dc975cb4" -dependencies = [ - "proofman-fields", - "proofman-verifier", -] - -[[package]] -name = "zisk-zkvm-interface" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36b8c65cef622952b0529e4fc66caa866834ce5c0261153e90217cfb377f0ef" -dependencies = [ - "bindgen", -] - -[[package]] -name = "ziskos" -version = "1.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcec55d747675cef4f38584c012314e56e3cb0a1011b084ac3dc36880335408a" -dependencies = [ - "ark-bn254 0.5.0", - "ark-ec 0.5.0", - "ark-ff 0.5.0", - "ark-serialize 0.5.0", - "aurora-engine-modexp", - "bincode", - "blst", - "cfg-if", - "getrandom 0.2.17", - "lazy_static", - "libc", - "num-bigint", - "num-integer", - "num-traits", - "proofman-fields", - "rand 0.8.7", - "ripemd 0.1.3", - "secp256k1 0.31.1", - "serde", - "sha2 0.10.9", - "tiny-keccak", - "zisk-definitions", - "zisk-lib-c", - "zisk-precomp-helpers", - "zisk-verifier", - "zisk-zkvm-interface", -] - -[[package]] -name = "zkvm-interface" -version = "0.1.0" -source = "git+https://github.com/eth-act/zkvm-standards?rev=282cd356c3a0498416bb0619f9c8a347ce9933fb#282cd356c3a0498416bb0619f9c8a347ce9933fb" -dependencies = [ - "bindgen", -] - -[[package]] -name = "zmij" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" - -[[package]] -name = "zstd" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "7.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" -dependencies = [ - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.16+zstd.1.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" -dependencies = [ - "cc", - "pkg-config", -] diff --git a/bin/stateless-validator-reth/zisk/Cargo.toml b/bin/stateless-validator-reth/zisk/Cargo.toml deleted file mode 100644 index e33c2ae..0000000 --- a/bin/stateless-validator-reth/zisk/Cargo.toml +++ /dev/null @@ -1,37 +0,0 @@ -[workspace] - -[package] -name = "stateless-validator-reth-zisk" -version = "0.1.0" -edition = "2024" - -[dependencies] -# enable features -alloy-primitives = { version = "1.6.1", default-features = false, features = [ - "map-foldhash", - "native-keccak", -] } - -# ere -# NOTE: Using `default-features = false, features = ["inputcpy"]` mainly to disable the other -# feature enabled by default `user-hints`, which this binary doesn't use but introduces lots -# of dependencies. -ere-platform-zisk = { git = "https://github.com/eth-act/ere", tag = "v0.20.0", default-features = false, features = [ - "inputcpy", -] } - -# local -stateless-validator-reth = { path = "../../../crates/stateless-validator-reth", default-features = false, features = [ - "zkvm-interface", -] } - -[profile.release] -codegen-units = 1 -lto = "fat" - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = [ - 'cfg(zisk_hints)', - 'cfg(zisk_hints_debug)', - 'cfg(target_vendor, values("zisk"))', -] } diff --git a/bin/stateless-validator-reth/zisk/src/main.rs b/bin/stateless-validator-reth/zisk/src/main.rs deleted file mode 100644 index ff63dfd..0000000 --- a/bin/stateless-validator-reth/zisk/src/main.rs +++ /dev/null @@ -1,20 +0,0 @@ -//! ZisK Reth stateless validator guest program. - -#![no_main] - -use ere_platform_zisk::{ZiskPlatform, ziskos}; -use stateless_validator_reth::guest::entrypoint; - -ziskos::entrypoint!(main); - -fn main() { - entrypoint::(); -} - -#[unsafe(no_mangle)] -fn _critical_section_1_0_acquire() -> u64 { - 0 -} - -#[unsafe(no_mangle)] -fn _critical_section_1_0_release(_: u64) {} diff --git a/crates/stateless-validator-common/Cargo.toml b/crates/stateless-validator-common/Cargo.toml deleted file mode 100644 index 374aaf8..0000000 --- a/crates/stateless-validator-common/Cargo.toml +++ /dev/null @@ -1,27 +0,0 @@ -[package] -name = "stateless-validator-common" -version.workspace = true -edition.workspace = true -rust-version.workspace = true -license.workspace = true - -[lints] -workspace = true - -[dependencies] -paste.workspace = true -thiserror.workspace = true - -# ssz -libssz.workspace = true -libssz-derive.workspace = true -libssz-merkle.workspace = true -libssz-types.workspace = true - -[features] -# guest -default = ["std"] -std = [] - -[dev-dependencies] -const-hex.workspace = true diff --git a/crates/stateless-validator-common/src/guest.rs b/crates/stateless-validator-common/src/guest.rs deleted file mode 100644 index fcd8c66..0000000 --- a/crates/stateless-validator-common/src/guest.rs +++ /dev/null @@ -1,12 +0,0 @@ -//! Canonical stateless validation types and functions for guest programs. -//! -//! This module only republishes the items of its submodules so guests can -//! import every canonical type and function from a single path. - -mod error; -pub mod input; -mod output; - -pub use error::Error; -pub use input::StatelessInput; -pub use output::StatelessValidationResult; diff --git a/crates/stateless-validator-common/src/guest/error.rs b/crates/stateless-validator-common/src/guest/error.rs deleted file mode 100644 index d049118..0000000 --- a/crates/stateless-validator-common/src/guest/error.rs +++ /dev/null @@ -1,24 +0,0 @@ -//! Common errors for the stateless input guest. - -use libssz::DecodeError; -use thiserror::Error; - -/// Common errors for the stateless input guest. -#[derive(Debug, Error)] -pub enum Error { - /// The input is shorter than the schema identifier prefix. - #[error("stateless input is missing the schema id")] - MissingSchemaId, - /// The schema identifier prefix does not match the supported schema id. - #[error("unsupported stateless input schema id {0:#06x}")] - UnsupportedSchemaId(u16), - /// The SSZ body failed to decode. - #[error("SSZ decode error {0:?}")] - Ssz(DecodeError), -} - -impl From for Error { - fn from(err: DecodeError) -> Self { - Self::Ssz(err) - } -} diff --git a/crates/stateless-validator-common/src/guest/input.rs b/crates/stateless-validator-common/src/guest/input.rs deleted file mode 100644 index 4e5c361..0000000 --- a/crates/stateless-validator-common/src/guest/input.rs +++ /dev/null @@ -1,261 +0,0 @@ -//! Canonical stateless validation input types. -//! -//! The types and their SSZ schemas mirror [`stateless.py`]. The wire format is a 2-byte big-endian -//! schema identifier followed by the SSZ-encoded `StatelessInput` container. -//! -//! [`stateless.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/stateless.py - -#![allow(missing_docs)] - -use alloc::vec::Vec; -use libssz::{SszDecode, SszEncode}; -use libssz_derive::{SszDecode, SszEncode}; -use libssz_types::{ProgressiveList, SszList}; - -use crate::guest::{error::Error, input::new_payload_request::NewPayloadRequest}; - -pub mod new_payload_request; - -/// Revision byte of the SSZ stateless input schema. -/// -/// The schema identifier is `fork_index << 8 | revision`, where `fork_index` is the -/// [`ProtocolFork`] discriminant of the payload's active fork. -/// -/// The spec fixes the fork index to Amsterdam. This implementation extends it -/// and accepts payload shape from Bellatrix onward under the matching identifier. -pub const STATELESS_INPUT_SCHEMA_REVISION: u8 = 0x01; -/// Byte length of the big-endian schema identifier prefix. -pub const STATELESS_INPUT_SCHEMA_ID_SIZE: usize = 2; - -/// SSZ list bounds from the Amsterdam stateless schema. -pub const MAX_WITNESS_HEADERS: usize = 256; -pub const MAX_BYTES_PER_WITNESS_NODE: usize = 1 << 10; -pub const MAX_BYTES_PER_CODE: usize = 1 << 16; -pub const MAX_BYTES_PER_HEADER: usize = 1 << 10; - -/// Execution witness data for stateless validation. -#[derive(Debug, Clone, Default, PartialEq, Eq, SszEncode, SszDecode)] -pub struct ExecutionWitness { - /// Hashed trie-node preimages needed during execution and state-root recomputation. - pub state: ProgressiveList>, - /// Contract-code preimages (created or accessed) needed during execution. - pub codes: ProgressiveList>, - /// RLP-encoded block headers used for pre-state and `BLOCKHASH` correctness proofs. This may - /// trend toward empty EIP-7709. - pub headers: SszList, MAX_WITNESS_HEADERS>, -} - -/// Execution-layer fork identifiers used by stateless schemas. -#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] -#[repr(u64)] -pub enum ProtocolFork { - Paris = 0x0E, - Shanghai = 0x0F, - Cancun = 0x10, - Prague = 0x11, - Osaka = 0x12, - BPO1 = 0x13, - BPO2 = 0x14, - Amsterdam = 0x15, -} - -impl ProtocolFork { - /// Converts an SSZ enum value into a [`ProtocolFork`]. - pub fn from_u64(value: u64) -> Option { - Some(match value { - 0x0E => Self::Paris, - 0x0F => Self::Shanghai, - 0x10 => Self::Cancun, - 0x11 => Self::Prague, - 0x12 => Self::Osaka, - 0x13 => Self::BPO1, - 0x14 => Self::BPO2, - 0x15 => Self::Amsterdam, - _ => return None, - }) - } - - /// Returns the SSZ enum value of this fork. - pub fn as_u64(self) -> u64 { - self as u64 - } - - /// Returns the complete schema identifier for this fork and the current revision. - pub fn schema_id(self) -> u16 { - ((self.as_u64() as u16) << 8) | u16::from(STATELESS_INPUT_SCHEMA_REVISION) - } -} - -/// Canonical input to stateless validation. -/// -/// A fork-agnostic SSZ container. The active fork is in the 2-byte schema identifier rather than -/// the SSZ body, and decoding validates the recovered payload request against that fork. -#[derive(Debug, Clone, PartialEq, Eq, SszEncode)] -pub struct StatelessInput { - /// Consensus-layer payload request to validate statelessly. See [`NewPayloadRequest`] for - /// structure and links to consensus-specs. - pub new_payload_request: NewPayloadRequest, - /// Execution witness material required to re-execute the core state transition function - /// statelessly. - pub witness: ExecutionWitness, - /// Chain identifier used during payload validation and execution. - pub chain_id: u64, -} - -impl StatelessInput { - /// Serializes to schema-prefixed SSZ bytes, mirroring `serialize_stateless_input` in - /// [`stateless_host.py`]. The fork is encoded into the schema identifier prefix. - /// - /// [`stateless_host.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/stateless_host.py - pub fn to_schema_prefixed_ssz(&self, fork: ProtocolFork) -> Vec { - let mut out = Vec::with_capacity(STATELESS_INPUT_SCHEMA_ID_SIZE + self.encoded_len()); - out.extend_from_slice(&fork.schema_id().to_be_bytes()); - self.ssz_append(&mut out); - out - } - - /// Deserializes from schema-prefixed SSZ bytes, mirroring `deserialize_stateless_input` in - /// [`stateless_guest.py`]. Returns the fork carried by the schema identifier alongside the - /// decoded input, and rejects a payload request whose shape does not match that fork. - /// - /// [`stateless_guest.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/stateless_guest.py - pub fn from_schema_prefixed_ssz(bytes: &[u8]) -> Result<(ProtocolFork, Self), Error> { - use ProtocolFork::*; - let (schema_id, body) = bytes - .split_first_chunk::() - .ok_or(Error::MissingSchemaId)?; - let schema_id = u16::from_be_bytes(*schema_id); - if (schema_id & 0xff) as u8 != STATELESS_INPUT_SCHEMA_REVISION { - return Err(Error::UnsupportedSchemaId(schema_id)); - } - let fork = ProtocolFork::from_u64(u64::from(schema_id >> 8)) - .ok_or(Error::UnsupportedSchemaId(schema_id))?; - let input = match fork { - Paris => StatelessInputBellatrix::from_ssz_bytes(body)?.into(), - Shanghai => StatelessInputCapella::from_ssz_bytes(body)?.into(), - Cancun => StatelessInputDeneb::from_ssz_bytes(body)?.into(), - Prague | Osaka | BPO1 | BPO2 => StatelessInputElectraFulu::from_ssz_bytes(body)?.into(), - Amsterdam => StatelessInputGloas::from_ssz_bytes(body)?.into(), - }; - Ok((fork, input)) - } -} - -macro_rules! declare_stateless_input_variants { - ($($variant:ident),*) => { - paste::paste! { - $( - #[derive(SszDecode)] - struct [] { - new_payload_request: new_payload_request::[], - witness: ExecutionWitness, - chain_id: u64, - } - - impl From<[]> for StatelessInput { - fn from(input: []) -> StatelessInput { - StatelessInput { - new_payload_request: NewPayloadRequest::$variant(input.new_payload_request), - witness: input.witness, - chain_id: input.chain_id, - } - } - } - )* - } - }; -} - -declare_stateless_input_variants!(Bellatrix, Capella, Deneb, ElectraFulu, Gloas); - -#[cfg(test)] -mod tests { - use alloc::vec; - - use libssz_merkle::{HashTreeRoot as _, Sha2Hasher}; - - use super::*; - use crate::guest::input::new_payload_request::{ - ExecutionPayloadV1, NewPayloadRequestBellatrix, - }; - - fn bellatrix_input() -> StatelessInput { - StatelessInput { - new_payload_request: NewPayloadRequest::Bellatrix(NewPayloadRequestBellatrix { - execution_payload: ExecutionPayloadV1 { - parent_hash: [1; 32], - fee_recipient: [2; 20], - state_root: [3; 32], - receipts_root: [4; 32], - logs_bloom: [5; 256], - prev_randao: [6; 32], - block_number: 7, - gas_limit: 8, - gas_used: 9, - timestamp: 10, - extra_data: Default::default(), - base_fee_per_gas: [11; 32], - block_hash: [12; 32], - transactions: Default::default(), - }, - }), - witness: ExecutionWitness::default(), - chain_id: 1, - } - } - - #[test] - fn schema_ids_cover_every_retained_fork() { - let expected = [0x0e01, 0x0f01, 0x1001, 0x1101, 0x1201, 0x1301, 0x1401, 0x1501]; - for (fork_index, expected_schema_id) in - (ProtocolFork::Paris.as_u64()..=ProtocolFork::Amsterdam.as_u64()).zip(expected) - { - assert_eq!(ProtocolFork::from_u64(fork_index).unwrap().schema_id(), expected_schema_id); - } - } - - #[test] - fn rejects_truncated_trailing_and_unsupported_schema_inputs() { - let bytes = bellatrix_input().to_schema_prefixed_ssz(ProtocolFork::Paris); - assert_eq!( - StatelessInput::from_schema_prefixed_ssz(&bytes).unwrap().0, - ProtocolFork::Paris - ); - - assert!(StatelessInput::from_schema_prefixed_ssz(&bytes[..bytes.len() - 1]).is_err()); - let mut trailing = bytes.clone(); - trailing.push(0); - assert!(StatelessInput::from_schema_prefixed_ssz(&trailing).is_err()); - - let mut wrong_revision = bytes.clone(); - wrong_revision[1] = 2; - assert!(matches!( - StatelessInput::from_schema_prefixed_ssz(&wrong_revision), - Err(Error::UnsupportedSchemaId(0x0e02)) - )); - let mut wrong_fork = bytes; - wrong_fork[0] = 0x0d; - assert!(matches!( - StatelessInput::from_schema_prefixed_ssz(&wrong_fork), - Err(Error::UnsupportedSchemaId(0x0d01)) - )); - } - - #[test] - fn progressive_witness_roots_match_reference_vectors() { - let hasher = Sha2Hasher; - let state: ProgressiveList> = - ProgressiveList::from(vec![vec![0xaa_u8; 3].try_into().unwrap()]); - let codes: ProgressiveList> = - ProgressiveList::from(vec![vec![0xbb_u8; 5].try_into().unwrap()]); - - assert_eq!( - const_hex::encode(state.hash_tree_root(&hasher)), - "8a25ed609796eeb1a5d772d19d1e9236b069e0dc2c9fc1f5db166e73c0e7d5fc" - ); - assert_eq!( - const_hex::encode(codes.hash_tree_root(&hasher)), - "a547789a596b86c52d812f5e04a9375ad0030c486748e04eb80ae80fc7a93e9c" - ); - } -} diff --git a/crates/stateless-validator-common/src/guest/input/new_payload_request.rs b/crates/stateless-validator-common/src/guest/input/new_payload_request.rs deleted file mode 100644 index c62b639..0000000 --- a/crates/stateless-validator-common/src/guest/input/new_payload_request.rs +++ /dev/null @@ -1,611 +0,0 @@ -//! New payload request types and their dependencies, mirroring [`types.py`], [`requests.py`], -//! and [`blocks.py`]. -//! -//! The execution payload containers keep the V1 to V4 names defined by the engine API in -//! execution-apis, because a multi-fork crate needs distinct names while each execution-specs -//! fork module defines a single `ExecutionPayload` shape. -//! -//! [`types.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/execution_engine/types.py -//! [`requests.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/execution_engine/requests.py -//! [`blocks.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/blocks.py - -#![allow(missing_docs)] - -use alloc::vec::Vec; - -use libssz::SszEncode; -use libssz_derive::{HashTreeRoot, SszDecode, SszEncode}; -use libssz_merkle::{HashTreeRoot, Sha256Hasher}; -use libssz_types::{ProgressiveList, SszList}; - -/// Primitive types from the Amsterdam stateless schema. -pub type Hash32 = [u8; 32]; -pub type Bytes48 = [u8; 48]; -pub type Bytes96 = [u8; 96]; -pub type Address = [u8; 20]; -pub type Uint256Bytes = [u8; 32]; -pub type Bloom = [u8; 256]; -pub type VersionedHash = Hash32; -pub type ExtraData = SszList; -pub type VersionedHashes = SszList; - -/// SSZ list bounds retained by the Amsterdam stateless schema. -pub const MAX_EXTRA_DATA_BYTES: usize = 32; -/// Maximum number of versioned hashes in a new payload request, matching the consensus-layer -/// `VersionedHashes` limit. -pub const MAX_BLOB_COMMITMENTS_PER_BLOCK: usize = 4096; - -/// Composite types from the Amsterdam stateless schema. -pub type BlockAccessList = ProgressiveList; -pub type Transaction = ProgressiveList; -pub type Transactions = ProgressiveList; -pub type Withdrawals = ProgressiveList; -pub type DepositRequests = ProgressiveList; -pub type WithdrawalRequests = ProgressiveList; -pub type ConsolidationRequests = ProgressiveList; -pub type BuilderDepositRequests = ProgressiveList; -pub type BuilderExitRequests = ProgressiveList; - -/// Withdrawals represent a transfer of ETH from the consensus layer (beacon chain) to the -/// execution layer, as validated by the consensus layer. Each withdrawal is listed in the block's -/// list of withdrawals. -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -pub struct Withdrawal { - /// The unique index of the withdrawal, incremented for each withdrawal processed. - pub index: u64, - /// The index of the validator on the consensus layer that is withdrawing. - pub validator_index: u64, - /// The execution-layer address receiving the withdrawn ETH. - pub address: Address, - /// The amount of ETH being withdrawn. - pub amount: u64, -} - -/// A single EIP-6110 deposit request. -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -pub struct DepositRequest { - pub pubkey: Bytes48, - pub withdrawal_credentials: Hash32, - pub amount: u64, - pub signature: Bytes96, - pub index: u64, -} - -/// A single EIP-7002 withdrawal request. -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -pub struct WithdrawalRequest { - pub source_address: Address, - pub validator_pubkey: Bytes48, - pub amount: u64, -} - -/// A single EIP-7251 consolidation request. -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -pub struct ConsolidationRequest { - pub source_address: Address, - pub source_pubkey: Bytes48, - pub target_pubkey: Bytes48, -} - -/// A single EIP-8282 builder deposit request. -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -pub struct BuilderDepositRequest { - pub pubkey: Bytes48, - pub withdrawal_credentials: Hash32, - pub amount: u64, - pub signature: Bytes96, -} - -/// A single EIP-8282 builder exit request. -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -pub struct BuilderExitRequest { - pub source_address: Address, - pub pubkey: Bytes48, -} - -/// Typed engine-API container of execution-layer triggered requests, as of Electra. -/// -/// Mirrors the consensus-layer `ExecutionRequests` Container. -#[derive(Debug, Clone, Default, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct ExecutionRequestsElectraFulu { - pub deposits: DepositRequests, - pub withdrawals: WithdrawalRequests, - pub consolidations: ConsolidationRequests, -} - -/// Typed engine-API container of execution-layer triggered requests, as of Gloas, which -/// EIP-8282 extends with the builder deposit and builder exit lists. -#[derive(Debug, Clone, Default, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct ExecutionRequestsGloas { - pub deposits: DepositRequests, - pub withdrawals: WithdrawalRequests, - pub consolidations: ConsolidationRequests, - pub builder_deposits: BuilderDepositRequests, - pub builder_exits: BuilderExitRequests, -} - -// Keep payloads flat: field order defines their SSZ encoding and progressive roots. -macro_rules! execution_payload { - ($name:ident { $($field:ident: $ty:ty),* $(,)? }) => { - #[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] - #[ssz(progressive_container)] - pub struct $name { - pub parent_hash: Hash32, - pub fee_recipient: Address, - pub state_root: Hash32, - pub receipts_root: Hash32, - pub logs_bloom: Bloom, - pub prev_randao: Hash32, - pub block_number: u64, - pub gas_limit: u64, - pub gas_used: u64, - pub timestamp: u64, - pub extra_data: ExtraData, - pub base_fee_per_gas: Uint256Bytes, - pub block_hash: Hash32, - pub transactions: Transactions, - $(pub $field: $ty,)* - } - }; -} - -execution_payload!(ExecutionPayloadV1 {}); - -execution_payload!(ExecutionPayloadV2 { withdrawals: Withdrawals }); - -execution_payload!(ExecutionPayloadV3 { - withdrawals: Withdrawals, - blob_gas_used: u64, - excess_blob_gas: u64, -}); - -execution_payload!(ExecutionPayloadV4 { - withdrawals: Withdrawals, - blob_gas_used: u64, - excess_blob_gas: u64, - block_access_list: BlockAccessList, - slot_number: u64, -}); - -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct NewPayloadRequestBellatrix { - pub execution_payload: ExecutionPayloadV1, -} - -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct NewPayloadRequestCapella { - pub execution_payload: ExecutionPayloadV2, -} - -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct NewPayloadRequestDeneb { - pub execution_payload: ExecutionPayloadV3, - pub versioned_hashes: VersionedHashes, - pub parent_beacon_block_root: Hash32, -} - -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct NewPayloadRequestElectraFulu { - pub execution_payload: ExecutionPayloadV3, - pub versioned_hashes: VersionedHashes, - pub parent_beacon_block_root: Hash32, - pub execution_requests: ExecutionRequestsElectraFulu, -} - -#[derive(Debug, Clone, PartialEq, Eq, HashTreeRoot, SszEncode, SszDecode)] -#[ssz(progressive_container)] -pub struct NewPayloadRequestGloas { - pub execution_payload: ExecutionPayloadV4, - pub versioned_hashes: VersionedHashes, - pub parent_beacon_block_root: Hash32, - pub execution_requests: ExecutionRequestsGloas, -} - -/// Consensus-layer new payload request with one container shape per fork. -/// -/// Every shape is a progressive container, like the Gloas `NewPayloadRequest` in consensus-specs. -#[derive(Debug, Clone, PartialEq, Eq)] -pub enum NewPayloadRequest { - Bellatrix(NewPayloadRequestBellatrix), - Capella(NewPayloadRequestCapella), - Deneb(NewPayloadRequestDeneb), - ElectraFulu(NewPayloadRequestElectraFulu), - Gloas(NewPayloadRequestGloas), -} - -impl NewPayloadRequest { - /// Returns the block number of the execution payload. - pub fn block_number(&self) -> u64 { - match self { - Self::Bellatrix(request) => request.execution_payload.block_number, - Self::Capella(request) => request.execution_payload.block_number, - Self::Deneb(request) => request.execution_payload.block_number, - Self::ElectraFulu(request) => request.execution_payload.block_number, - Self::Gloas(request) => request.execution_payload.block_number, - } - } - - /// Returns the timestamp of the execution payload. - pub fn timestamp(&self) -> u64 { - match self { - Self::Bellatrix(request) => request.execution_payload.timestamp, - Self::Capella(request) => request.execution_payload.timestamp, - Self::Deneb(request) => request.execution_payload.timestamp, - Self::ElectraFulu(request) => request.execution_payload.timestamp, - Self::Gloas(request) => request.execution_payload.timestamp, - } - } -} - -impl HashTreeRoot for NewPayloadRequest { - fn hash_tree_root(&self, hasher: &impl Sha256Hasher) -> [u8; 32] { - match self { - Self::Bellatrix(request) => request.hash_tree_root(hasher), - Self::Capella(request) => request.hash_tree_root(hasher), - Self::Deneb(request) => request.hash_tree_root(hasher), - Self::ElectraFulu(request) => request.hash_tree_root(hasher), - Self::Gloas(request) => request.hash_tree_root(hasher), - } - } -} - -impl SszEncode for NewPayloadRequest { - fn is_fixed_size() -> bool { - false - } - - fn fixed_size() -> usize { - 0 - } - - fn encoded_len(&self) -> usize { - match self { - Self::Bellatrix(request) => request.encoded_len(), - Self::Capella(request) => request.encoded_len(), - Self::Deneb(request) => request.encoded_len(), - Self::ElectraFulu(request) => request.encoded_len(), - Self::Gloas(request) => request.encoded_len(), - } - } - - fn ssz_append(&self, buf: &mut Vec) { - match self { - Self::Bellatrix(request) => request.ssz_append(buf), - Self::Capella(request) => request.ssz_append(buf), - Self::Deneb(request) => request.ssz_append(buf), - Self::ElectraFulu(request) => request.ssz_append(buf), - Self::Gloas(request) => request.ssz_append(buf), - } - } -} - -#[cfg(test)] -mod tests { - use alloc::vec; - - use libssz::SszDecode as _; - use libssz_merkle::Sha2Hasher; - - use crate::guest::input::{ - ExecutionWitness, ProtocolFork, StatelessInput, new_payload_request::*, - }; - - fn payload_v1() -> ExecutionPayloadV1 { - ExecutionPayloadV1 { - parent_hash: [1; 32], - fee_recipient: [2; 20], - state_root: [3; 32], - receipts_root: [4; 32], - logs_bloom: [5; 256], - prev_randao: [6; 32], - block_number: 100, - gas_limit: 30_000_000, - gas_used: 21_000, - timestamp: 1_700_000_000, - extra_data: vec![0xee; 7].try_into().unwrap(), - base_fee_per_gas: [7; 32], - block_hash: [8; 32], - transactions: vec![vec![0xdd_u8; 8].try_into().unwrap()].try_into().unwrap(), - } - } - - fn payload_v2() -> ExecutionPayloadV2 { - let v1 = payload_v1(); - ExecutionPayloadV2 { - parent_hash: v1.parent_hash, - fee_recipient: v1.fee_recipient, - state_root: v1.state_root, - receipts_root: v1.receipts_root, - logs_bloom: v1.logs_bloom, - prev_randao: v1.prev_randao, - block_number: v1.block_number, - gas_limit: v1.gas_limit, - gas_used: v1.gas_used, - timestamp: v1.timestamp, - extra_data: v1.extra_data, - base_fee_per_gas: v1.base_fee_per_gas, - block_hash: v1.block_hash, - transactions: v1.transactions, - withdrawals: vec![Withdrawal { - index: 1, - validator_index: 2, - address: [3; 20], - amount: 4, - }] - .try_into() - .unwrap(), - } - } - - fn payload_v3() -> ExecutionPayloadV3 { - let v2 = payload_v2(); - ExecutionPayloadV3 { - parent_hash: v2.parent_hash, - fee_recipient: v2.fee_recipient, - state_root: v2.state_root, - receipts_root: v2.receipts_root, - logs_bloom: v2.logs_bloom, - prev_randao: v2.prev_randao, - block_number: v2.block_number, - gas_limit: v2.gas_limit, - gas_used: v2.gas_used, - timestamp: v2.timestamp, - extra_data: v2.extra_data, - base_fee_per_gas: v2.base_fee_per_gas, - block_hash: v2.block_hash, - transactions: v2.transactions, - withdrawals: v2.withdrawals, - blob_gas_used: 131_072, - excess_blob_gas: 262_144, - } - } - - fn payload_v4() -> ExecutionPayloadV4 { - let v3 = payload_v3(); - ExecutionPayloadV4 { - parent_hash: v3.parent_hash, - fee_recipient: v3.fee_recipient, - state_root: v3.state_root, - receipts_root: v3.receipts_root, - logs_bloom: v3.logs_bloom, - prev_randao: v3.prev_randao, - block_number: v3.block_number, - gas_limit: v3.gas_limit, - gas_used: v3.gas_used, - timestamp: v3.timestamp, - extra_data: v3.extra_data, - base_fee_per_gas: v3.base_fee_per_gas, - block_hash: v3.block_hash, - transactions: v3.transactions, - withdrawals: v3.withdrawals, - blob_gas_used: v3.blob_gas_used, - excess_blob_gas: v3.excess_blob_gas, - block_access_list: vec![0xba; 33].try_into().unwrap(), - slot_number: 42, - } - } - - fn versioned_hashes() -> VersionedHashes { - vec![[9; 32]].try_into().unwrap() - } - - fn deposit_requests() -> DepositRequests { - vec![DepositRequest { - pubkey: [1; 48], - withdrawal_credentials: [2; 32], - amount: 3, - signature: [4; 96], - index: 5, - }] - .try_into() - .unwrap() - } - - fn withdrawal_requests() -> WithdrawalRequests { - vec![WithdrawalRequest { source_address: [1; 20], validator_pubkey: [2; 48], amount: 3 }] - .try_into() - .unwrap() - } - - fn consolidation_requests() -> ConsolidationRequests { - vec![ConsolidationRequest { - source_address: [1; 20], - source_pubkey: [2; 48], - target_pubkey: [3; 48], - }] - .try_into() - .unwrap() - } - - fn builder_deposit_requests() -> BuilderDepositRequests { - vec![BuilderDepositRequest { - pubkey: [1; 48], - withdrawal_credentials: [2; 32], - amount: 3, - signature: [4; 96], - }] - .try_into() - .unwrap() - } - - fn builder_exit_requests() -> BuilderExitRequests { - vec![BuilderExitRequest { source_address: [1; 20], pubkey: [2; 48] }].try_into().unwrap() - } - - fn execution_requests_electra_fulu() -> ExecutionRequestsElectraFulu { - ExecutionRequestsElectraFulu { - deposits: deposit_requests(), - withdrawals: withdrawal_requests(), - consolidations: consolidation_requests(), - } - } - - fn execution_requests_gloas() -> ExecutionRequestsGloas { - ExecutionRequestsGloas { - deposits: deposit_requests(), - withdrawals: withdrawal_requests(), - consolidations: consolidation_requests(), - builder_deposits: builder_deposit_requests(), - builder_exits: builder_exit_requests(), - } - } - - fn bellatrix() -> NewPayloadRequest { - NewPayloadRequest::Bellatrix(NewPayloadRequestBellatrix { execution_payload: payload_v1() }) - } - - fn capella() -> NewPayloadRequest { - NewPayloadRequest::Capella(NewPayloadRequestCapella { execution_payload: payload_v2() }) - } - - fn deneb() -> NewPayloadRequest { - NewPayloadRequest::Deneb(NewPayloadRequestDeneb { - execution_payload: payload_v3(), - versioned_hashes: versioned_hashes(), - parent_beacon_block_root: [10; 32], - }) - } - - fn electra_fulu() -> NewPayloadRequest { - NewPayloadRequest::ElectraFulu(NewPayloadRequestElectraFulu { - execution_payload: payload_v3(), - versioned_hashes: versioned_hashes(), - parent_beacon_block_root: [10; 32], - execution_requests: execution_requests_electra_fulu(), - }) - } - - fn gloas() -> NewPayloadRequest { - NewPayloadRequest::Gloas(NewPayloadRequestGloas { - execution_payload: payload_v4(), - versioned_hashes: versioned_hashes(), - parent_beacon_block_root: [10; 32], - execution_requests: execution_requests_gloas(), - }) - } - - fn stateless_input(new_payload_request: NewPayloadRequest) -> StatelessInput { - StatelessInput { new_payload_request, witness: ExecutionWitness::default(), chain_id: 1 } - } - - #[test] - fn matches_fork_partitions_every_variant_and_fork() { - const ELECTRA_FULU_FORKS: &[ProtocolFork] = - &[ProtocolFork::Prague, ProtocolFork::Osaka, ProtocolFork::BPO1, ProtocolFork::BPO2]; - for (request, matching) in [ - (bellatrix(), [ProtocolFork::Paris].as_slice()), - (capella(), [ProtocolFork::Shanghai].as_slice()), - (deneb(), [ProtocolFork::Cancun].as_slice()), - (electra_fulu(), ELECTRA_FULU_FORKS), - (gloas(), [ProtocolFork::Amsterdam].as_slice()), - ] { - for fork in ProtocolFork::Paris.as_u64()..=ProtocolFork::Amsterdam.as_u64() { - let fork = ProtocolFork::from_u64(fork).unwrap(); - let input = stateless_input(request.clone()); - let result = - StatelessInput::from_schema_prefixed_ssz(&input.to_schema_prefixed_ssz(fork)); - if matching.contains(&fork) { - let (decoded_fork, decoded) = result.unwrap(); - assert_eq!(decoded_fork, fork); - assert_eq!(decoded.new_payload_request, request); - } else { - assert!(result.is_err()); - } - } - } - } - - #[test] - fn progressive_container_roots_match_reference_vectors() { - let hasher = Sha2Hasher; - for (root, expected) in [ - ( - payload_v1().hash_tree_root(&hasher), - "7607fcf862b0f219726ad51d8651d49a9bbbe12fb62edaacd399c25db92b8d77", - ), - ( - payload_v2().hash_tree_root(&hasher), - "2e3ce606be3d7aa667c2babf22196711f68b45bea6716c6446ec5dce4bd39449", - ), - ( - payload_v3().hash_tree_root(&hasher), - "b9ccbb429059770fb1c3796aa98dc5d5df321b6226d46ed14203cfe8df186834", - ), - ( - payload_v4().hash_tree_root(&hasher), - "fc49b59feaa0a2877a26f64bf9e6e30c3848c32c6c2ffa6ca4943a57d640f753", - ), - ( - execution_requests_electra_fulu().hash_tree_root(&hasher), - "56dff976fcc8547491480bb0c68c391852c66410c1768707a851c5038047b78f", - ), - ( - execution_requests_gloas().hash_tree_root(&hasher), - "0304da3c1bcc50b26b9d6408ea98648962bde84bc81f5d50d645f2b3dcc0e9b0", - ), - ( - bellatrix().hash_tree_root(&hasher), - "93865654d75f729c9d20deeee3d745fa29e6ec7fdcb99011a0377525f9e453e8", - ), - ( - capella().hash_tree_root(&hasher), - "ac30ba2c669bd26955369b7c5dd74cdc6721b66d0a236a94771406ba66711196", - ), - ( - deneb().hash_tree_root(&hasher), - "24efdd5269b94c1d8460a9742ec31d6202a81bbada97d837fbdfe2bf31007e37", - ), - ( - electra_fulu().hash_tree_root(&hasher), - "6702e13f5227b1bfb251a458e88b8390147c37e221dc875a4cc39b8ba237826c", - ), - ( - gloas().hash_tree_root(&hasher), - "6a01e66b56a81b3fb0877a573151ba4a01159547dd96bc67f165e2ece858ea90", - ), - ] { - assert_eq!(const_hex::encode(root), expected); - } - } - - #[test] - fn progressive_lists_retain_bounded_list_byte_encoding() { - let transaction: Transaction = vec![1_u8, 2, 3].into(); - let bounded_transaction: SszList = vec![1_u8, 2, 3].try_into().unwrap(); - assert_eq!(transaction.to_ssz(), bounded_transaction.to_ssz()); - - let transactions: Transactions = vec![transaction].into(); - let bounded_transactions: SszList, 8> = - vec![bounded_transaction].try_into().unwrap(); - assert_eq!(transactions.to_ssz(), bounded_transactions.to_ssz()); - - let withdrawals = payload_v2().withdrawals; - let bounded_withdrawals: SszList = - withdrawals.clone().into_inner().try_into().unwrap(); - assert_eq!(withdrawals.to_ssz(), bounded_withdrawals.to_ssz()); - - let deposits = deposit_requests(); - let bounded_deposits: SszList = - deposits.clone().into_inner().try_into().unwrap(); - assert_eq!(deposits.to_ssz(), bounded_deposits.to_ssz()); - - let block_access_list: BlockAccessList = vec![0xba_u8; 33].into(); - let bounded_block_access_list: SszList = vec![0xba_u8; 33].try_into().unwrap(); - assert_eq!(block_access_list.to_ssz(), bounded_block_access_list.to_ssz()); - } - - #[test] - fn versioned_hashes_decode_up_to_the_limit() { - let encode = |len| ProgressiveList::from(vec![[9_u8; 32]; len]).to_ssz(); - assert!(VersionedHashes::from_ssz_bytes(&encode(MAX_BLOB_COMMITMENTS_PER_BLOCK)).is_ok()); - assert!( - VersionedHashes::from_ssz_bytes(&encode(MAX_BLOB_COMMITMENTS_PER_BLOCK + 1)).is_err() - ); - } -} diff --git a/crates/stateless-validator-common/src/guest/output.rs b/crates/stateless-validator-common/src/guest/output.rs deleted file mode 100644 index 55d461b..0000000 --- a/crates/stateless-validator-common/src/guest/output.rs +++ /dev/null @@ -1,53 +0,0 @@ -//! Canonical stateless validation output types. -//! -//! The types mirror `StatelessValidationResult` and its SSZ schema in [`stateless.py`]. The -//! serialized form is the plain SSZ encoding without a schema prefix. -//! -//! [`stateless.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/stateless.py - -use alloc::vec::Vec; - -use libssz_derive::{SszDecode, SszEncode}; - -/// Canonical result returned by stateless validation. -#[derive(Debug, Clone, Default, PartialEq, Eq, SszEncode, SszDecode)] -pub struct StatelessValidationResult { - /// The SSZ hash tree root of the validated payload request. - pub new_payload_request_root: [u8; 32], - /// Whether the stateless validation succeeded. - pub successful_validation: bool, - /// The chain identifier echoed from the decoded input. - pub chain_id: u64, - /// The exact schema identifier decoded and executed by the guest. - pub schema_id: u16, -} - -#[cfg(test)] -mod tests { - use libssz::{SszDecode as _, SszEncode as _}; - - use super::*; - - #[test] - fn validation_result_has_fixed_v08_layout() { - let result = StatelessValidationResult { - new_payload_request_root: [0xaa; 32], - successful_validation: true, - chain_id: 0x0102_0304_0506_0708, - schema_id: 0x1501, - }; - let encoded = result.to_ssz(); - - assert_eq!(encoded.len(), 43); - assert_eq!(&encoded[..32], &[0xaa; 32]); - assert_eq!(encoded[32], 1); - assert_eq!(&encoded[33..41], &0x0102_0304_0506_0708_u64.to_le_bytes()); - assert_eq!(&encoded[41..], &0x1501_u16.to_le_bytes()); - assert_eq!(StatelessValidationResult::from_ssz_bytes(&encoded).unwrap(), result); - } - - #[test] - fn default_validation_result_is_zero_sentinel() { - assert_eq!(StatelessValidationResult::default().to_ssz(), [0; 43]); - } -} diff --git a/crates/stateless-validator-common/src/lib.rs b/crates/stateless-validator-common/src/lib.rs deleted file mode 100644 index 590c263..0000000 --- a/crates/stateless-validator-common/src/lib.rs +++ /dev/null @@ -1,11 +0,0 @@ -//! Stateless validator common types and utilities. - -#![cfg_attr(not(feature = "std"), no_std)] - -extern crate alloc; - -pub use libssz::{DecodeError, SszDecode, SszEncode}; -pub use libssz_merkle::{HashTreeRoot, Sha2Hasher, Sha256Hasher}; -pub use libssz_types::{ProgressiveList, SszList, SszVector}; - -pub mod guest; diff --git a/crates/stateless-validator-reth/Cargo.toml b/crates/stateless-validator-reth/Cargo.toml deleted file mode 100644 index e433e7e..0000000 --- a/crates/stateless-validator-reth/Cargo.toml +++ /dev/null @@ -1,51 +0,0 @@ -[package] -name = "stateless-validator-reth" -version.workspace = true -edition.workspace = true -rust-version.workspace = true -license.workspace = true - -[lints] -workspace = true - -[dependencies] -thiserror.workspace = true - -# alloy -alloy-consensus.workspace = true -alloy-eips.workspace = true -alloy-genesis.workspace = true -alloy-primitives.workspace = true -alloy-rpc-types-engine.workspace = true - -# reth -reth-chainspec.workspace = true -reth-ethereum-primitives.workspace = true -reth-evm-ethereum.workspace = true -reth-payload-validator.workspace = true -reth-primitives-traits.workspace = true -stateless.workspace = true -tries = { workspace = true, default-features = false } - -# zkvm-standard -zkvm-interface = { workspace = true, optional = true } - -# ere -ere-platform-core.workspace = true - -# local -stateless-validator-common.workspace = true - -[dev-dependencies] -critical-section = { version = "1.2.0", features = ["std"] } - -[features] -# guest -default = ["std"] -std = ["stateless-validator-common/std"] -sp1 = ["zkvm-interface"] -zkvm-interface = [ - "alloy-consensus/crypto-backend", - "dep:zkvm-interface", - "stateless/zkvm-interface", -] diff --git a/crates/stateless-validator-reth/src/guest.rs b/crates/stateless-validator-reth/src/guest.rs deleted file mode 100644 index 42541db..0000000 --- a/crates/stateless-validator-reth/src/guest.rs +++ /dev/null @@ -1,81 +0,0 @@ -//! Reth stateless validator guest program. - -use alloc::vec::Vec; - -use ere_platform_core::Platform; -use stateless::stateless_validation_with_trie; -use stateless_validator_common::{ - HashTreeRoot, SszEncode as _, - guest::{ - StatelessInput, StatelessValidationResult, - input::{ExecutionWitness, ProtocolFork, new_payload_request::NewPayloadRequest}, - }, -}; -use tries::zeth::SparseState; - -use crate::guest::{convert::into_validation_input, crypto::sha256_hasher, error::Error}; - -mod convert; -mod crypto; -mod error; - -/// Runs the stateless guest on the [`Platform`]. -pub fn entrypoint() { - #[cfg(feature = "zkvm-interface")] - crypto::install_crypto(); - - let input_bytes = P::read_input(); - P::write_output(&run_stateless_guest(&input_bytes)); -} - -/// Runs the stateless guest with serialized input and returns serialized -/// output, mirroring `run_stateless_guest` in the spec. -pub fn run_stateless_guest(input_bytes: &[u8]) -> Vec { - let Ok((fork, input)) = StatelessInput::from_schema_prefixed_ssz(input_bytes) else { - return StatelessValidationResult::default().to_ssz(); - }; - - let StatelessInput { new_payload_request, witness, chain_id } = input; - let new_payload_request_root = new_payload_request.hash_tree_root(&sha256_hasher()); - let successful_validation = - verify_stateless_new_payload(fork, new_payload_request, witness, chain_id).is_ok(); - - StatelessValidationResult { - new_payload_request_root, - successful_validation, - chain_id, - schema_id: fork.schema_id(), - } - .to_ssz() -} - -/// Statelessly validates the execution payload, mirroring -/// `verify_stateless_new_payload` in the spec. -fn verify_stateless_new_payload( - fork: ProtocolFork, - new_payload_request: NewPayloadRequest, - witness: ExecutionWitness, - chain_id: u64, -) -> Result<(), Error> { - let input = into_validation_input(fork, new_payload_request, witness, chain_id)?; - stateless_validation_with_trie::( - input.block, - input.witness, - input.chain_spec, - input.evm_config, - )?; - Ok(()) -} - -#[cfg(test)] -mod tests { - use super::*; - use stateless_validator_common::SszDecode as _; - - #[test] - fn malformed_input_returns_default_result() { - let output = run_stateless_guest(&[]); - let result = StatelessValidationResult::from_ssz_bytes(&output).unwrap(); - assert_eq!(result, StatelessValidationResult::default()); - } -} diff --git a/crates/stateless-validator-reth/src/guest/convert.rs b/crates/stateless-validator-reth/src/guest/convert.rs deleted file mode 100644 index 6b998cd..0000000 --- a/crates/stateless-validator-reth/src/guest/convert.rs +++ /dev/null @@ -1,432 +0,0 @@ -//! Conversions from the canonical stateless input to the reth structures. - -use alloc::{ - collections::BTreeMap, - string::{String, ToString}, - sync::Arc, - vec::Vec, -}; -use alloy_consensus::Block; -use alloy_eips::eip7840::BlobParams; -use alloy_primitives::{Address, B256, Bloom, Bytes, U256}; -use alloy_rpc_types_engine::{ - CancunPayloadFields, ExecutionData, ExecutionPayloadSidecar, PayloadError, -}; -use reth_chainspec::{ChainSpec, EthereumHardforks}; -use reth_evm_ethereum::EthEvmConfig; -use reth_payload_validator::{cancun, prague, shanghai}; -use reth_primitives_traits::{Block as _, SealedBlock, SignedTransaction}; -use stateless::Genesis; -use stateless_validator_common::{ - Sha256Hasher, SszEncode, SszList, - guest::input::{ - ExecutionWitness, ProtocolFork, - new_payload_request::{ - ExecutionPayloadV2, ExecutionPayloadV3, ExecutionPayloadV4, - ExecutionRequestsElectraFulu, ExecutionRequestsGloas, Hash32, NewPayloadRequest, - VersionedHashes, Withdrawals, - }, - }, -}; - -use crate::guest::{crypto, error::Error}; - -/// EIP-7685 request type prefixes. -const DEPOSIT_REQUEST_TYPE: u8 = 0x00; -const WITHDRAWAL_REQUEST_TYPE: u8 = 0x01; -const CONSOLIDATION_REQUEST_TYPE: u8 = 0x02; -const BUILDER_DEPOSIT_REQUEST_TYPE: u8 = 0x03; -const BUILDER_EXIT_REQUEST_TYPE: u8 = 0x04; - -/// Reconstructed reth validation input consumed by `stateless_validation_with_trie`. -pub(crate) struct ValidationInput { - pub(crate) chain_spec: Arc, - pub(crate) evm_config: EthEvmConfig, - pub(crate) block: Block, - pub(crate) witness: stateless::ExecutionWitness, -} - -/// Converts the decoded canonical stateless input into the reth validation -/// input consumed by `stateless_validation_with_trie`. -pub(crate) fn into_validation_input( - fork: ProtocolFork, - new_payload_request: NewPayloadRequest, - witness: ExecutionWitness, - chain_id: u64, -) -> Result { - let chain_spec = Arc::new(ChainSpec::from(Genesis { - config: to_reth_chain_config(fork, chain_id), - ..Default::default() - })); - let evm_config = EthEvmConfig::new(chain_spec.clone()); - let execution_data = new_payload_request_to_execution_data(new_payload_request); - let block = ensure_well_formed_payload(chain_spec.clone(), execution_data)?.into_block(); - let witness = to_reth_witness(witness); - Ok(ValidationInput { chain_spec, evm_config, block, witness }) -} - -/// Converts a chain configuration into an [`alloy_genesis::ChainConfig`]. -fn to_reth_chain_config(fork: ProtocolFork, chain_id: u64) -> alloy_genesis::ChainConfig { - let time_at = |target| (fork >= target).then_some(0); - - alloy_genesis::ChainConfig { - chain_id, - homestead_block: Some(0), - dao_fork_block: Some(0), - dao_fork_support: true, - eip150_block: Some(0), - eip155_block: Some(0), - eip158_block: Some(0), - byzantium_block: Some(0), - constantinople_block: Some(0), - petersburg_block: Some(0), - istanbul_block: Some(0), - muir_glacier_block: Some(0), - berlin_block: Some(0), - london_block: Some(0), - arrow_glacier_block: Some(0), - gray_glacier_block: Some(0), - merge_netsplit_block: Some(0), - shanghai_time: time_at(ProtocolFork::Shanghai), - cancun_time: time_at(ProtocolFork::Cancun), - prague_time: time_at(ProtocolFork::Prague), - osaka_time: time_at(ProtocolFork::Osaka), - bpo1_time: time_at(ProtocolFork::BPO1), - bpo2_time: time_at(ProtocolFork::BPO2), - bpo3_time: None, - bpo4_time: None, - bpo5_time: None, - amsterdam_time: time_at(ProtocolFork::Amsterdam), - terminal_total_difficulty: Some(U256::ZERO), - terminal_total_difficulty_passed: true, - blob_schedule: active_fork_blob_schedule(fork), - deposit_contract_address: Some(alloy_eips::eip6110::MAINNET_DEPOSIT_CONTRACT_ADDRESS), - ..Default::default() - } -} - -/// Builds a reth blob schedule for the active fork. -fn active_fork_blob_schedule(fork: ProtocolFork) -> BTreeMap { - let (key, params) = match fork { - ProtocolFork::Cancun => ("cancun", BlobParams::cancun()), - ProtocolFork::Prague => ("prague", BlobParams::prague()), - ProtocolFork::Osaka => ("osaka", BlobParams::osaka()), - ProtocolFork::BPO1 => ("bpo1", BlobParams::bpo1()), - ProtocolFork::BPO2 => ("bpo2", BlobParams::bpo2()), - // The amsterdam arm in `blob_schedule_blob_params` of alloy-genesis is - // spelled `Amsterdam` while every other fork key is lowercase. - ProtocolFork::Amsterdam => ("Amsterdam", BlobParams::bpo2()), - _ => return BTreeMap::new(), - }; - BTreeMap::from([(key.to_string(), params)]) -} - -/// Builds the alloy V1 payload from any canonical payload version, which all -/// share the V1 field subset. -macro_rules! to_alloy_payload_v1 { - ($payload:expr) => { - alloy_rpc_types_engine::ExecutionPayloadV1 { - parent_hash: B256::from($payload.parent_hash), - fee_recipient: Address::from($payload.fee_recipient), - state_root: B256::from($payload.state_root), - receipts_root: B256::from($payload.receipts_root), - logs_bloom: Bloom::from_slice(&$payload.logs_bloom[..]), - prev_randao: B256::from($payload.prev_randao), - block_number: $payload.block_number, - gas_limit: $payload.gas_limit, - gas_used: $payload.gas_used, - timestamp: $payload.timestamp, - extra_data: Bytes::from($payload.extra_data.into_inner()), - base_fee_per_gas: U256::from_le_bytes($payload.base_fee_per_gas), - block_hash: B256::from($payload.block_hash), - transactions: $payload - .transactions - .into_iter() - .map(|tx| Bytes::from(tx.into_inner())) - .collect(), - } - }; -} - -/// Converts the new payload request into engine-API execution data. -fn new_payload_request_to_execution_data(request: NewPayloadRequest) -> ExecutionData { - let hasher = crypto::sha256_hasher(); - match request { - NewPayloadRequest::Bellatrix(request) => ExecutionData::new( - alloy_rpc_types_engine::ExecutionPayload::V1(to_alloy_payload_v1!( - request.execution_payload - )), - ExecutionPayloadSidecar::none(), - ), - NewPayloadRequest::Capella(request) => ExecutionData::new( - alloy_rpc_types_engine::ExecutionPayload::V2(to_alloy_payload_v2( - request.execution_payload, - )), - ExecutionPayloadSidecar::none(), - ), - NewPayloadRequest::Deneb(request) => ExecutionData::new( - alloy_rpc_types_engine::ExecutionPayload::V3(to_alloy_payload_v3( - request.execution_payload, - )), - ExecutionPayloadSidecar::v3(cancun_fields( - request.versioned_hashes, - request.parent_beacon_block_root, - )), - ), - NewPayloadRequest::ElectraFulu(request) => ExecutionData::new( - alloy_rpc_types_engine::ExecutionPayload::V3(to_alloy_payload_v3( - request.execution_payload, - )), - ExecutionPayloadSidecar::v4( - cancun_fields(request.versioned_hashes, request.parent_beacon_block_root), - alloy_rpc_types_engine::PraguePayloadFields::new( - compute_requests_hash_electra_fulu(&request.execution_requests, &hasher), - ), - ), - ), - NewPayloadRequest::Gloas(request) => ExecutionData::new( - alloy_rpc_types_engine::ExecutionPayload::V4(to_alloy_payload_v4( - request.execution_payload, - )), - ExecutionPayloadSidecar::v4( - cancun_fields(request.versioned_hashes, request.parent_beacon_block_root), - alloy_rpc_types_engine::PraguePayloadFields::new(compute_requests_hash_gloas( - &request.execution_requests, - &hasher, - )), - ), - ), - } -} - -fn to_alloy_payload_v2(payload: ExecutionPayloadV2) -> alloy_rpc_types_engine::ExecutionPayloadV2 { - let withdrawals = to_alloy_withdrawals(payload.withdrawals); - alloy_rpc_types_engine::ExecutionPayloadV2 { - payload_inner: to_alloy_payload_v1!(payload), - withdrawals, - } -} - -fn to_alloy_payload_v3(payload: ExecutionPayloadV3) -> alloy_rpc_types_engine::ExecutionPayloadV3 { - let blob_gas_used = payload.blob_gas_used; - let excess_blob_gas = payload.excess_blob_gas; - let withdrawals = to_alloy_withdrawals(payload.withdrawals); - alloy_rpc_types_engine::ExecutionPayloadV3 { - payload_inner: alloy_rpc_types_engine::ExecutionPayloadV2 { - payload_inner: to_alloy_payload_v1!(payload), - withdrawals, - }, - blob_gas_used, - excess_blob_gas, - } -} - -fn to_alloy_payload_v4(payload: ExecutionPayloadV4) -> alloy_rpc_types_engine::ExecutionPayloadV4 { - let blob_gas_used = payload.blob_gas_used; - let excess_blob_gas = payload.excess_blob_gas; - let block_access_list = Bytes::from(payload.block_access_list.into_inner()); - let slot_number = payload.slot_number; - let withdrawals = to_alloy_withdrawals(payload.withdrawals); - alloy_rpc_types_engine::ExecutionPayloadV4 { - payload_inner: alloy_rpc_types_engine::ExecutionPayloadV3 { - payload_inner: alloy_rpc_types_engine::ExecutionPayloadV2 { - payload_inner: to_alloy_payload_v1!(payload), - withdrawals, - }, - blob_gas_used, - excess_blob_gas, - }, - block_access_list, - slot_number, - } -} - -/// Converts canonical withdrawals into the alloy list. The list bound matches -/// the canonical bound. -fn to_alloy_withdrawals(withdrawals: Withdrawals) -> Vec { - withdrawals - .into_iter() - .map(|withdrawal| alloy_eips::eip4895::Withdrawal { - index: withdrawal.index, - validator_index: withdrawal.validator_index, - address: Address::from(withdrawal.address), - amount: withdrawal.amount, - }) - .collect() -} - -fn cancun_fields( - versioned_hashes: VersionedHashes, - parent_beacon_block_root: Hash32, -) -> CancunPayloadFields { - CancunPayloadFields::new( - B256::from(parent_beacon_block_root), - versioned_hashes.into_iter().map(B256::from).collect(), - ) -} - -/// Computes the EIP-7685 requests hash over the Electra/Fulu execution requests. -fn compute_requests_hash_electra_fulu( - requests: &ExecutionRequestsElectraFulu, - hasher: &impl Sha256Hasher, -) -> B256 { - compute_requests_hash( - [ - encode_execution_requests(DEPOSIT_REQUEST_TYPE, &requests.deposits), - encode_execution_requests(WITHDRAWAL_REQUEST_TYPE, &requests.withdrawals), - encode_execution_requests(CONSOLIDATION_REQUEST_TYPE, &requests.consolidations), - ], - hasher, - ) -} - -/// Computes the EIP-7685 requests hash over the Gloas execution requests. -fn compute_requests_hash_gloas( - requests: &ExecutionRequestsGloas, - hasher: &impl Sha256Hasher, -) -> B256 { - compute_requests_hash( - [ - encode_execution_requests(DEPOSIT_REQUEST_TYPE, &requests.deposits), - encode_execution_requests(WITHDRAWAL_REQUEST_TYPE, &requests.withdrawals), - encode_execution_requests(CONSOLIDATION_REQUEST_TYPE, &requests.consolidations), - encode_execution_requests(BUILDER_DEPOSIT_REQUEST_TYPE, &requests.builder_deposits), - encode_execution_requests(BUILDER_EXIT_REQUEST_TYPE, &requests.builder_exits), - ], - hasher, - ) -} - -fn compute_requests_hash( - requests: impl IntoIterator>>, - hasher: &impl Sha256Hasher, -) -> B256 { - let hashes = requests - .into_iter() - .flatten() - .flat_map(|request| hasher.hash(&request)) - .collect::>(); - hasher.hash(&hashes).into() -} - -/// Encodes one request list as its type byte followed by the concatenated SSZ-encoded requests, -/// mirroring `encode_execution_requests` in [`requests.py`]. A list holding no items has no wire -/// form and contributes nothing to the commitment. -/// -/// [`requests.py`]: https://github.com/ethereum/execution-specs/blob/tests-zkevm@v21.0.7/src/ethereum/forks/amsterdam/execution_engine/requests.py -fn encode_execution_requests(request_type: u8, requests: &[T]) -> Option> { - if requests.is_empty() { - return None; - } - - let mut buf = Vec::with_capacity(1 + requests.len() * T::fixed_size()); - buf.push(request_type); - requests.iter().for_each(|request| request.ssz_append(&mut buf)); - Some(buf) -} - -/// Validates payload well-formedness, copied from [`validator.rs`] in the reth -/// ethereum payload builder. That crate pulls blst and other dependencies -/// unsuited to zkVM targets, so the function is vendored until it can be used -/// with minimal alloy-consensus features. -/// -/// [`validator.rs`]: https://github.com/paradigmxyz/reth/blob/3d270d933daeeb90c5735d81ff7f80c00322d6de/crates/ethereum/payload/src/validator.rs#L66 -fn ensure_well_formed_payload( - chain_spec: ChainSpec, - payload: ExecutionData, -) -> Result>, Error> -where - ChainSpec: EthereumHardforks, - T: SignedTransaction, -{ - let ExecutionData { payload, sidecar } = payload; - - let expected_hash = payload.block_hash(); - - let sealed_block = payload.try_into_block_with_sidecar(&sidecar)?.seal_slow(); - - // The hash included in the payload must match the computed block hash. - if expected_hash != sealed_block.hash() { - Err(PayloadError::BlockHash { execution: sealed_block.hash(), consensus: expected_hash })?; - } - - shanghai::ensure_well_formed_fields( - sealed_block.body(), - chain_spec.is_shanghai_active_at_timestamp(sealed_block.timestamp), - )?; - - cancun::ensure_well_formed_fields( - &sealed_block, - sidecar.cancun(), - chain_spec.is_cancun_active_at_timestamp(sealed_block.timestamp), - )?; - - prague::ensure_well_formed_fields( - sealed_block.body(), - sidecar.prague(), - chain_spec.is_prague_active_at_timestamp(sealed_block.timestamp), - )?; - - // TODO(Amsterdam) Add the Amsterdam specific validation. - - Ok(sealed_block) -} - -/// Converts the canonical execution witness into the reth container. -fn to_reth_witness(witness: ExecutionWitness) -> stateless::ExecutionWitness { - stateless::ExecutionWitness { - state: to_bytes_vec(witness.state), - codes: to_bytes_vec(witness.codes), - keys: Vec::new(), - headers: to_bytes_vec(witness.headers), - } -} - -/// Converts a canonical SSZ byte list collection into alloy byte vectors. -fn to_bytes_vec(items: impl IntoIterator>) -> Vec { - items.into_iter().map(|item| Bytes::from(item.into_inner())).collect() -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn activates_each_selected_fork_at_genesis() { - for fork_index in ProtocolFork::Paris.as_u64()..=ProtocolFork::Amsterdam.as_u64() { - let fork = ProtocolFork::from_u64(fork_index).unwrap(); - let config = to_reth_chain_config(fork, 42); - - assert_eq!(config.chain_id, 42); - assert_eq!(config.merge_netsplit_block, Some(0)); - assert_eq!(config.shanghai_time, (fork >= ProtocolFork::Shanghai).then_some(0)); - assert_eq!(config.cancun_time, (fork >= ProtocolFork::Cancun).then_some(0)); - assert_eq!(config.prague_time, (fork >= ProtocolFork::Prague).then_some(0)); - assert_eq!(config.osaka_time, (fork >= ProtocolFork::Osaka).then_some(0)); - assert_eq!(config.bpo1_time, (fork >= ProtocolFork::BPO1).then_some(0)); - assert_eq!(config.bpo2_time, (fork >= ProtocolFork::BPO2).then_some(0)); - assert_eq!(config.amsterdam_time, (fork >= ProtocolFork::Amsterdam).then_some(0)); - - let expected_blob_schedule = match fork { - ProtocolFork::Paris | ProtocolFork::Shanghai => BTreeMap::new(), - ProtocolFork::Cancun => { - BTreeMap::from([("cancun".to_string(), BlobParams::cancun())]) - } - ProtocolFork::Prague => { - BTreeMap::from([("prague".to_string(), BlobParams::prague())]) - } - ProtocolFork::Osaka => BTreeMap::from([("osaka".to_string(), BlobParams::osaka())]), - ProtocolFork::BPO1 => BTreeMap::from([("bpo1".to_string(), BlobParams::bpo1())]), - ProtocolFork::BPO2 => BTreeMap::from([("bpo2".to_string(), BlobParams::bpo2())]), - ProtocolFork::Amsterdam => { - BTreeMap::from([("Amsterdam".to_string(), BlobParams::bpo2())]) - } - }; - assert_eq!(config.blob_schedule, expected_blob_schedule); - assert_eq!( - config.deposit_contract_address, - Some(alloy_eips::eip6110::MAINNET_DEPOSIT_CONTRACT_ADDRESS) - ); - } - } -} diff --git a/crates/stateless-validator-reth/src/guest/crypto.rs b/crates/stateless-validator-reth/src/guest/crypto.rs deleted file mode 100644 index 3fcf236..0000000 --- a/crates/stateless-validator-reth/src/guest/crypto.rs +++ /dev/null @@ -1,32 +0,0 @@ -//! Crypto provider selection for the guest. - -#[cfg(feature = "sp1")] -pub(crate) mod sp1; - -use stateless_validator_common::Sha256Hasher; - -#[cfg(feature = "zkvm-interface")] -pub(crate) use stateless::zkvm_interface::install_crypto; - -#[cfg(feature = "zkvm-interface")] -#[derive(Debug, Clone, Copy, Default)] -struct ZkVMInterfaceSha256; - -#[cfg(feature = "zkvm-interface")] -impl Sha256Hasher for ZkVMInterfaceSha256 { - #[inline] - fn hash(&self, data: &[u8]) -> [u8; 32] { - stateless::zkvm_interface::sha256(data) - } -} - -/// Returns the [`Sha256Hasher`] implementation for the active zkVM feature. -#[cfg(feature = "zkvm-interface")] -pub(crate) fn sha256_hasher() -> impl Sha256Hasher { - ZkVMInterfaceSha256 -} - -#[cfg(not(feature = "zkvm-interface"))] -pub(crate) fn sha256_hasher() -> impl Sha256Hasher { - stateless_validator_common::Sha2Hasher -} diff --git a/crates/stateless-validator-reth/src/guest/crypto/sp1.rs b/crates/stateless-validator-reth/src/guest/crypto/sp1.rs deleted file mode 100644 index 74d4d96..0000000 --- a/crates/stateless-validator-reth/src/guest/crypto/sp1.rs +++ /dev/null @@ -1,8 +0,0 @@ -#[unsafe(no_mangle)] -extern "C" fn native_keccak256(bytes: *const u8, len: usize, output: *mut u8) { - let mut hash = zkvm_interface::zkvm_keccak256_hash { data: [0; 32] }; - unsafe { - zkvm_interface::zkvm_keccak256(bytes, len, &mut hash); - core::ptr::copy_nonoverlapping(hash.data.as_ptr(), output, 32); - } -} diff --git a/crates/stateless-validator-reth/src/guest/error.rs b/crates/stateless-validator-reth/src/guest/error.rs deleted file mode 100644 index 13d1646..0000000 --- a/crates/stateless-validator-reth/src/guest/error.rs +++ /dev/null @@ -1,20 +0,0 @@ -//! Errors for the stateless input guest. - -use alloy_rpc_types_engine::PayloadError; -use stateless::validation::StatelessValidationError; -use thiserror::Error; - -/// Errors for the stateless input guest. Each variant tags the point at which -/// conversion or validation fails rather than carrying diagnostic detail. -#[derive(Debug, Error)] -pub(crate) enum Error { - /// Shared guest validation failed. - #[error(transparent)] - Common(#[from] stateless_validator_common::guest::Error), - /// The payload was not well formed. - #[error(transparent)] - PayloadError(#[from] PayloadError), - /// The reth execution path rejected the payload. - #[error(transparent)] - StatelessValidationError(#[from] StatelessValidationError), -} diff --git a/crates/stateless-validator-reth/src/lib.rs b/crates/stateless-validator-reth/src/lib.rs deleted file mode 100644 index f08d2c6..0000000 --- a/crates/stateless-validator-reth/src/lib.rs +++ /dev/null @@ -1,7 +0,0 @@ -//! Stateless Reth guest - -#![cfg_attr(not(feature = "std"), no_std)] - -extern crate alloc; - -pub mod guest; diff --git a/crates/stateless/Cargo.toml b/crates/stateless/Cargo.toml index dfe6fd6..eda70d3 100644 --- a/crates/stateless/Cargo.toml +++ b/crates/stateless/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true +homepage.workspace = true repository.workspace = true description = "Stateless Ethereum block validation using execution witnesses" @@ -12,7 +13,7 @@ workspace = true [dependencies] # internal -tries = { workspace = true, default-features = false } +tries.workspace = true # alloy alloy-primitives.workspace = true @@ -32,24 +33,11 @@ reth-chainspec.workspace = true reth-consensus.workspace = true # revm -revm = { workspace = true, optional = true } revm-bytecode.workspace = true revm-database-interface.workspace = true revm-state.workspace = true -# zkVM standard -zkvm-interface = { workspace = true, optional = true } - # misc thiserror.workspace = true serde.workspace = true serde_with.workspace = true - -[features] -default = ["reth-trie"] -reth-trie = ["tries/std"] -zkvm-interface = [ - "alloy-consensus/crypto-backend", - "dep:revm", - "dep:zkvm-interface", -] diff --git a/crates/stateless/src/lib.rs b/crates/stateless/src/lib.rs index 9e03a41..0672bc8 100644 --- a/crates/stateless/src/lib.rs +++ b/crates/stateless/src/lib.rs @@ -39,16 +39,16 @@ mod recover_block; use alloy_genesis::ChainConfig; #[doc(inline)] -pub use recover_block::recover_block; +pub use recover_block::UncompressedPublicKey; +#[doc(inline)] +pub use recover_block::recover_block_with_public_keys; #[doc(inline)] pub use tries::StatelessTrie; #[doc(inline)] pub use validation::StatelessValidationOutput; #[doc(inline)] -#[cfg(feature = "reth-trie")] pub use validation::stateless_validation; #[doc(inline)] -#[cfg(feature = "reth-trie")] pub use validation::stateless_validation_recovered; #[doc(inline)] pub use validation::stateless_validation_recovered_with_trie; @@ -58,9 +58,6 @@ pub use validation::stateless_validation_with_trie; /// Implementation of stateless validation pub mod validation; pub(crate) mod witness_db; -#[cfg(feature = "zkvm-interface")] -#[cfg_attr(docsrs, doc(cfg(feature = "zkvm-interface")))] -pub mod zkvm_interface; #[doc(inline)] pub use alloy_rpc_types_debug::ExecutionWitness; diff --git a/crates/stateless/src/recover_block.rs b/crates/stateless/src/recover_block.rs index 9c120ec..e9be1f6 100644 --- a/crates/stateless/src/recover_block.rs +++ b/crates/stateless/src/recover_block.rs @@ -1,96 +1,78 @@ use crate::validation::StatelessValidationError; use alloc::vec::Vec; use alloy_consensus::BlockHeader; -use alloy_primitives::{Address, B256, Signature}; +use alloy_primitives::Address; +use core::ops::Deref; use reth_chainspec::EthereumHardforks; use reth_ethereum_primitives::{Block, TransactionSigned}; use reth_primitives_traits::{Block as _, RecoveredBlock}; +use serde::{Deserialize, Serialize}; +use serde_with::{Bytes, serde_as}; -/// Recovers the sender of every transaction in a block from its signature. +/// Serialized uncompressed public key +#[serde_as] +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct UncompressedPublicKey(#[serde_as(as = "Bytes")] pub [u8; 65]); + +impl Deref for UncompressedPublicKey { + type Target = [u8]; + + fn deref(&self) -> &Self::Target { + &self.0 + } +} + +/// Verifies all transactions in a block against a list of public keys and signatures. /// /// Returns a `RecoveredBlock` -pub fn recover_block( +pub fn recover_block_with_public_keys( block: Block, + public_keys: Vec, chain_spec: &ChainSpec, ) -> Result, StatelessValidationError> where ChainSpec: EthereumHardforks, { + if block.body().transactions.len() != public_keys.len() { + return Err(StatelessValidationError::Custom( + "Number of public keys must match number of transactions", + )); + } + // Determine if we're in the Homestead fork for signature validation let is_homestead = chain_spec.is_homestead_active_at_block(block.header().number()); - let senders = block - .body() - .transactions() - .map(|tx| recover_sender(tx, is_homestead)) + // Verify each transaction signature against its corresponding public key + let senders = public_keys + .iter() + .zip(block.body().transactions()) + .map(|(vk, tx)| verify_and_compute_sender(vk, tx, is_homestead)) .collect::, _>>()?; + // Create RecoveredBlock with verified senders let block_hash = block.hash_slow(); Ok(RecoveredBlock::new(block, senders, block_hash)) } -/// Recovers the sender of a transaction from its signature. -fn recover_sender( +/// Verifies a transaction using its signature and the given public key. +/// +/// Note: If the signature or the public key is incorrect, then this method +/// will return an error. +/// +/// Returns the address derived from the public key. +fn verify_and_compute_sender( + vk: &UncompressedPublicKey, tx: &TransactionSigned, is_homestead: bool, ) -> Result { - recover_signer(tx.signature(), tx.signature_hash(), is_homestead) -} + let sig = tx.signature(); -fn recover_signer( - sig: &Signature, - sig_hash: B256, - is_homestead: bool, -) -> Result { // non-normalized signatures are only valid pre-homestead - if is_homestead && sig.normalize_s().is_some() { + let sig_is_normalized = sig.normalize_s().is_none(); + if is_homestead && !sig_is_normalized { return Err(StatelessValidationError::HomesteadSignatureNotNormalized); } - - alloy_consensus::crypto::secp256k1::recover_signer_unchecked(sig, sig_hash) + let sig_hash = tx.signature_hash(); + alloy_consensus::crypto::secp256k1::verify_and_compute_signer_unchecked(&vk.0, sig, sig_hash) .map_err(|_| StatelessValidationError::SignerRecovery) } - -#[cfg(test)] -mod tests { - use super::*; - use alloy_primitives::{U256, hex}; - - /// Order of the secp256k1 curve. - const SECP256K1N: [u8; 32] = - hex!("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"); - - #[test] - fn recovers_signer_matching_signature_parity() { - let hash = B256::ZERO; - let signature = Signature::test_signature(); - let expected = signature.recover_address_from_prehash(&hash).unwrap(); - - assert_eq!(recover_signer(&signature, hash, true).unwrap(), expected); - assert_ne!( - recover_signer(&signature.with_parity(!signature.v()), hash, true).unwrap(), - expected - ); - } - - #[test] - fn rejects_non_normalized_signature_after_homestead() { - let hash = B256::ZERO; - let signature = Signature::test_signature(); - let high_s = Signature::new( - signature.r(), - U256::from_be_bytes(SECP256K1N) - signature.s(), - !signature.v(), - ); - assert!(high_s.normalize_s().is_some()); - - assert!(matches!( - recover_signer(&high_s, hash, true), - Err(StatelessValidationError::HomesteadSignatureNotNormalized) - )); - assert_eq!( - recover_signer(&high_s, hash, false).unwrap(), - recover_signer(&signature, hash, true).unwrap() - ); - } -} diff --git a/crates/stateless/src/validation.rs b/crates/stateless/src/validation.rs index b0a4251..b38c84d 100644 --- a/crates/stateless/src/validation.rs +++ b/crates/stateless/src/validation.rs @@ -1,4 +1,8 @@ -use crate::{ExecutionWitness, recover_block::recover_block, witness_db::WitnessDatabase}; +use crate::{ + ExecutionWitness, + recover_block::{UncompressedPublicKey, recover_block_with_public_keys}, + witness_db::WitnessDatabase, +}; use alloc::{ collections::BTreeMap, fmt::Debug, @@ -7,9 +11,7 @@ use alloc::{ vec::Vec, }; use alloy_consensus::{BlockHeader, Header}; -use alloy_eips::eip7928::{ - BlockAccessList, ITEM_COST, compute_block_access_list_hash, total_bal_items, -}; +use alloy_eips::eip7928::BlockAccessList; use alloy_primitives::{B256, keccak256}; use reth_chainspec::{EthChainSpec, EthereumHardforks}; use reth_consensus::ConsensusError; @@ -22,10 +24,7 @@ use reth_evm::{ }; use reth_primitives_traits::{RecoveredBlock, SealedHeader}; use reth_trie_common::{HashedPostState, KeccakKeyHasher}; -use tries::{StatelessTrie, StatelessTrieError}; - -#[cfg(feature = "reth-trie")] -use tries::default::StatelessSparseTrie; +use tries::{StatelessTrie, StatelessTrieError, default::StatelessSparseTrie}; /// BLOCKHASH ancestor lookup window limit per EVM (number of most recent blocks accessible). const BLOCKHASH_ANCESTOR_LIMIT: usize = 256; @@ -42,33 +41,9 @@ pub enum StatelessValidationError { limit: usize, }, - /// Error when an ancestor header hash does not match its child's parent hash. - #[error( - "invalid ancestor chain: child block {child_number} expects parent hash {expected_parent_hash}, but ancestor block {parent_number} has hash {actual_parent_hash}" - )] - InvalidAncestorParentHash { - /// The child block number whose parent hash was checked. - child_number: u64, - /// The ancestor block number provided as the parent. - parent_number: u64, - /// The parent hash committed to by the child header. - expected_parent_hash: B256, - /// The hash of the provided ancestor header. - actual_parent_hash: B256, - }, - - /// Error when ancestor header numbers are not contiguous. - #[error( - "invalid ancestor chain: ancestor block {parent_number} is not the parent of child block {child_number}; expected parent block {expected_parent_number}" - )] - InvalidAncestorNumber { - /// The child block number whose parent number was checked. - child_number: u64, - /// The expected parent block number. - expected_parent_number: u64, - /// The ancestor block number provided as the parent. - parent_number: u64, - }, + /// Error when the ancestor headers do not form a contiguous chain. + #[error("invalid ancestor chain")] + InvalidAncestorChain, /// Error when revealing the witness data failed. #[error("failed to reveal witness data for pre-state root {pre_state_root}")] @@ -85,15 +60,6 @@ pub enum StatelessValidationError { #[error("consensus validation failed: {0}")] ConsensusValidationFailed(#[from] ConsensusError), - /// Error when the block access list exceeds the per-block item gas limit (EIP-7928). - #[error("block access list exceeds gas limit, {items} items exceeds limit of {limit}")] - BlockAccessListGasLimitExceeded { - /// The number of block access list items produced during execution. - items: u64, - /// The maximum number of items allowed, the block gas limit divided by the per item cost. - limit: u64, - }, - /// Error during stateless state root calculation. #[error("stateless state root calculation failed")] StatelessStateRootCalculationFailed, @@ -172,9 +138,9 @@ pub struct StatelessValidationOutput { } /// Performs stateless validation of a block using the provided witness data. -#[cfg(feature = "reth-trie")] pub fn stateless_validation( current_block: Block, + public_keys: Vec, witness: ExecutionWitness, chain_spec: Arc, evm_config: E, @@ -185,6 +151,7 @@ where { stateless_validation_with_trie::( current_block, + public_keys, witness, chain_spec, evm_config, @@ -194,6 +161,7 @@ where /// Performs stateless validation of a block using a custom `StatelessTrie` implementation. pub fn stateless_validation_with_trie( current_block: Block, + public_keys: Vec, witness: ExecutionWitness, chain_spec: Arc, evm_config: E, @@ -203,7 +171,7 @@ where ChainSpec: Send + Sync + EthChainSpec
+ EthereumHardforks + Debug, E: ConfigureEvm + Clone + 'static, { - let recovered_block = recover_block(current_block, &*chain_spec)?; + let recovered_block = recover_block_with_public_keys(current_block, public_keys, &*chain_spec)?; stateless_validation_recovered_with_trie::( recovered_block, @@ -214,7 +182,6 @@ where } /// Performs stateless validation of an already-recovered block. -#[cfg(feature = "reth-trie")] pub fn stateless_validation_recovered( recovered_block: RecoveredBlock, witness: ExecutionWitness, @@ -245,7 +212,7 @@ where ChainSpec: Send + Sync + EthChainSpec
+ EthereumHardforks + Debug, E: ConfigureEvm + Clone + 'static, { - let ancestor_headers: Vec<_> = witness + let mut ancestor_headers: Vec<_> = witness .headers .iter() .map(|bytes| { @@ -255,6 +222,7 @@ where .map_err(|_| StatelessValidationError::HeaderDeserializationFailed) }) .collect::>()?; + ancestor_headers.sort_by_key(|header| header.number()); let count = ancestor_headers.len(); if count > BLOCKHASH_ANCESTOR_LIMIT { @@ -273,7 +241,7 @@ where validate_block_consensus(chain_spec.clone(), ¤t_block, parent)?; - let (mut trie, bytecode) = T::new(witness, parent.state_root)?; + let (mut trie, bytecode) = T::new(&witness, parent.state_root)?; let db = WitnessDatabase::new(&trie, bytecode, ancestor_hashes); @@ -284,40 +252,21 @@ where let block_access_list = executor.take_bal(); - // Validate the block access list gas limit constraint. - if let Some(bal) = block_access_list.as_ref() { - let items = total_bal_items(bal.as_slice()); - let limit = current_block.sealed_header().gas_limit() / ITEM_COST as u64; - if items > limit { - return Err(StatelessValidationError::BlockAccessListGasLimitExceeded { items, limit }); - } - } - - let block_access_list_hash = block_access_list.as_deref().map(compute_block_access_list_hash); - let mut state = executor.into_state(); let output = BlockExecutionOutput { state: state.take_bundle(), result }; validate_block_post_execution( ¤t_block, &chain_spec, - &output.result, + &output.receipts, + &output.requests, None, - block_access_list_hash, + &block_access_list, + Some(output.gas_used), ) .map_err(StatelessValidationError::ConsensusValidationFailed)?; - let mut hashed_state = - HashedPostState::from_bundle_state::(output.state.state()); - // Reth no longer carries storage-wipe markers in HashedPostState. Reset storage directly - // so accounts destroyed and recreated in the block cannot retain untouched pre-state slots. - for (address, account) in output.state.state() { - if account.was_destroyed() { - let hashed_address = keccak256(address); - trie.clear_storage(hashed_address); - hashed_state.storages.entry(hashed_address).or_default(); - } - } + let hashed_state = HashedPostState::from_bundle_state::(&output.state.state); let state_root = trie.calculate_state_root(hashed_state)?; if state_root != current_block.state_root { return Err(StatelessValidationError::PostStateRootMismatch { @@ -327,7 +276,7 @@ where } Ok(StatelessValidationOutput { - block_hash: current_block.hash(), + block_hash: current_block.hash_slow(), execution_output: output, block_access_list, }) @@ -364,20 +313,11 @@ fn compute_ancestor_hashes( ancestor_hashes.insert(parent_header.number, parent_hash); if parent_hash != parent_header.hash() { - return Err(StatelessValidationError::InvalidAncestorParentHash { - child_number: child_header.number, - parent_number: parent_header.number, - expected_parent_hash: parent_hash, - actual_parent_hash: parent_header.hash(), - }); + return Err(StatelessValidationError::InvalidAncestorChain); } if parent_header.number + 1 != child_header.number { - return Err(StatelessValidationError::InvalidAncestorNumber { - child_number: child_header.number, - expected_parent_number: child_header.number.saturating_sub(1), - parent_number: parent_header.number, - }); + return Err(StatelessValidationError::InvalidAncestorChain); } child_header = parent_header diff --git a/crates/stateless/src/witness_db.rs b/crates/stateless/src/witness_db.rs index 35faa3b..9c052fe 100644 --- a/crates/stateless/src/witness_db.rs +++ b/crates/stateless/src/witness_db.rs @@ -2,7 +2,7 @@ //! specifically designed for stateless execution environments. use alloc::{collections::btree_map::BTreeMap, format}; -use alloy_primitives::{Address, B256, Bytes, U256, map::B256IndexMap}; +use alloy_primitives::{Address, B256, U256, map::B256IndexMap}; use revm_bytecode::Bytecode; use revm_database_interface::Database; use revm_state::AccountInfo; @@ -27,7 +27,7 @@ where block_hashes_by_block_number: BTreeMap, /// Map of code hashes to bytecode. /// Used to fetch contract code needed during execution. - bytecode: B256IndexMap, + bytecode: B256IndexMap, /// The sparse Merkle Patricia Trie containing account and storage state. /// This is used to provide account/storage values during EVM execution. trie: &'a T, @@ -52,7 +52,7 @@ where /// the block limit. pub(crate) const fn new( trie: &'a T, - bytecode: B256IndexMap, + bytecode: B256IndexMap, ancestor_hashes: BTreeMap, ) -> Self { Self { trie, block_hashes_by_block_number: ancestor_hashes, bytecode } @@ -93,10 +93,9 @@ where /// /// Returns an error if the bytecode for the given hash is not found in the map. fn code_by_hash(&mut self, code_hash: B256) -> Result { - let raw = self.bytecode.get(&code_hash).cloned().ok_or_else(|| { + self.bytecode.get(&code_hash).cloned().ok_or_else(|| { WitnessDbError::TrieWitness(format!("bytecode for {code_hash} not found")) - })?; - Ok(Bytecode::new_raw(raw)) + }) } /// Get block hash by block number from the provided ancestor hashes map. diff --git a/crates/stateless/src/zkvm_interface.rs b/crates/stateless/src/zkvm_interface.rs deleted file mode 100644 index 0c9ee77..0000000 --- a/crates/stateless/src/zkvm_interface.rs +++ /dev/null @@ -1,387 +0,0 @@ -//! revm [`Crypto`] and alloy [`CryptoProvider`] implementations using [`zkvm_interface`]. - -use alloc::{sync::Arc, vec, vec::Vec}; -use core::mem::transmute; - -use alloy_consensus::crypto::{CryptoProvider, RecoveryError, install_default_provider}; -use alloy_primitives::Address; -#[cfg(target_vendor = "zisk")] -use revm::precompile::DefaultCrypto; -use revm::precompile::{ - Crypto, PrecompileHalt, - bls12_381::{G1Point, G1PointScalar, G2Point, G2PointScalar}, -}; -#[cfg(not(target_vendor = "zisk"))] -use zkvm_interface::zkvm_bls12_381_fp; -use zkvm_interface::{ - zkvm_blake2f_message, zkvm_blake2f_offset, zkvm_blake2f_state, zkvm_bls12_381_fp2, - zkvm_bls12_381_g1_msm_pair, zkvm_bls12_381_g1_point, zkvm_bls12_381_g2_msm_pair, - zkvm_bls12_381_g2_point, zkvm_bls12_381_pairing_pair, zkvm_bls12_381_scalar, - zkvm_bn254_g1_point, zkvm_bn254_g2_point, zkvm_bn254_pairing_pair, zkvm_bn254_scalar, - zkvm_keccak256_hash, zkvm_kzg_commitment, zkvm_kzg_field_element, zkvm_kzg_proof, - zkvm_ripemd160_hash, zkvm_secp256k1_hash, zkvm_secp256k1_pubkey, zkvm_secp256k1_signature, - zkvm_secp256r1_hash, zkvm_secp256r1_pubkey, zkvm_secp256r1_signature, zkvm_sha256_hash, -}; - -/// Installs [`ZkVMInterfaceCrypto`] as [`revm::precompile::Crypto`] backend and as -/// [`alloy_consensus::crypto::CryptoProvider`]. -/// -/// # Panics -/// -/// Panics if a revm or Alloy crypto backend has already been installed. -pub fn install_crypto() { - assert!(revm::install_crypto(ZkVMInterfaceCrypto)); - install_default_provider(Arc::new(ZkVMInterfaceCrypto)).unwrap(); -} - -/// revm and Alloy crypto provider backed by the standard zkVM interface. -#[derive(Debug, Default)] -struct ZkVMInterfaceCrypto; - -impl Crypto for ZkVMInterfaceCrypto { - #[inline] - fn sha256(&self, input: &[u8]) -> [u8; 32] { - sha256(input) - } - - #[inline] - fn blake2_compress(&self, rounds: u32, h: &mut [u64; 8], m: &[u64; 16], t: &[u64; 2], f: bool) { - let mut state = zkvm_blake2f_state { data: unsafe { transmute::<[u64; 8], [u8; 64]>(*h) } }; - let m = zkvm_blake2f_message { data: unsafe { transmute::<[u64; 16], [u8; 128]>(*m) } }; - let t = zkvm_blake2f_offset { data: unsafe { transmute::<[u64; 2], [u8; 16]>(*t) } }; - let ret = unsafe { zkvm_interface::zkvm_blake2f(rounds, &mut state, &m, &t, f as u8) }; - assert_eq!(ret, 0, "blake2f failed"); - *h = unsafe { transmute::<[u8; 64], [u64; 8]>(state.data) }; - } - - #[inline] - fn ripemd160(&self, input: &[u8]) -> [u8; 32] { - let mut output = zkvm_ripemd160_hash { data: [0; 32] }; - let ret = - unsafe { zkvm_interface::zkvm_ripemd160(input.as_ptr(), input.len(), &mut output) }; - assert_eq!(ret, 0, "ripemd160 failed"); - output.data - } - - #[inline] - fn modexp(&self, base: &[u8], exp: &[u8], modulus: &[u8]) -> Result, PrecompileHalt> { - let mut output = vec![0u8; modulus.len()]; - let ret = unsafe { - zkvm_interface::zkvm_modexp( - base.as_ptr(), - base.len(), - exp.as_ptr(), - exp.len(), - modulus.as_ptr(), - modulus.len(), - output.as_mut_ptr(), - ) - }; - (ret == 0).then_some(output).ok_or_else(|| PrecompileHalt::other("modexp failed")) - } - - #[inline] - fn secp256k1_ecrecover( - &self, - sig: &[u8; 64], - recid: u8, - msg: &[u8; 32], - ) -> Result<[u8; 32], PrecompileHalt> { - let msg = zkvm_secp256k1_hash { data: *msg }; - let sig = zkvm_secp256k1_signature { data: *sig }; - let mut pubkey = zkvm_secp256k1_pubkey { data: [0; 64] }; - let ret = - unsafe { zkvm_interface::zkvm_secp256k1_ecrecover(&msg, &sig, recid, &mut pubkey) }; - if ret != 0 { - return Err(PrecompileHalt::Secp256k1RecoverFailed); - } - let mut hash = keccak256(&pubkey.data); - hash[..12].fill(0); - Ok(hash) - } - - #[inline] - fn secp256r1_verify_signature(&self, msg: &[u8; 32], sig: &[u8; 64], pk: &[u8; 64]) -> bool { - let msg = zkvm_secp256r1_hash { data: *msg }; - let sig = zkvm_secp256r1_signature { data: *sig }; - let pk = zkvm_secp256r1_pubkey { data: *pk }; - let mut verified = false; - let ret = unsafe { zkvm_interface::zkvm_secp256r1_verify(&msg, &sig, &pk, &mut verified) }; - ret == 0 && verified - } - - #[inline] - fn bn254_g1_add(&self, p1: &[u8], p2: &[u8]) -> Result<[u8; 64], PrecompileHalt> { - let p1: &[u8; 64] = - p1.try_into().map_err(|_| PrecompileHalt::other("bn254 g1_add bad p1 len"))?; - let p2: &[u8; 64] = - p2.try_into().map_err(|_| PrecompileHalt::other("bn254 g1_add bad p2 len"))?; - let p1 = zkvm_bn254_g1_point { data: *p1 }; - let p2 = zkvm_bn254_g1_point { data: *p2 }; - let mut result = zkvm_bn254_g1_point { data: [0; 64] }; - let ret = unsafe { zkvm_interface::zkvm_bn254_g1_add(&p1, &p2, &mut result) }; - (ret == 0) - .then_some(result.data) - .ok_or_else(|| PrecompileHalt::other("bn254_g1_add failed")) - } - - #[inline] - fn bn254_g1_mul(&self, point: &[u8], scalar: &[u8]) -> Result<[u8; 64], PrecompileHalt> { - let point: &[u8; 64] = - point.try_into().map_err(|_| PrecompileHalt::other("bn254 g1_mul bad point len"))?; - let scalar: &[u8; 32] = - scalar.try_into().map_err(|_| PrecompileHalt::other("bn254 g1_mul bad scalar len"))?; - let point = zkvm_bn254_g1_point { data: *point }; - let scalar = zkvm_bn254_scalar { data: *scalar }; - let mut result = zkvm_bn254_g1_point { data: [0; 64] }; - let ret = unsafe { zkvm_interface::zkvm_bn254_g1_mul(&point, &scalar, &mut result) }; - (ret == 0) - .then_some(result.data) - .ok_or_else(|| PrecompileHalt::other("bn254_g1_mul failed")) - } - - #[inline] - fn bn254_pairing_check(&self, pairs: &[(&[u8], &[u8])]) -> Result { - let pairs: Vec = pairs - .iter() - .map(|(g1, g2)| zkvm_bn254_pairing_pair { - g1: zkvm_bn254_g1_point { data: (*g1).try_into().unwrap() }, - g2: zkvm_bn254_g2_point { data: (*g2).try_into().unwrap() }, - }) - .collect(); - let mut verified = false; - let ret = unsafe { - zkvm_interface::zkvm_bn254_pairing(pairs.as_ptr(), pairs.len(), &mut verified) - }; - (ret == 0).then_some(verified).ok_or_else(|| PrecompileHalt::other("bn254_pairing failed")) - } - - #[inline] - fn bls12_381_g1_add(&self, a: G1Point, b: G1Point) -> Result<[u8; 96], PrecompileHalt> { - let a = pack_bls12_381_g1(&a); - let b = pack_bls12_381_g1(&b); - let mut result = zkvm_bls12_381_g1_point { data: [0; 96] }; - let ret = unsafe { zkvm_interface::zkvm_bls12_g1_add(&a, &b, &mut result) }; - (ret == 0).then_some(result.data).ok_or(PrecompileHalt::Bls12381G1NotOnCurve) - } - - #[inline] - fn bls12_381_g1_msm( - &self, - pairs: &mut dyn Iterator>, - ) -> Result<[u8; 96], PrecompileHalt> { - let pairs: Vec = pairs - .map(|pair| { - let (point, scalar) = pair?; - Ok(zkvm_bls12_381_g1_msm_pair { - point: pack_bls12_381_g1(&point), - scalar: zkvm_bls12_381_scalar { data: scalar }, - }) - }) - .collect::>()?; - let mut result = zkvm_bls12_381_g1_point { data: [0; 96] }; - let ret = - unsafe { zkvm_interface::zkvm_bls12_g1_msm(pairs.as_ptr(), pairs.len(), &mut result) }; - (ret == 0).then_some(result.data).ok_or(PrecompileHalt::Bls12381G1NotOnCurve) - } - - #[inline] - fn bls12_381_g2_add(&self, a: G2Point, b: G2Point) -> Result<[u8; 192], PrecompileHalt> { - let a = pack_bls12_381_g2(&a); - let b = pack_bls12_381_g2(&b); - let mut result = zkvm_bls12_381_g2_point { data: [0; 192] }; - let ret = unsafe { zkvm_interface::zkvm_bls12_g2_add(&a, &b, &mut result) }; - (ret == 0).then_some(result.data).ok_or(PrecompileHalt::Bls12381G2NotOnCurve) - } - - #[inline] - fn bls12_381_g2_msm( - &self, - pairs: &mut dyn Iterator>, - ) -> Result<[u8; 192], PrecompileHalt> { - let pairs: Vec = pairs - .map(|pair| { - let (point, scalar) = pair?; - Ok(zkvm_bls12_381_g2_msm_pair { - point: pack_bls12_381_g2(&point), - scalar: zkvm_bls12_381_scalar { data: scalar }, - }) - }) - .collect::>()?; - let mut result = zkvm_bls12_381_g2_point { data: [0; 192] }; - let ret = - unsafe { zkvm_interface::zkvm_bls12_g2_msm(pairs.as_ptr(), pairs.len(), &mut result) }; - (ret == 0).then_some(result.data).ok_or(PrecompileHalt::Bls12381G2NotOnCurve) - } - - #[inline] - fn bls12_381_pairing_check( - &self, - pairs: &[(G1Point, G2Point)], - ) -> Result { - let pairs: Vec = pairs - .iter() - .map(|(g1, g2)| zkvm_bls12_381_pairing_pair { - g1: pack_bls12_381_g1(g1), - g2: pack_bls12_381_g2(g2), - }) - .collect(); - let mut verified = false; - let ret = unsafe { - zkvm_interface::zkvm_bls12_pairing(pairs.as_ptr(), pairs.len(), &mut verified) - }; - (ret == 0) - .then_some(verified) - .ok_or_else(|| PrecompileHalt::other("bls12_381_pairing failed")) - } - - #[inline] - fn bls12_381_fp_to_g1(&self, fp: &[u8; 48]) -> Result<[u8; 96], PrecompileHalt> { - // The ZisK hint panics on valid EIP-2537 isogeny-kernel inputs. - #[cfg(target_vendor = "zisk")] - return DefaultCrypto.bls12_381_fp_to_g1(fp); - - #[cfg(not(target_vendor = "zisk"))] - let fp = zkvm_bls12_381_fp { data: *fp }; - #[cfg(not(target_vendor = "zisk"))] - let mut result = zkvm_bls12_381_g1_point { data: [0; 96] }; - #[cfg(not(target_vendor = "zisk"))] - let ret = unsafe { zkvm_interface::zkvm_bls12_map_fp_to_g1(&fp, &mut result) }; - #[cfg(not(target_vendor = "zisk"))] - (ret == 0) - .then_some(result.data) - .ok_or_else(|| PrecompileHalt::other("bls12_381_fp_to_g1 failed")) - } - - #[inline] - fn bls12_381_fp2_to_g2(&self, fp2: ([u8; 48], [u8; 48])) -> Result<[u8; 192], PrecompileHalt> { - let fp2 = { - let mut data = [0u8; 96]; - data[..48].copy_from_slice(&fp2.0); - data[48..].copy_from_slice(&fp2.1); - zkvm_bls12_381_fp2 { data } - }; - let mut result = zkvm_bls12_381_g2_point { data: [0; 192] }; - let ret = unsafe { zkvm_interface::zkvm_bls12_map_fp2_to_g2(&fp2, &mut result) }; - (ret == 0) - .then_some(result.data) - .ok_or_else(|| PrecompileHalt::other("bls12_381_fp2_to_g2 failed")) - } - - #[inline] - fn verify_kzg_proof( - &self, - z: &[u8; 32], - y: &[u8; 32], - commitment: &[u8; 48], - proof: &[u8; 48], - ) -> Result<(), PrecompileHalt> { - let commitment = zkvm_kzg_commitment { data: *commitment }; - let z = zkvm_kzg_field_element { data: *z }; - let y = zkvm_kzg_field_element { data: *y }; - let proof = zkvm_kzg_proof { data: *proof }; - let mut verified = false; - let ret = unsafe { - zkvm_interface::zkvm_kzg_point_eval(&commitment, &z, &y, &proof, &mut verified) - }; - (ret == 0 && verified).then_some(()).ok_or(PrecompileHalt::BlobVerifyKzgProofFailed) - } -} - -impl CryptoProvider for ZkVMInterfaceCrypto { - #[inline] - fn recover_signer_unchecked( - &self, - sig: &[u8; 65], - msg: &[u8; 32], - ) -> Result { - let msg = zkvm_secp256k1_hash { data: *msg }; - let recid = sig[64]; - let sig = zkvm_secp256k1_signature { data: sig[..64].try_into().unwrap() }; - let mut pubkey = zkvm_secp256k1_pubkey { data: [0; 64] }; - let ret = - unsafe { zkvm_interface::zkvm_secp256k1_ecrecover(&msg, &sig, recid, &mut pubkey) }; - if ret != 0 { - return Err(RecoveryError::new()); - } - let hash = keccak256(&pubkey.data); - Ok(Address::from_slice(&hash[12..])) - } - - #[inline] - fn verify_and_compute_signer_unchecked( - &self, - pubkey: &[u8; 65], - sig: &[u8; 64], - msg: &[u8; 32], - ) -> Result { - let pubkey = zkvm_secp256k1_pubkey { data: *uncompressed_pubkey_coordinates(pubkey)? }; - let msg = zkvm_secp256k1_hash { data: *msg }; - let sig = zkvm_secp256k1_signature { data: *sig }; - let mut verified = false; - let ret = - unsafe { zkvm_interface::zkvm_secp256k1_verify(&msg, &sig, &pubkey, &mut verified) }; - if ret != 0 || !verified { - return Err(RecoveryError::new()); - } - let hash = keccak256(&pubkey.data); - Ok(Address::from_slice(&hash[12..])) - } -} - -#[inline] -fn uncompressed_pubkey_coordinates(pubkey: &[u8; 65]) -> Result<&[u8; 64], RecoveryError> { - if pubkey[0] != 0x04 { - return Err(RecoveryError::new()); - } - Ok(pubkey[1..].try_into().expect("public key coordinates have a fixed length")) -} - -#[inline] -/// Computes a SHA-256 digest using the standard zkVM interface. -pub fn sha256(data: &[u8]) -> [u8; 32] { - let mut output = zkvm_sha256_hash { data: [0; 32] }; - let ret = unsafe { zkvm_interface::zkvm_sha256(data.as_ptr(), data.len(), &mut output) }; - assert_eq!(ret, 0, "sha256 failed"); - output.data -} - -#[inline] -fn keccak256(data: &[u8]) -> [u8; 32] { - let mut output = zkvm_keccak256_hash { data: [0; 32] }; - let ret = unsafe { zkvm_interface::zkvm_keccak256(data.as_ptr(), data.len(), &mut output) }; - assert_eq!(ret, 0, "keccak256 failed"); - output.data -} - -#[inline] -fn pack_bls12_381_g1(p: &G1Point) -> zkvm_bls12_381_g1_point { - let mut data = [0u8; 96]; - data[..48].copy_from_slice(&p.0); - data[48..].copy_from_slice(&p.1); - zkvm_bls12_381_g1_point { data } -} - -#[inline] -fn pack_bls12_381_g2(p: &G2Point) -> zkvm_bls12_381_g2_point { - let mut data = [0u8; 192]; - data[..48].copy_from_slice(&p.0); - data[48..96].copy_from_slice(&p.1); - data[96..144].copy_from_slice(&p.2); - data[144..].copy_from_slice(&p.3); - zkvm_bls12_381_g2_point { data } -} - -#[cfg(test)] -mod tests { - use super::uncompressed_pubkey_coordinates; - - #[test] - fn validates_uncompressed_public_key_prefix() { - let mut public_key = [0u8; 65]; - assert!(uncompressed_pubkey_coordinates(&public_key).is_err()); - - public_key[0] = 0x04; - assert!(uncompressed_pubkey_coordinates(&public_key).is_ok()); - } -} diff --git a/crates/tries/Cargo.toml b/crates/tries/Cargo.toml index f8261b2..43753dc 100644 --- a/crates/tries/Cargo.toml +++ b/crates/tries/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true +homepage.workspace = true repository.workspace = true description = "Trie abstractions and implementations for stateless validation" @@ -15,17 +16,10 @@ alloy-primitives.workspace = true alloy-rlp.workspace = true alloy-rpc-types-debug.workspace = true alloy-trie.workspace = true -itertools = { workspace = true, optional = true } +itertools.workspace = true reth-trie-common.workspace = true -reth-trie-sparse = { workspace = true, optional = true } +reth-trie-sparse.workspace = true +revm-bytecode.workspace = true revm-database-interface.workspace = true thiserror.workspace = true zeth-mpt = { path = "../zeth-mpt" } - -[features] -default = ["std"] -std = [ - "dep:itertools", - "dep:reth-trie-sparse", - "reth-trie-sparse/std", -] diff --git a/crates/tries/src/default.rs b/crates/tries/src/default.rs index ca550be..f35ddc0 100644 --- a/crates/tries/src/default.rs +++ b/crates/tries/src/default.rs @@ -1,19 +1,20 @@ use crate::{StatelessTrie, StatelessTrieError, WitnessDbError}; use alloc::{collections::VecDeque, format, vec::Vec}; -use alloy_primitives::{Address, B256, Bytes, U256, keccak256, map::B256IndexMap}; -use alloy_rlp::Decodable; +use alloy_primitives::{Address, B256, U256, keccak256, map::B256IndexMap}; +use alloy_rlp::{Decodable, Encodable}; use alloy_rpc_types_debug::ExecutionWitness; use alloy_trie::{EMPTY_ROOT_HASH, TrieAccount, nodes::TrieNode}; use itertools::Itertools; use reth_trie_common::{ BranchNodeMasks, DecodedMultiProofV2, HashedPostState, Nibbles, ProofTrieNodeV2, + TRIE_ACCOUNT_RLP_MAX_SIZE, }; use reth_trie_sparse::{ - LeafUpdate, RevealableSparseTrie, SparseStateTrie, TrieNodeEpoch, - errors::{SparseStateTrieErrorKind, SparseStateTrieResult, SparseTrieErrorKind}, + RevealableSparseTrie, SparseStateTrie, SparseTrie, + errors::SparseStateTrieResult, + provider::{DefaultTrieNodeProvider, DefaultTrieNodeProviderFactory}, }; - -const POST_STATE_EPOCH: TrieNodeEpoch = TrieNodeEpoch::new(1); +use revm_bytecode::Bytecode; /// `StatelessSparseTrie` structure for usage during stateless validation #[derive(Debug)] @@ -27,9 +28,9 @@ impl StatelessSparseTrie { /// Note: Currently this method does not check that the `ExecutionWitness` /// is complete for all of the preimage keys. pub fn new( - witness: ExecutionWitness, + witness: &ExecutionWitness, pre_state_root: B256, - ) -> Result<(Self, B256IndexMap), StatelessTrieError> { + ) -> Result<(Self, B256IndexMap), StatelessTrieError> { verify_execution_witness(witness, pre_state_root) .map(|(inner, bytecode)| (Self { inner }, bytecode)) } @@ -103,9 +104,9 @@ impl StatelessSparseTrie { impl StatelessTrie for StatelessSparseTrie { fn new( - witness: ExecutionWitness, + witness: &ExecutionWitness, pre_state_root: B256, - ) -> Result<(Self, B256IndexMap), StatelessTrieError> { + ) -> Result<(Self, B256IndexMap), StatelessTrieError> { Self::new(witness, pre_state_root) } @@ -117,10 +118,6 @@ impl StatelessTrie for StatelessSparseTrie { self.storage(address, slot) } - fn clear_storage(&mut self, hashed_address: B256) { - self.inner.insert_storage_trie(hashed_address, RevealableSparseTrie::revealed_empty()); - } - fn calculate_state_root(&mut self, state: HashedPostState) -> Result { self.calculate_state_root(state) } @@ -143,21 +140,22 @@ impl StatelessTrie for StatelessSparseTrie { /// If the roots do not match, it returns an error indicating the witness is invalid /// for the given `pre_state_root` (see [`StatelessTrieError::PreStateRootMismatch`]). fn verify_execution_witness( - witness: ExecutionWitness, + witness: &ExecutionWitness, pre_state_root: B256, -) -> Result<(SparseStateTrie, B256IndexMap), StatelessTrieError> { +) -> Result<(SparseStateTrie, B256IndexMap), StatelessTrieError> { + let provider_factory = DefaultTrieNodeProviderFactory; let mut trie = SparseStateTrie::new(); let mut bytecode = B256IndexMap::default(); // Build a hash-indexed map of witness nodes. let mut nodes_by_hash = B256IndexMap::default(); - for rlp_encoded in witness.state { - let hash = keccak256(&rlp_encoded); - nodes_by_hash.insert(hash, rlp_encoded); + for rlp_encoded in &witness.state { + let hash = keccak256(rlp_encoded); + nodes_by_hash.insert(hash, rlp_encoded.clone()); } - for rlp_encoded in witness.codes { - let hash = keccak256(&rlp_encoded); - bytecode.insert(hash, rlp_encoded); + for rlp_encoded in &witness.codes { + let hash = keccak256(rlp_encoded); + bytecode.insert(hash, Bytecode::new_raw(rlp_encoded.clone())); } // Build a DecodedMultiProofV2 by walking the witness from the root. @@ -170,7 +168,7 @@ fn verify_execution_witness( // Calculate the root let computed_root = trie - .root(TrieNodeEpoch::UNMODIFIED) + .root(&provider_factory) .map_err(|_e| StatelessTrieError::StatelessPreStateRootCalculationFailed)?; if computed_root == pre_state_root { @@ -279,14 +277,10 @@ fn build_multiproof_from_witness( /// /// It modifies the input `trie` in place to reflect these changes and then calculates the /// final post-execution state root. -// Reth's batch leaf update API requires its `B256Map` alias. -#[allow(clippy::disallowed_types)] fn calculate_state_root( trie: &mut SparseStateTrie, state: HashedPostState, ) -> SparseStateTrieResult { - use alloy_primitives::map::B256Map; - // 1. Apply storage‑slot updates and compute each contract's storage root // // @@ -297,34 +291,38 @@ fn calculate_state_root( // borrowing issues. let mut storage_results = Vec::with_capacity(state.storages.len()); + // In `verify_execution_witness` a `DefaultTrieNodeProviderFactory` is used, so we use the same + // again in here. + let provider_factory = DefaultTrieNodeProviderFactory; + let storage_provider = DefaultTrieNodeProvider; + for (address, storage) in state.storages.into_iter().sorted_unstable_by_key(|(addr, _)| *addr) { // Take the existing storage trie (or create an empty, "revealed" one) let mut storage_trie = trie.take_storage_trie(&address).unwrap_or_else(RevealableSparseTrie::revealed_empty); - let mut updates = storage - .storage - .into_iter() - .map(|(hashed_slot, value)| { - let value = if value.is_zero() { - Vec::new() - } else { - alloy_rlp::encode_fixed_size(&value).to_vec() - }; - (hashed_slot, LeafUpdate::Changed(value)) - }) - .collect::>(); - storage_trie.update_leaves(&mut updates, |_, _| {})?; - if let Some((hashed_slot, _)) = updates.into_iter().next() { - return Err(SparseStateTrieErrorKind::SparseStorageTrie( - address, - SparseTrieErrorKind::BlindedNode(Nibbles::unpack(hashed_slot)), - ) - .into()); + if storage.wiped { + storage_trie.wipe()?; + } + + // Apply slot‑level changes + for (hashed_slot, value) in + storage.storage.into_iter().sorted_unstable_by_key(|(slot, _)| *slot) + { + let nibbles = Nibbles::unpack(hashed_slot); + if value.is_zero() { + storage_trie.remove_leaf(&nibbles, &storage_provider)?; + } else { + storage_trie.update_leaf( + nibbles, + alloy_rlp::encode_fixed_size(&value).to_vec(), + &storage_provider, + )?; + } } // Finalise the storage‑trie root before pushing the result - storage_trie.root(POST_STATE_EPOCH); + storage_trie.root(); storage_results.push((address, storage_trie)); } @@ -334,31 +332,32 @@ fn calculate_state_root( } // 2. Apply account‑level updates and (re)encode the account nodes - let mut updates = B256Map::default(); - for (hashed_address, account) in state.accounts { - let value = if let Some(account) = account { - let storage_root = - if let Some(storage_trie) = trie.storage_tries_mut().get_mut(&hashed_address) { - storage_trie.root(POST_STATE_EPOCH).ok_or(SparseTrieErrorKind::Blind)? - } else if let Some(value) = trie.get_account_value(&hashed_address) { - TrieAccount::decode(&mut &value[..])?.storage_root - } else { - EMPTY_ROOT_HASH - }; - alloy_rlp::encode(account.into_trie_account(storage_root)) + let mut account_rlp_buf = Vec::with_capacity(TRIE_ACCOUNT_RLP_MAX_SIZE); + + for (hashed_address, account) in + state.accounts.into_iter().sorted_unstable_by_key(|(addr, _)| *addr) + { + let nibbles = Nibbles::unpack(hashed_address); + + // Determine which storage root should be used for this account + let storage_root = if let Some(storage_trie) = trie.storage_trie_mut(&hashed_address) { + storage_trie.root() + } else if let Some(value) = trie.get_account_value(&hashed_address) { + TrieAccount::decode(&mut &value[..])?.storage_root } else { - Vec::new() + EMPTY_ROOT_HASH }; - updates.insert(hashed_address, LeafUpdate::Changed(value)); - } - trie.trie_mut().update_leaves(&mut updates, |_, _| {})?; - if let Some((hashed_address, _)) = updates.into_iter().next() { - return Err(SparseStateTrieErrorKind::Sparse(SparseTrieErrorKind::BlindedNode( - Nibbles::unpack(hashed_address), - )) - .into()); + + // Decide whether to remove or update the account leaf + if let Some(account) = account { + account_rlp_buf.clear(); + account.into_trie_account(storage_root).encode(&mut account_rlp_buf); + trie.update_account_leaf(nibbles, account_rlp_buf.clone(), &provider_factory)?; + } else { + trie.remove_account_leaf(&nibbles, &provider_factory)?; + } } // Return new state root - trie.root(POST_STATE_EPOCH) + trie.root(&provider_factory) } diff --git a/crates/tries/src/lib.rs b/crates/tries/src/lib.rs index b2b7298..ce737fb 100644 --- a/crates/tries/src/lib.rs +++ b/crates/tries/src/lib.rs @@ -12,7 +12,6 @@ extern crate alloc; /// Default trie implementation based on `reth_trie_sparse`. -#[cfg(feature = "std")] pub mod default; mod error; /// Zeth trie implementation backed by `zeth-mpt`. @@ -20,18 +19,19 @@ pub mod zeth; pub use error::{StatelessTrieError, WitnessDbError}; -use alloy_primitives::{Address, B256, Bytes, U256, map::B256IndexMap}; +use alloy_primitives::{Address, B256, U256, map::B256IndexMap}; use alloy_rpc_types_debug::ExecutionWitness; use alloy_trie::TrieAccount; use reth_trie_common::HashedPostState; +use revm_bytecode::Bytecode; /// Trait for trie implementations that can be used for stateless validation. pub trait StatelessTrie: core::fmt::Debug { /// Initialize the trie using the [`ExecutionWitness`]. fn new( - witness: ExecutionWitness, + witness: &ExecutionWitness, pre_state_root: B256, - ) -> Result<(Self, B256IndexMap), StatelessTrieError> + ) -> Result<(Self, B256IndexMap), StatelessTrieError> where Self: Sized; @@ -41,75 +41,6 @@ pub trait StatelessTrie: core::fmt::Debug { /// Returns the storage slot value that corresponds to the `(address, slot)` tuple. fn storage(&self, address: Address, slot: U256) -> Result; - /// Clears an account's storage before applying its post-state changes. - /// - /// The address is hashed, as in [`HashedPostState`]. Clearing must also discard blinded slots. - fn clear_storage(&mut self, hashed_address: B256); - /// Computes the new state root from the [`HashedPostState`]. fn calculate_state_root(&mut self, state: HashedPostState) -> Result; } - -#[cfg(test)] -mod tests { - use super::*; - use alloy_primitives::{U256, keccak256}; - use reth_trie_common::HashedStorage; - use zeth_mpt::Trie; - - fn storage_reset_discards_unrevealed_slots(new_value: U256) { - let address = Address::with_last_byte(1); - let hashed_address = keccak256(address); - let old_slot = U256::from(1); - let new_slot = U256::from(2); - - let mut storage = Trie::default(); - storage.insert(keccak256(B256::from(old_slot)), alloy_rlp::encode(U256::from(42))); - let mut account = TrieAccount { storage_root: storage.hash_slow(), ..Default::default() }; - let mut state = Trie::default(); - state.insert(hashed_address, alloy_rlp::encode(account)); - - // A storage reset must not require witnesses for the old slots. - let witness = ExecutionWitness { state: state.rlp_nodes(), ..Default::default() }; - let (mut trie, _) = T::new(witness, state.hash_slow()).unwrap(); - trie.clear_storage(hashed_address); - - let mut post_state = HashedPostState::default(); - post_state.accounts.insert(hashed_address, Some(Default::default())); - post_state.storages.insert( - hashed_address, - if new_value.is_zero() { - HashedStorage::default() - } else { - HashedStorage::from_iter([(keccak256(B256::from(new_slot)), new_value)]) - }, - ); - - storage.clear(); - if !new_value.is_zero() { - storage.insert(keccak256(B256::from(new_slot)), alloy_rlp::encode(new_value)); - } - account.storage_root = storage.hash_slow(); - state.insert(hashed_address, alloy_rlp::encode(account)); - assert_eq!(trie.calculate_state_root(post_state).unwrap(), state.hash_slow()); - assert_eq!(trie.storage(address, old_slot).unwrap(), U256::ZERO); - assert_eq!(trie.storage(address, new_slot).unwrap(), new_value); - } - - #[test] - #[cfg(feature = "std")] - fn reth_storage_reset_discards_unrevealed_slots() { - for new_value in [U256::ZERO, U256::from(7)] { - storage_reset_discards_unrevealed_slots::( - new_value, - ); - } - } - - #[test] - fn zeth_storage_reset_discards_unrevealed_slots() { - for new_value in [U256::ZERO, U256::from(7)] { - storage_reset_discards_unrevealed_slots::(new_value); - } - } -} diff --git a/crates/tries/src/zeth.rs b/crates/tries/src/zeth.rs index afaf5f6..e99b0c1 100644 --- a/crates/tries/src/zeth.rs +++ b/crates/tries/src/zeth.rs @@ -24,6 +24,7 @@ use alloy_primitives::{ use alloy_rpc_types_debug::ExecutionWitness; use alloy_trie::{EMPTY_ROOT_HASH, TrieAccount}; use reth_trie_common::HashedPostState; +use revm_bytecode::Bytecode; use zeth_mpt::CachedTrie; /// Zero-overhead helper for tries that only contain RLP encoded data. @@ -43,21 +44,19 @@ impl RlpTrie { root: B256, rlp_by_digest: &B256IndexMap>, ) -> alloy_rlp::Result { - // state and storage tries are keyed by Keccak-256 hashes, so each path has 64 nibbles - let key_len = 2 * B256::len_bytes(); - Ok(Self::new(CachedTrie::from_prehashed_nodes_with_key_len(root, rlp_by_digest, key_len)?)) + Ok(Self::new(CachedTrie::from_prehashed_nodes(root, rlp_by_digest)?)) } pub fn get(&self, key: impl AsRef<[u8]>) -> alloy_rlp::Result> { - self.inner.try_get(key)?.map(alloy_rlp::decode_exact).transpose() + self.inner.get(key).map(alloy_rlp::decode_exact).transpose() } pub fn insert(&mut self, key: impl AsRef<[u8]>, value: T) { self.inner.insert(key, alloy_rlp::encode(value)); } - pub fn remove(&mut self, key: impl AsRef<[u8]>) -> alloy_rlp::Result { - self.inner.try_remove(key) + pub fn remove(&mut self, key: impl AsRef<[u8]>) -> bool { + self.inner.remove(key) } pub fn hash(&mut self) -> B256 { @@ -80,10 +79,9 @@ pub struct SparseState { impl SparseState { /// Removes an account from the state. - fn remove_account(&mut self, hashed_address: &B256) -> alloy_rlp::Result<()> { - self.state.remove(hashed_address)?; + fn remove_account(&mut self, hashed_address: &B256) { + self.state.remove(hashed_address); self.storages.get_mut().remove(hashed_address); - Ok(()) } /// Clears the storage of an account. @@ -117,19 +115,23 @@ impl SparseState { impl StatelessTrie for SparseState { /// Initialize the stateless trie using the `ExecutionWitness`. fn new( - witness: ExecutionWitness, + witness: &ExecutionWitness, pre_state_root: B256, - ) -> Result<(Self, B256IndexMap), StatelessTrieError> { + ) -> Result<(Self, B256IndexMap), StatelessTrieError> { // fist, hash all the RLP nodes once let rlp_by_digest: B256IndexMap<_> = - witness.state.into_iter().map(|rlp| (keccak256(&rlp), rlp)).collect(); + witness.state.iter().map(|rlp| (keccak256(rlp), rlp.clone())).collect(); // construct the state trie from the witness data and the given state root let state = RlpTrie::from_prehashed(pre_state_root, &rlp_by_digest) .map_err(|_| StatelessTrieError::WitnessRevealFailed { pre_state_root })?; // hash all the supplied bytecode - let bytecode = witness.codes.into_iter().map(|code| (keccak256(&code), code)).collect(); + let bytecode = witness + .codes + .iter() + .map(|code| (keccak256(code), Bytecode::new_raw(code.clone()))) + .collect(); Ok(( Self { state, storages: RefCell::new(B256IndexMap::default()), rlp_by_digest }, @@ -140,33 +142,34 @@ impl StatelessTrie for SparseState { /// Returns the `TrieAccount` that corresponds to the `Address`. fn account(&self, address: Address) -> Result, WitnessDbError> { let hashed_address = keccak256(address); - Ok(self.state.get(hashed_address)?) + match self.state.get(hashed_address)? { + None => Ok(None), + Some(account) => { + // each time an account is accessed, check whether its storage trie already exists + // otherwise construct it from the witness data and the account's storage root + match self.storages.borrow_mut().entry(hashed_address) { + Entry::Vacant(entry) => { + entry.insert(RlpTrie::from_prehashed( + account.storage_root, + &self.rlp_by_digest, + )?); + } + Entry::Occupied(_) => {} + } + + Ok(Some(account)) + } + } } /// Returns the storage slot value that corresponds to the given (address, slot) tuple. fn storage(&self, address: Address, slot: U256) -> Result { - let hashed_address = keccak256(address); - let mut storages = self.storages.borrow_mut(); - let storage_trie = match storages.entry(hashed_address) { - Entry::Occupied(entry) => entry.into_mut(), - Entry::Vacant(entry) => { - let storage_root = - self.state.get(hashed_address)?.map_or(EMPTY_ROOT_HASH, |a| a.storage_root); - if storage_root == EMPTY_ROOT_HASH { - return Ok(U256::ZERO); - } - - entry.insert(RlpTrie::from_prehashed(storage_root, &self.rlp_by_digest)?) - } - }; - + let storages = self.storages.borrow(); + // storage() is always be called after account(), so the storage trie must already exist + let storage_trie = storages.get(&keccak256(address)).unwrap(); Ok(storage_trie.get(keccak256(B256::from(slot)))?.unwrap_or(U256::ZERO)) } - fn clear_storage(&mut self, hashed_address: B256) { - self.clear_storage(hashed_address); - } - /// Computes the new state root from the HashedPostState. fn calculate_state_root(&mut self, state: HashedPostState) -> Result { let mut removed_accounts = Vec::new(); @@ -179,15 +182,13 @@ impl StatelessTrie for SparseState { // apply storage changes before computing the storage root let storage_root = match state.storages.get(&hashed_address) { - None => self - .state - .get(hashed_address) - .map_err(|_| StatelessTrieError::StatelessStateRootCalculationFailed)? - .map_or(EMPTY_ROOT_HASH, |account| account.storage_root), + None => self.storage_trie_mut(hashed_address).unwrap().hash(), Some(storage) => { - let storage_trie = self - .storage_trie_mut(hashed_address) - .map_err(|_| StatelessTrieError::StatelessStateRootCalculationFailed)?; + let storage_trie = if storage.wiped { + self.clear_storage(hashed_address) + } else { + self.storage_trie_mut(hashed_address).unwrap() + }; // apply all state modifications for (hashed_key, value) in &storage.storage { @@ -198,9 +199,7 @@ impl StatelessTrie for SparseState { // removals must happen last, otherwise unresolved orphans might still exist for (hashed_key, value) in &storage.storage { if value.is_zero() { - storage_trie.remove(hashed_key).map_err(|_| { - StatelessTrieError::StatelessStateRootCalculationFailed - })?; + storage_trie.remove(hashed_key); } } @@ -217,10 +216,7 @@ impl StatelessTrie for SparseState { }; self.state.insert(hashed_address, account); } - for hashed_address in &removed_accounts { - self.remove_account(hashed_address) - .map_err(|_| StatelessTrieError::StatelessStateRootCalculationFailed)?; - } + removed_accounts.iter().for_each(|hashed_address| self.remove_account(hashed_address)); Ok(self.state.hash()) } diff --git a/crates/zeth-mpt/Cargo.toml b/crates/zeth-mpt/Cargo.toml index 397def8..d614cf5 100644 --- a/crates/zeth-mpt/Cargo.toml +++ b/crates/zeth-mpt/Cargo.toml @@ -9,7 +9,7 @@ license.workspace = true workspace = true [dependencies] -alloy-trie = { version = "0.9.4", default-features = false, features = ["ethereum"] } +alloy-trie = { version = "0.8.0", default-features = false, features = ["ethereum"] } alloy-rlp.workspace = true alloy-primitives.workspace = true diff --git a/crates/zeth-mpt/src/mpt/mod.rs b/crates/zeth-mpt/src/mpt/mod.rs index 17417ee..01d79ad 100644 --- a/crates/zeth-mpt/src/mpt/mod.rs +++ b/crates/zeth-mpt/src/mpt/mod.rs @@ -52,7 +52,7 @@ impl Trie { /// It panics when neither inclusion nor exclusion of the key can be guaranteed. #[inline] pub fn get(&self, key: impl AsRef<[u8]>) -> Option<&[u8]> { - self.0.get(NibbleSlice::from(Nibbles::unpack(key))).unwrap().map(|b| b.as_ref()) + self.0.get(NibbleSlice::from(&Nibbles::unpack(key))).map(|b| b.as_ref()) } /// Inserts a key-value pair into the trie. @@ -67,7 +67,7 @@ impl Trie { /// (i.e., the node is represented by a digest and the full node is not available). #[inline] pub fn insert(&mut self, key: impl AsRef<[u8]>, value: impl Into) { - self.0.insert(NibbleSlice::from(Nibbles::unpack(key)), value.into()); + self.0.insert(NibbleSlice::from(&Nibbles::unpack(key)), value.into()); } /// Removes a key-value pair from the trie. @@ -86,7 +86,7 @@ impl Trie { /// potential issue with the trie's construction. #[inline] pub fn remove(&mut self, key: impl AsRef<[u8]>) -> bool { - self.0.remove(NibbleSlice::from(Nibbles::unpack(key))).unwrap() + self.0.remove(NibbleSlice::from(&Nibbles::unpack(key))) } /// Returns the number of full nodes in the trie. @@ -124,7 +124,7 @@ impl Trie { nodes: impl IntoIterator, ) -> alloy_rlp::Result<()> { let rlp_by_digest = nodes.into_iter().map(|rlp| (keccak256(&rlp), rlp)).collect(); - self.0.resolve_digests(&rlp_by_digest, None) + self.0.resolve_digests(&rlp_by_digest) } /// Converts the trie into a [CachedTrie]. @@ -201,7 +201,7 @@ impl Trie { rlp_by_digest: &B256IndexMap>, ) -> alloy_rlp::Result { let mut trie = Self::from_digest(root); - trie.0.resolve_digests(rlp_by_digest, None)?; + trie.0.resolve_digests(rlp_by_digest)?; Ok(trie) } } @@ -252,16 +252,7 @@ impl CachedTrie { /// See [`Trie::get`] for detailed documentation. #[inline] pub fn get(&self, key: impl AsRef<[u8]>) -> Option<&[u8]> { - self.try_get(key).unwrap() - } - - /// Retrieves the value associated with a key, returning an error when a required node is - /// unresolved (omitted from the witness). - /// - /// See [`Trie::get`] for detailed documentation. - #[inline] - pub fn try_get(&self, key: impl AsRef<[u8]>) -> alloy_rlp::Result> { - Ok(self.inner.get(NibbleSlice::from(Nibbles::unpack(key)))?.map(|b| b.as_ref())) + self.inner.get(NibbleSlice::from(&Nibbles::unpack(key))).map(|b| b.as_ref()) } /// Inserts a key-value pair into the trie. @@ -269,7 +260,7 @@ impl CachedTrie { /// See [`Trie::insert`] for detailed documentation. #[inline] pub fn insert(&mut self, key: impl AsRef<[u8]>, value: impl Into) { - self.inner.insert(NibbleSlice::from(Nibbles::unpack(key)), value.into()); + self.inner.insert(NibbleSlice::from(&Nibbles::unpack(key)), value.into()); self.hash = None; } @@ -278,20 +269,11 @@ impl CachedTrie { /// See [`Trie::remove`] for detailed documentation. #[inline] pub fn remove(&mut self, key: impl AsRef<[u8]>) -> bool { - self.try_remove(key).unwrap() - } - - /// Removes a key-value pair, returning an error when a node required to complete the removal is - /// unresolved (omitted from the witness). - /// - /// See [`Trie::remove`] for detailed documentation. - #[inline] - pub fn try_remove(&mut self, key: impl AsRef<[u8]>) -> alloy_rlp::Result { - if !self.inner.remove(NibbleSlice::from(Nibbles::unpack(key)))? { - return Ok(false); + if !self.inner.remove(NibbleSlice::from(&Nibbles::unpack(key))) { + return false; } self.hash = None; - Ok(true) + true } /// Returns the number of full nodes in the trie. @@ -355,7 +337,7 @@ impl CachedTrie { nodes: impl IntoIterator, ) -> alloy_rlp::Result<()> { let rlp_by_digest = nodes.into_iter().map(|rlp| (keccak256(&rlp), rlp)).collect(); - self.inner.resolve_digests(&rlp_by_digest, None) + self.inner.resolve_digests(&rlp_by_digest) } /// Returns the RLP-encoded nodes of the trie in preorder. @@ -395,28 +377,7 @@ impl CachedTrie { rlp_by_digest: &B256IndexMap>, ) -> alloy_rlp::Result { let mut trie = Self::from_digest(root); - trie.inner.resolve_digests(rlp_by_digest, None)?; - Ok(trie) - } - - /// Creates a new trie like [`CachedTrie::from_prehashed_nodes`] whose keys are all `key_len` - /// nibbles long, such as the state trie or a storage trie, whose keys are 64-nibble hashes. - /// - /// The check runs while the nodes are resolved and skips unresolved nodes. - /// - /// # Errors - /// - /// This function returns an error if [`CachedTrie::from_prehashed_nodes`] does, if a leaf ends - /// before or after `key_len` nibbles, or if an extension or branch node leaves no nibbles for - /// its child. - #[inline] - pub fn from_prehashed_nodes_with_key_len( - root: B256, - rlp_by_digest: &B256IndexMap>, - key_len: usize, - ) -> alloy_rlp::Result { - let mut trie = Self::from_digest(root); - trie.inner.resolve_digests(rlp_by_digest, Some(key_len))?; + trie.inner.resolve_digests(rlp_by_digest)?; Ok(trie) } } @@ -557,108 +518,6 @@ mod tests { assert_eq!(trie.get([1, 2, 3]), None); } - #[test] - fn from_prehashed_nodes_with_key_len() { - let leaf = |len| Node::Leaf(Nibbles::from_nibbles(vec![0; len]), vec![0].into(), NoCache); - let branch = |len| Node::Branch(Children::from([(0, leaf(len)), (1, leaf(len))]), NoCache); - let extension = |len, child: Node| { - Node::Extension(Nibbles::from_nibbles(vec![0; len]), child.into(), NoCache) - }; - // rebuilds the trie from its RLP nodes, checking the key length while resolving them - let rebuild = |root: Node, key_len| { - let trie = Trie(root); - let rlp_by_digest: B256IndexMap<_> = - trie.rlp_nodes().into_iter().map(|rlp| (keccak256(&rlp), rlp)).collect(); - CachedTrie::from_prehashed_nodes_with_key_len(trie.hash_slow(), &rlp_by_digest, key_len) - }; - - assert!(rebuild(Node::Null, 64).is_ok()); - assert!(rebuild(Node::Digest(B256::ZERO), 64).is_ok()); - assert!(rebuild(leaf(64), 64).is_ok()); - assert!(rebuild(branch(63), 64).is_ok()); - assert!(rebuild(extension(1, branch(62)), 64).is_ok()); - // the leaves of this branch are short enough to be inlined into it - assert!(rebuild(branch(1), 2).is_ok()); - - // leaves must end exactly at the key length - assert!(rebuild(leaf(63), 64).is_err()); - assert!(rebuild(branch(62), 64).is_err()); - assert!(rebuild(branch(64), 64).is_err()); - assert!(rebuild(extension(1, branch(63)), 64).is_err()); - assert!(rebuild(branch(1), 3).is_err()); - - // extensions and branches must leave at least one nibble for their children - let digests = || { - let children = - Children::from([(0, Node::Digest(B256::ZERO)), (1, Node::Digest(B256::ZERO))]); - Node::Branch(children, NoCache) - }; - assert!(rebuild(extension(63, digests()), 64).is_ok()); - assert!(rebuild(extension(64, Node::Digest(B256::ZERO)), 64).is_err()); - assert!(rebuild(digests(), 0).is_err()); - } - - #[test] - fn decode_path_longer_than_hashed_key() { - let leaf_rlp = - |compact: Vec| alloy_rlp::encode(vec![Bytes::from(compact), Bytes::from([1])]); - - // 64 nibbles is the longest path that fits a hashed key - assert!(Trie::from_rlp([leaf_rlp([[0x20].as_slice(), &[0; 32]].concat())]).is_ok()); - assert!(Trie::from_rlp([leaf_rlp([[0x30].as_slice(), &[0; 32]].concat())]).is_err()); - assert!(Trie::from_rlp([leaf_rlp([[0x30].as_slice(), &[0; 33]].concat())]).is_err()); - } - - /// Returns the RLP encoding of a one-nibble leaf, which is `value_len + 3` bytes long. - fn short_leaf_rlp(value_len: usize) -> Vec { - Node::::Leaf(Nibbles::from_nibbles([0]), vec![0; value_len].into(), NoCache) - .rlp_encoded() - } - - #[test] - fn decode_embedded_child_length() { - // a branch with two children that embeds both of them as they are given - let branch_rlp = |child: &[u8]| { - let payload = [child, child, &[alloy_rlp::EMPTY_STRING_CODE; 15]].concat(); - let mut out = Vec::new(); - alloy_rlp::Header { list: true, payload_length: payload.len() }.encode(&mut out); - out.extend_from_slice(&payload); - out - }; - - assert_eq!(short_leaf_rlp(28).len(), 31); - assert!(Trie::from_rlp([branch_rlp(&short_leaf_rlp(28))]).is_ok()); - // a child of 32 bytes or more must be referenced by its hash - assert!(Trie::from_rlp([branch_rlp(&short_leaf_rlp(29))]).is_err()); - } - - #[test] - fn from_prehashed_nodes_hash_reference_length() { - // a branch that references both of its children by the hash of `child` - let rebuild = |child: Vec| { - let digest = Node::Digest(keccak256(&child)); - let branch = Node::::Branch( - Children::from([(0, digest.clone()), (1, digest)]), - NoCache, - ); - let root = branch.rlp_encoded(); - let rlp_by_digest = B256IndexMap::from_iter([ - (keccak256(&root), root.clone()), - (keccak256(&child), child), - ]); - CachedTrie::from_prehashed_nodes(keccak256(&root), &rlp_by_digest) - }; - - assert!(rebuild(short_leaf_rlp(29)).is_ok()); - // a child shorter than 32 bytes must be embedded in its parent - assert!(rebuild(short_leaf_rlp(28)).is_err()); - - // the root is referenced by its hash regardless of its length - let root = short_leaf_rlp(28); - let rlp_by_digest = B256IndexMap::from_iter([(keccak256(&root), root.clone())]); - assert!(CachedTrie::from_prehashed_nodes(keccak256(&root), &rlp_by_digest).is_ok()); - } - #[test] fn short_encoding() { // 4 leaves with 1-byte long keys, the resulting root node should be shorter than 32 bytes diff --git a/crates/zeth-mpt/src/mpt/nibbles.rs b/crates/zeth-mpt/src/mpt/nibbles.rs index 41bbde8..f632727 100644 --- a/crates/zeth-mpt/src/mpt/nibbles.rs +++ b/crates/zeth-mpt/src/mpt/nibbles.rs @@ -12,49 +12,59 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! A zero-cost abstraction for handling nibbles (4-bit values). +//! A zero-cost abstraction for handling nibbles (4-bit values) as byte slices. //! -//! This module provides `NibbleSlice`, a `Copy` wrapper around `Nibbles` that -//! offers efficient operations for working with nibble data. +//! This module provides `NibbleSlice`, a wrapper around `&[u8]` that guarantees +//! each byte represents a valid nibble (0-15). It offers efficient operations +//! for working with nibble data without runtime overhead. +use alloy_primitives::hex; use alloy_trie::Nibbles; -use core::fmt; +use core::{fmt, ops::Deref}; -/// A slice of nibbles backed by an owned `Nibbles` value. -#[derive(Clone, Copy, PartialEq, Eq)] -pub(super) struct NibbleSlice(Nibbles); +/// A slice of bytes representing nibbles. +#[derive(Clone, Copy)] +pub(super) struct NibbleSlice<'a>(&'a [u8]); -impl fmt::Debug for NibbleSlice { +impl Deref for NibbleSlice<'_> { + type Target = [u8]; + + #[inline] + fn deref(&self) -> &Self::Target { + self.as_slice() + } +} + +impl fmt::Debug for NibbleSlice<'_> { #[inline] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "{:?}", self.0) + write!(f, "Nibbles(0x{})", hex::encode(self.as_slice())) } } -impl From<&Nibbles> for NibbleSlice { +impl<'a> From<&'a Nibbles> for NibbleSlice<'a> { + /// Creates a `NibbleSlice` from a `Nibbles` reference. #[inline] - fn from(nibbles: &Nibbles) -> Self { - Self(*nibbles) + fn from(nibbles: &'a Nibbles) -> Self { + Self(nibbles.as_slice()) } } -impl From for NibbleSlice { - #[inline] - fn from(nibbles: Nibbles) -> Self { - Self(nibbles) - } -} - -impl From for Nibbles { +impl From> for Nibbles { /// Converts a `NibbleSlice` back into a `Nibbles`. #[inline] - fn from(slice: NibbleSlice) -> Self { - slice.0 + fn from(slice: NibbleSlice<'_>) -> Self { + Nibbles::from_nibbles_unchecked(slice.0) } } #[allow(dead_code)] -impl NibbleSlice { +impl<'a> NibbleSlice<'a> { + #[inline] + pub(super) const fn as_slice(&self) -> &'a [u8] { + self.0 + } + #[inline] pub(super) const fn len(&self) -> usize { self.0.len() @@ -65,49 +75,37 @@ impl NibbleSlice { self.0.is_empty() } - #[inline] - pub(super) fn as_nibbles(&self) -> &Nibbles { - &self.0 - } - #[inline] pub(super) fn join(&self, other: impl Into) -> Nibbles { - self.0.join(&other.into().0) + let other = other.into(); + let mut nibbles = Nibbles::with_capacity(self.len() + other.len()); + nibbles.extend_from_slice_unchecked(self.as_slice()); + nibbles.extend_from_slice_unchecked(other.as_slice()); + nibbles } #[inline] pub(super) fn split_first(&self) -> Option<(u8, Self)> { - if self.0.is_empty() { - None - } else { - let nib = self.0.get_unchecked(0); - Some((nib, Self(self.0.slice(1..)))) - } + self.0.split_first().map(|(nib, tail)| (*nib, Self(tail))) } #[inline] - pub(super) fn strip_prefix(&self, prefix: &Nibbles) -> Option { - if self.0.starts_with(prefix) { - Some(Self(self.0.slice(prefix.len()..))) - } else { - None - } + pub(super) fn strip_prefix(&self, prefix: &[u8]) -> Option { + self.0.strip_prefix(prefix).map(Self) } #[inline] - pub(super) fn strip_suffix(&self, suffix: &Nibbles) -> Option { - if self.0.ends_with(suffix) { - Some(Self(self.0.slice(..self.0.len() - suffix.len()))) - } else { - None - } + pub(super) fn strip_suffix(&self, suffix: &[u8]) -> Option { + self.0.strip_suffix(suffix).map(Self) } /// Splits `self` and `other` at the first nibble that differs. #[inline] pub(super) fn split_common_prefix(&self, other: impl Into) -> (Self, Self, Self) { - let other = other.into().0; - let mid = self.0.common_prefix_length(&other); - (Self(self.0.slice(..mid)), Self(self.0.slice(mid..)), Self(other.slice(mid..))) + let (a, b) = (self.0, other.into().0); + let mid = a.iter().zip(b).take_while(|&(x, y)| x == y).count(); + // SAFETY: mid is the length of the common prefix: mid <= a.len() ∧ mid <= b.len() + let (common, a_tail) = unsafe { a.split_at_unchecked(mid) }; + (Self(common), Self(a_tail), Self(unsafe { b.split_at_unchecked(mid).1 })) } } diff --git a/crates/zeth-mpt/src/mpt/node.rs b/crates/zeth-mpt/src/mpt/node.rs index cff4df4..9ec513f 100644 --- a/crates/zeth-mpt/src/mpt/node.rs +++ b/crates/zeth-mpt/src/mpt/node.rs @@ -81,40 +81,35 @@ impl Eq for Node {} impl Node { /// Retrieves the value associated with a given key. - pub(super) fn get(&self, key: NibbleSlice) -> alloy_rlp::Result> { - Ok(match self { + pub(super) fn get(&self, key: NibbleSlice<'_>) -> Option<&Bytes> { + match self { Node::Null => None, - Node::Leaf(prefix, value, _) if prefix == key.as_nibbles() => Some(value), + Node::Leaf(prefix, value, _) if prefix == key.as_slice() => Some(value), Node::Leaf(..) => None, - Node::Extension(prefix, child, _) => match key.strip_prefix(prefix) { - Some(tail) => return child.get(tail), - None => None, - }, + Node::Extension(prefix, child, _) => { + key.strip_prefix(prefix).and_then(|tail| child.get(tail)) + } Node::Branch(children, _) => match key.split_first() { Some((nib, tail)) => { // SAFETY: `key` is a `NibbleSlice` and thus only contains values < 0xf let child = unsafe { children.get_unchecked(nib) }; - match child { - Some(node) => return node.get(tail), - None => None, - } + child.and_then(|node| node.get(tail)) } None => None, // branch nodes don't have values in our MPT version }, - // The witness omitted this node - Node::Digest(_) => return Err(alloy_rlp::Error::Custom("MPT: unresolved node access")), - }) + Node::Digest(_) => panic!("MPT: Unresolved node access"), + } } /// Inserts a key-value pair into the trie. - pub(super) fn insert(&mut self, key: NibbleSlice, value: Bytes) { + pub(super) fn insert(&mut self, key: NibbleSlice<'_>, value: Bytes) { assert!(!value.is_empty()); match self { Node::Null => { *self = Node::Leaf(key.into(), value, M::default()); } Node::Leaf(prefix, leaf_val, cache) => { - let (common, key_rem, prefix_rem) = key.split_common_prefix(*prefix); + let (common, key_rem, prefix_rem) = key.split_common_prefix(&*prefix); if common.len() == prefix.len() && common.len() == key.len() { *leaf_val = value; cache.clear(); @@ -148,7 +143,7 @@ impl Node { }; } Node::Extension(prefix, child, cache) => { - let (common, key_rem, prefix_rem) = key.split_common_prefix(*prefix); + let (common, key_rem, prefix_rem) = key.split_common_prefix(&*prefix); if common.len() == prefix.len() { child.insert(key_rem, value); cache.clear(); @@ -158,14 +153,17 @@ impl Node { } let mut children = Children::default(); - let (nib, tail) = prefix_rem.split_first().expect("mid < prefix.len()"); - if tail.is_empty() { - children.insert(nib, mem::take(child)); - } else { - children.insert( - nib, - Node::Extension(tail.into(), mem::take(child), M::default()).into(), - ); + match prefix_rem.as_slice() { + [nib] => children.insert(*nib, mem::take(child)), + [nib, tail @ ..] => { + // SAFETY: `tail` is a slice of `prefix` and thus only contains nibbles + let prefix = Nibbles::from_nibbles_unchecked(tail); + children.insert( + *nib, + Node::Extension(prefix, mem::take(child), M::default()).into(), + ); + } + _ => unreachable!(), // mid < prefix.len() } match key_rem.split_first() { Some((nib, tail)) => { @@ -199,24 +197,17 @@ impl Node { } /// Removes a key-value pair from the trie. - /// - /// Returns an error when a node required to complete the removal was omitted from the witness - /// (represented as a digest) rather than panicking, so the validator can reject the block. - pub(super) fn remove(&mut self, key: NibbleSlice) -> alloy_rlp::Result { - Ok(match self { + pub(super) fn remove(&mut self, key: NibbleSlice<'_>) -> bool { + match self { Node::Null => false, - Node::Leaf(prefix, ..) if prefix == key.as_nibbles() => { + Node::Leaf(prefix, ..) if prefix == key.as_slice() => { *self = Node::Null; true } Node::Leaf(..) => false, Node::Extension(prefix, child, cache) => { - let removed = match key.strip_prefix(prefix) { - Some(tail) => child.remove(tail)?, - None => false, - }; - if !removed { - return Ok(false); + if !key.strip_prefix(&*prefix).is_some_and(|tail| child.remove(tail)) { + return false; } cache.clear(); @@ -224,15 +215,15 @@ impl Node { match **child { Node::Null => *self = Node::Null, Node::Leaf(ref extension, ref mut value, _) => { - prefix.extend(extension); + prefix.extend_from_slice(extension); *self = Node::Leaf(mem::take(prefix), mem::take(value), M::default()) } Node::Extension(ref extension, ref mut child, _) => { - prefix.extend(extension); + prefix.extend_from_slice(extension); *self = Node::Extension(mem::take(prefix), mem::take(child), M::default()) } Node::Branch(..) => {} - Node::Digest(_) => unreachable!(), // child.remove() would have errored + Node::Digest(_) => unreachable!(), // child.remove() would have panicked } true } @@ -240,45 +231,44 @@ impl Node { match key.split_first() { Some((nib, tail)) => match children.entry(nib) { Entry::Occupied(mut entry) => { - if !entry.get_mut().remove(tail)? { - return Ok(false); + if !entry.get_mut().remove(tail) { + return false; } } - Entry::Vacant(_) => return Ok(false), + Entry::Vacant(_) => return false, }, - None => return Ok(false), // branch nodes don't have values in our MPT version + None => return false, // branch nodes don't have values in our MPT version }; cache.clear(); if let Some((nib, only_child)) = children.take_single_child() { match *only_child { // if the only child is a leaf, prepend the corresponding nib to it - Node::Leaf(extension, value, _) => { - let mut prefix = Nibbles::from_nibbles_unchecked([nib]); - prefix.extend(&extension); - *self = Node::Leaf(prefix, value, M::default()); + Node::Leaf(mut extension, value, _) => { + // SAFETY: `take_single_child` always returns a nibble + extension.as_mut_vec_unchecked().insert(0, nib); + *self = Node::Leaf(extension, value, M::default()); } // if the only child is an extension, prepend the corresponding nib to it - Node::Extension(extension, child, ..) => { - let mut prefix = Nibbles::from_nibbles_unchecked([nib]); - prefix.extend(&extension); - *self = Node::Extension(prefix, child, M::default()); + Node::Extension(mut extension, child, ..) => { + // SAFETY: `take_single_child` always returns a nibble + extension.as_mut_vec_unchecked().insert(0, nib); + *self = Node::Extension(extension, child, M::default()); } // if the only child is a branch, convert to an extension Node::Branch(..) => { + // SAFETY: `take_single_child` always returns a nibble let prefix = Nibbles::from_nibbles_unchecked([nib]); *self = Node::Extension(prefix, only_child, M::default()); } - Node::Digest(_) => { - return Err(alloy_rlp::Error::Custom("MPT: unresolved node access")) - } + Node::Digest(_) => panic!("MPT: Unresolved node access"), Node::Null => unreachable!(), // children does not contain any Node::Null } } true } - Node::Digest(_) => return Err(alloy_rlp::Error::Custom("MPT: unresolved node access")), - }) + Node::Digest(_) => panic!("MPT: Unresolved node access"), + } } /// Returns the number of full nodes in the trie. diff --git a/crates/zeth-mpt/src/mpt/orphan.rs b/crates/zeth-mpt/src/mpt/orphan.rs index 5cfd9ea..8c99bff 100644 --- a/crates/zeth-mpt/src/mpt/orphan.rs +++ b/crates/zeth-mpt/src/mpt/orphan.rs @@ -70,7 +70,7 @@ impl Trie { I: IntoIterator, T: AsRef<[u8]>, { - self.0.resolve_orphan(NibbleSlice::from(Nibbles::unpack(key)), proof) + self.0.resolve_orphan(NibbleSlice::from(&Nibbles::unpack(key)), proof) } } @@ -85,7 +85,7 @@ impl CachedTrie { I: IntoIterator, T: AsRef<[u8]>, { - self.inner.resolve_orphan(NibbleSlice::from(Nibbles::unpack(key)), proof) + self.inner.resolve_orphan(NibbleSlice::from(&Nibbles::unpack(key)), proof) } } @@ -93,15 +93,15 @@ impl Node { /// Attempts to resolve orphaned branch children caused by removing a key-value pair. pub(super) fn resolve_orphan>( &mut self, - key: NibbleSlice, + key: NibbleSlice<'_>, proof: impl IntoIterator, ) -> Result<(), Error> { - assert!(self.get(key)?.is_some(), "key not contained"); + assert!(self.get(key).is_some(), "key not contained"); let other = Node::from_rlp(proof)?; let Some((diverging, unmatched)) = other.diverging(key) else { return Ok(()); }; - let matched = key.strip_suffix(unmatched.as_nibbles()).unwrap(); + let matched = key.strip_suffix(&unmatched).unwrap(); match diverging { Node::Null => { @@ -114,15 +114,14 @@ impl Node { // split the first nibble which used to belong to the Branch let (idx, suffix) = unmatched.split_first().expect("empty unmatched key"); // this can only be an orphan, if it is currently a Digest child of a Branch - if !self.is_branch_with_digest(matched.join(common), idx) { + if !self.is_branch_with_digest(&matched.join(common), idx) { return Ok(()); } // any orphan must be a Leaf with the suffix as a prefix let sibling = Node::Leaf(suffix.into(), value.clone(), M::default()); let rlp = sibling.rlp_encoded(); - self.resolve_digests(&B256IndexMap::from_iter([(keccak256(&rlp), rlp)]), None) - .unwrap(); + self.resolve_digests(&B256IndexMap::from_iter([(keccak256(&rlp), rlp)])).unwrap(); } Node::Extension(prefix, child, _) => { // get the unmatched part of the Extension-prefix @@ -131,7 +130,7 @@ impl Node { // split the first nibble which used to belong to the Branch let (idx, suffix) = unmatched.split_first().expect("empty unmatched key"); // this can only be an orphan, if it is currently a Digest child of a Branch - if !self.is_branch_with_digest(matched.join(common), idx) { + if !self.is_branch_with_digest(&matched.join(common), idx) { return Ok(()); } @@ -144,16 +143,13 @@ impl Node { // the child still corresponds to the node we are looking for. if !matches!(**child, Node::Digest(_)) { let rlp = child.rlp_encoded(); - self.resolve_digests( - &B256IndexMap::from_iter([(keccak256(&rlp), rlp)]), - None, - ) - .unwrap(); + self.resolve_digests(&B256IndexMap::from_iter([(keccak256(&rlp), rlp)])) + .unwrap(); } // the path to the orphan corresponds exactly to the path of the Extension-child let orphan_prefix = matched.join(prefix); // maybe the trie already contains a node with this prefix - if self.contains_prefix(orphan_prefix) { + if self.contains_prefix(&orphan_prefix) { // in this case, the removal will not fail and nothing needs to be resolved return Ok(()); } @@ -164,8 +160,7 @@ impl Node { // any potential orphan must be an Extension with the (non-empty) suffix as a prefix let sibling = Node::Extension(suffix.into(), (*child).clone(), M::default()); let rlp = sibling.rlp_encoded(); - self.resolve_digests(&B256IndexMap::from_iter([(keccak256(&rlp), rlp)]), None) - .unwrap(); + self.resolve_digests(&B256IndexMap::from_iter([(keccak256(&rlp), rlp)])).unwrap(); } Node::Digest(_) => { // the proof is invalid, as it does not proof the non-inclusion of `key` @@ -181,11 +176,11 @@ impl Node { /// /// If the key is present in the trie, this method returns `None`. Otherwise, it returns the /// node where the search for the key would fail, along with the unmatched portion of the key. - fn diverging(&self, key: NibbleSlice) -> Option<(&Node, NibbleSlice)> { + fn diverging<'a>(&'a self, key: NibbleSlice<'a>) -> Option<(&'a Node, NibbleSlice<'a>)> { match self { Node::Null => Some((&Node::Null, key)), - Node::Leaf(prefix, ..) if prefix == key.as_nibbles() => None, + Node::Leaf(prefix, ..) if prefix == key.as_slice() => None, Node::Leaf(..) => Some((self, key)), Node::Extension(prefix, child, _) => { @@ -204,7 +199,7 @@ impl Node { } } - fn contains_prefix(&self, key: impl Into) -> bool { + fn contains_prefix<'a>(&'a self, key: impl Into>) -> bool { match self.diverging(key.into()) { None => true, // contains the prefix as a key Some((Node::Digest(_), _)) => false, // prefix not resolved @@ -213,7 +208,7 @@ impl Node { } /// Returns whether the node at key is a Branch which has a Digest child at idx. - fn is_branch_with_digest(&self, key: impl Into, idx: u8) -> bool { + fn is_branch_with_digest<'a>(&'a self, key: impl Into>, idx: u8) -> bool { match self.diverging(key.into()) { // match only if, the node found is a `Node::Branch` and the *entire* key was consumed Some((Node::Branch(children, ..), unmatched)) if unmatched.is_empty() => { diff --git a/crates/zeth-mpt/src/mpt/rkyv.rs b/crates/zeth-mpt/src/mpt/rkyv.rs index 625d8e6..c723d7f 100644 --- a/crates/zeth-mpt/src/mpt/rkyv.rs +++ b/crates/zeth-mpt/src/mpt/rkyv.rs @@ -76,13 +76,13 @@ impl ArchiveWith for NibblesDef { type Resolver = VecResolver; fn resolve_with(nibbles: &Nibbles, resolver: Self::Resolver, out: Place) { - ArchivedVec::resolve_from_slice(&nibbles.to_vec(), resolver, out); + ArchivedVec::resolve_from_slice(nibbles, resolver, out); } } impl SerializeWith for NibblesDef { fn serialize_with(nibbles: &Nibbles, serializer: &mut S) -> Result { - ArchivedVec::serialize_from_slice(&nibbles.to_vec(), serializer) + ArchivedVec::serialize_from_slice(nibbles, serializer) } } @@ -93,7 +93,7 @@ where { fn deserialize_with(f: &ArchivedVec, deserializer: &mut D) -> Result { let vec = as Deserialize, D>>::deserialize(f, deserializer)?; - Ok(Nibbles::from_nibbles_unchecked(vec)) + Ok(Nibbles::from_vec_unchecked(vec)) } } diff --git a/crates/zeth-mpt/src/mpt/rlp.rs b/crates/zeth-mpt/src/mpt/rlp.rs index 43dbd79..6c61a03 100644 --- a/crates/zeth-mpt/src/mpt/rlp.rs +++ b/crates/zeth-mpt/src/mpt/rlp.rs @@ -178,73 +178,38 @@ impl Node { } // return the resolved trie - root.resolve_digests(&rlp_by_digest, None)?; + root.resolve_digests(&rlp_by_digest)?; Ok(root) } - /// Resolves all applicable digest nodes in the trie rooted at this node with the node - /// corresponding to the RLP encoding. If `key_len` is set, it also checks that every resolved - /// path below this node is exactly `key_len` nibbles long. + /// Resolves all applicable digest nodes with the node corresponding to the RLP encoding. pub(super) fn resolve_digests( &mut self, rlp_by_digest: &B256IndexMap>, - key_len: Option, - ) -> alloy_rlp::Result<()> { - self.resolve_digests_at(rlp_by_digest, key_len, true) - } - - /// Resolves digests like [`Node::resolve_digests`], where `is_root` tells whether this node is - /// the root of the trie. - fn resolve_digests_at( - &mut self, - rlp_by_digest: &B256IndexMap>, - key_len: Option, - is_root: bool, ) -> alloy_rlp::Result<()> { match self { - Node::Null => {} - Node::Leaf(prefix, ..) => { - if key_len.is_some_and(|len| prefix.len() != len) { - return Err(alloy_rlp::Error::Custom("leaf path does not match key length")); - } - } - Node::Extension(prefix, child, _) => { - if key_len.is_some_and(|len| prefix.len() >= len) { - return Err(alloy_rlp::Error::Custom("extension path exceeds key length")); - } - let child_key_len = key_len.map(|len| len - prefix.len()); - child.resolve_digests_at(rlp_by_digest, child_key_len, false)?; + Node::Null | Node::Leaf(..) => {} + Node::Extension(_, child, _) => { + child.resolve_digests(rlp_by_digest)?; if !matches!(**child, Node::Branch(..) | Node::Digest(..)) { return Err(alloy_rlp::Error::Custom("extension node with invalid child")); } } Node::Branch(children, _) => { - if key_len == Some(0) { - return Err(alloy_rlp::Error::Custom("branch node exceeds key length")); - } - let child_key_len = key_len.map(|len| len - 1); for entry in children.entries() { if let Entry::Occupied(mut entry) = entry { - entry.get_mut().resolve_digests_at(rlp_by_digest, child_key_len, false)?; + entry.get_mut().resolve_digests(rlp_by_digest)?; } } } Node::Digest(digest) => { if let Some(bytes) = rlp_by_digest.get(digest) { - let bytes = bytes.as_ref(); - // a node shorter than a hash is embedded in its parent, so only the root can be - // referenced by the hash of such a node - if !is_root && bytes.len() < B256::len_bytes() { - return Err(alloy_rlp::Error::Custom( - "hash reference to an embeddable node", - )); - } - let mut node: Node = alloy_rlp::decode_exact(bytes)?; + let mut node: Node = alloy_rlp::decode_exact(bytes.as_ref())?; // do not try to replace a node by a digest if !matches!(node, Node::Digest(_)) { node.cache_set(RlpNode::from_digest(digest)); *self = node; - self.resolve_digests_at(rlp_by_digest, key_len, is_root)?; + self.resolve_digests(rlp_by_digest)?; } } } @@ -282,7 +247,7 @@ impl Decodable for Node { if i == 16 { return Err(alloy_rlp::Error::Custom("branch node with value")); } else { - children.insert(i as u8, decode_child(child_rlp)?.into()); + children.insert(i as u8, Node::decode(&mut &child_rlp[..])?.into()); } } } @@ -300,7 +265,7 @@ impl Decodable for Node { if is_leaf { Ok(Node::Leaf(path, Bytes::decode(&mut v)?, M::default())) } else { - let node = decode_child(v)?; + let node = Node::decode(&mut v)?; if !matches!(node, Node::Branch(..) | Node::Digest(..)) { return Err(alloy_rlp::Error::Custom( "extension node with invalid child", @@ -315,16 +280,6 @@ impl Decodable for Node { } } -/// Decodes the reference to a child of a branch or extension node. A child is embedded in its -/// parent exactly when its encoding is shorter than a hash, so a longer embedded child is rejected. -fn decode_child(rlp: &[u8]) -> alloy_rlp::Result> { - let node = Node::decode(&mut &rlp[..])?; - if !matches!(node, Node::Null | Node::Digest(_)) && rlp.len() >= B256::len_bytes() { - return Err(alloy_rlp::Error::Custom("embedded node not shorter than a hash")); - } - Ok(node) -} - /// An RLP-encoded node. #[derive(Clone)] pub(super) struct RlpNode(ArrayVec); @@ -454,32 +409,19 @@ fn encode_list_header(payload_length: usize) -> Vec { #[inline] fn decode_path(buf: &mut &[u8]) -> alloy_rlp::Result<(Nibbles, bool)> { - let compact = Header::decode_bytes(buf, false)?; - if compact.is_empty() { + let path = Nibbles::unpack(Header::decode_bytes(buf, false)?); + if path.len() < 2 { return Err(alloy_rlp::Error::InputTooShort); } - let (is_leaf, odd_len) = match compact[0] >> 4 { + let (is_leaf, odd_nibbles) = match path[0] { 0b0000 => (false, false), 0b0001 => (false, true), 0b0010 => (true, false), 0b0011 => (true, true), _ => return Err(alloy_rlp::Error::Custom("node is not an extension or leaf")), }; - // `Nibbles` holds at most 64 nibbles, the length of a hashed key. - if 2 * (compact.len() - 1) + usize::from(odd_len) > 2 * B256::len_bytes() { - return Err(alloy_rlp::Error::Custom("path exceeds 64 nibbles")); - } - // Strip the HP prefix: for odd length, the first nibble of the key is in the low nibble - // of the first byte; for even length, skip the first byte entirely. - let nibbles = if odd_len { - let first = compact[0] & 0x0f; - let mut n = Nibbles::from_nibbles_unchecked([first]); - n.extend(&Nibbles::unpack(&compact[1..])); - n - } else { - Nibbles::unpack(&compact[1..]) - }; - Ok((nibbles, is_leaf)) + let prefix = if odd_nibbles { &path[1..] } else { &path[2..] }; + Ok((Nibbles::from_nibbles_unchecked(prefix), is_leaf)) } fn encode_list(values: &[B]) -> Vec diff --git a/docs/guest-releases.md b/docs/guest-releases.md deleted file mode 100644 index 1550da2..0000000 --- a/docs/guest-releases.md +++ /dev/null @@ -1,46 +0,0 @@ -# Reth stateless validator releases - -The Reth guest accepts the execution-specs `statelessInputBytes` payload -unchanged and writes the corresponding `statelessOutputBytes`. It is released -for OpenVM, SP1, and ZisK under these names: - -```text -stateless-validator-reth-openvm-v2.1.0-preview.elf -stateless-validator-reth-sp1-v6.9.0.elf -stateless-validator-reth-zisk-v1.4.0-alpha.elf -``` - -Each ELF has a verification key with the same basename and a `.vk` extension. -Releases also contain `SHA256SUMS` and GitHub artifact attestations. - -## Build - -The build scripts use digest-pinned ERE v0.20.0 compiler and server images: - -```bash -scripts/guests/build.sh openvm output -scripts/guests/build.sh sp1 output -scripts/guests/build.sh zisk output -``` - -The three guest packages are independent Cargo workspaces with committed -lockfiles. A build fails if its lockfile changes or if the compiler does not -produce a non-empty ELF and verification key. - -Manual workflow runs build and smoke-test all three artifacts without write -permissions. Pushing a `reth-guest-v*` tag runs the same matrix, creates -checksums, attests the artifacts, and creates a GitHub release after every -build and smoke test succeeds. - -## Verify - -After downloading a release, verify checksums and GitHub's signed provenance: - -```bash -sha256sum --check SHA256SUMS -gh attestation verify stateless-validator-reth-sp1-v6.9.0.elf \ - --repo paradigmxyz/stateless -``` - -ERE consumers should download and republish these exact ELF and VK bytes rather -than rebuilding them in `ere-guests`. diff --git a/scripts/check_no_std.sh b/scripts/check_no_std.sh index 486c50a..05400bf 100755 --- a/scripts/check_no_std.sh +++ b/scripts/check_no_std.sh @@ -1,36 +1,9 @@ #!/usr/bin/env bash -set -euo pipefail +set -eo pipefail -target=targets/riscv64im-unknown-none-elf.json +target=riscv32imac-unknown-none-elf -# Required to prevent __atomic_* references from ending up in the final rlib. -export RUSTFLAGS="-C passes=lower-atomic" +cmd=(cargo +stable build --no-default-features --target "$target" -p stateless) -# Parse the zkvm-interface C headers as freestanding, which matches the bare-metal target. -# Otherwise clang's stdint.h defers to the next stdint.h in the include path, and the fixed-width -# types end up undefined when bindgen loads a libclang newer than the default clang. -export BINDGEN_EXTRA_CLANG_ARGS="-ffreestanding" - -build() { - local package="$1" - local features="${2:-}" - local -a cmd=( - cargo +nightly build - --locked - --no-default-features - --target "$target" - "-Zbuild-std=core,alloc" - -Zjson-target-spec - -p "$package" - ) - - if [[ -n "$features" ]]; then - cmd+=(--features "$features") - fi - - echo "Running: ${cmd[*]}" - "${cmd[@]}" -} - -build stateless-validator-reth -build stateless-validator-reth zkvm-interface +echo "Running: ${cmd[*]}" +"${cmd[@]}" diff --git a/scripts/guests/build.sh b/scripts/guests/build.sh deleted file mode 100755 index 6e9bdb2..0000000 --- a/scripts/guests/build.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -REPO_ROOT="$(git -C "$SCRIPT_DIR" rev-parse --show-toplevel)" -# shellcheck source=config.sh -source "$SCRIPT_DIR/config.sh" - -if [[ $# -lt 1 || $# -gt 2 ]]; then - echo "usage: $0 [output-directory]" >&2 - exit 2 -fi - -guest_config "$1" -OUTPUT_DIR="${2:-$REPO_ROOT/output}" -mkdir -p "$OUTPUT_DIR" -OUTPUT_DIR="$(cd "$OUTPUT_DIR" && pwd)" - -LOCKFILE="$REPO_ROOT/bin/stateless-validator-reth/$ZKVM/Cargo.lock" -CONTAINER_GUEST_DIR="/stateless/bin/stateless-validator-reth/$ZKVM" - -# Fetch on the host so CI's package firewall checks downloads before compilation. -# A fresh cache prevents previously downloaded packages from bypassing that check. -DEPENDENCY_CACHE="$(mktemp -d)" -trap 'rm -rf "$DEPENDENCY_CACHE"' EXIT -CARGO_HOME="$DEPENDENCY_CACHE" cargo fetch --locked \ - --manifest-path "$REPO_ROOT/bin/stateless-validator-reth/$ZKVM/Cargo.toml" - -git_cache_mount="type=bind,src=$DEPENDENCY_CACHE/git,dst=/usr/local/cargo/git" -if [[ "$ZKVM" != openvm ]]; then - git_cache_mount+=",readonly" -fi - -docker run --rm --network none \ - -e RUST_LOG=info \ - --mount "type=bind,src=$SCRIPT_DIR/cargo-offline.toml,dst=/usr/local/cargo/config.toml,readonly" \ - --mount "type=bind,src=$DEPENDENCY_CACHE/registry,dst=/usr/local/cargo/registry,readonly" \ - --mount "$git_cache_mount" \ - --mount "type=bind,src=$REPO_ROOT,dst=/stateless" \ - --mount "type=bind,src=$LOCKFILE,dst=$CONTAINER_GUEST_DIR/Cargo.lock,readonly" \ - --mount "type=bind,src=$OUTPUT_DIR,dst=/output" \ - "$COMPILER_IMAGE" \ - --compiler-kind rust-customized \ - --guest-dir "$CONTAINER_GUEST_DIR" \ - --output-dir /output \ - --elf-name "$ARTIFACT_NAME.elf" \ - -- \ - --ignore-rust-version - -docker run --rm \ - -e RUST_LOG=info \ - --mount "type=bind,src=$OUTPUT_DIR,dst=/output" \ - "$SERVER_IMAGE" \ - --elf-path "/output/$ARTIFACT_NAME.elf" \ - keygen \ - --program-vk-path "/output/$ARTIFACT_NAME.vk" - -ELF="$OUTPUT_DIR/$ARTIFACT_NAME.elf" -VK="$OUTPUT_DIR/$ARTIFACT_NAME.vk" -if [[ "$(od -An -t x1 -N4 "$ELF" | tr -d ' \n')" != "7f454c46" ]]; then - echo "$ELF is not an ELF file" >&2 - exit 1 -fi -if [[ ! -s "$VK" ]]; then - echo "$VK is empty" >&2 - exit 1 -fi - -echo "Built $ARTIFACT_NAME" diff --git a/scripts/guests/cargo-offline.toml b/scripts/guests/cargo-offline.toml deleted file mode 100644 index 8959ff4..0000000 --- a/scripts/guests/cargo-offline.toml +++ /dev/null @@ -1,3 +0,0 @@ -# Use a file because the OpenVM build wrapper strips Cargo environment variables. -[net] -offline = true diff --git a/scripts/guests/config.sh b/scripts/guests/config.sh deleted file mode 100755 index 0538d4e..0000000 --- a/scripts/guests/config.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - -guest_config() { - case "${1:?zkVM name is required}" in - openvm) - ZKVM_VERSION="v2.1.0-preview" - COMPILER_IMAGE="ghcr.io/eth-act/ere/ere-compiler-openvm:0.20.0@sha256:bd721f337b91cac2beffd560377145f7ee8f77dd3b235642c48cbbceef5547f5" - SERVER_IMAGE="ghcr.io/eth-act/ere/ere-server-openvm:0.20.0@sha256:db58fed53e626ca791db4940ced55957ec04060ded912a4b01463d0092ffae4e" - ;; - sp1) - ZKVM_VERSION="v6.9.0" - COMPILER_IMAGE="ghcr.io/eth-act/ere/ere-compiler-sp1:0.20.0@sha256:3612ee81acf2a97d12e30229e872881f517affaf3174108de567a648252c1b25" - SERVER_IMAGE="ghcr.io/eth-act/ere/ere-server-sp1:0.20.0@sha256:c5bebed6b2db4ae395d44c1b67deaef0fe24293fccdd352470e69295ff777c8e" - ;; - zisk) - ZKVM_VERSION="v1.4.0-alpha" - COMPILER_IMAGE="ghcr.io/eth-act/ere/ere-compiler-zisk:0.20.0@sha256:abb8c528cda7cb0e8c8f85607464d808012f5248d17d0c6a285c3c43e1d61e3c" - SERVER_IMAGE="ghcr.io/eth-act/ere/ere-server-zisk:0.20.0@sha256:008d7f64430f2f3f62770ac60c79c77652d75203a60d8034a59f43a1ff240d3b" - ;; - *) - echo "unsupported zkVM: $1" >&2 - return 2 - ;; - esac - - ZKVM="$1" - ARTIFACT_NAME="stateless-validator-reth-${ZKVM}-${ZKVM_VERSION}" - export ZKVM ZKVM_VERSION COMPILER_IMAGE SERVER_IMAGE ARTIFACT_NAME -} diff --git a/scripts/guests/smoke-test.sh b/scripts/guests/smoke-test.sh deleted file mode 100755 index 5cc8375..0000000 --- a/scripts/guests/smoke-test.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -REPO_ROOT="$(git -C "$SCRIPT_DIR" rev-parse --show-toplevel)" -# shellcheck source=config.sh -source "$SCRIPT_DIR/config.sh" - -if [[ $# -lt 1 || $# -gt 2 ]]; then - echo "usage: $0 [artifact-directory]" >&2 - exit 2 -fi - -guest_config "$1" -OUTPUT_DIR="${2:-$REPO_ROOT/output}" -OUTPUT_DIR="$(cd "$OUTPUT_DIR" && pwd)" -ELF="$OUTPUT_DIR/$ARTIFACT_NAME.elf" -VK="$OUTPUT_DIR/$ARTIFACT_NAME.vk" -FIXTURE="$REPO_ROOT/testing/stateless-validator/fixtures/guest-smoke.json" -PORT=4174 -CONTAINER_NAME="reth-guest-smoke-$ZKVM" -ENDPOINT="http://127.0.0.1:$PORT/" - -cargo build --locked \ - --package stateless-validator-tests \ - --bin guest-smoke - -docker rm --force "$CONTAINER_NAME" >/dev/null 2>&1 || true -trap 'docker rm --force "$CONTAINER_NAME" >/dev/null 2>&1 || true' EXIT - -docker_options=( - run - --detach - --name "$CONTAINER_NAME" - --publish "127.0.0.1:$PORT:$PORT" - --env RUST_LOG=info - --mount "type=bind,src=$ELF,dst=/guest.elf,readonly" -) -case "$ZKVM" in - sp1) - docker_options+=(--shm-size 32G --env ERE_SP1_EXECUTOR_POOL_SIZE=1) - ;; - zisk) - docker_options+=(--shm-size 32G --ulimit memlock=-1:-1) - ;; -esac - -docker "${docker_options[@]}" "$SERVER_IMAGE" \ - --port "$PORT" \ - --elf-path /guest.elf \ - cpu >/dev/null - -deadline=$((SECONDS + 15 * 60)) -until curl --fail --silent --show-error --connect-timeout 2 --max-time 3 \ - "${ENDPOINT}health" >/dev/null 2>&1; do - state="$(docker inspect --format '{{.State.Status}}' "$CONTAINER_NAME")" - if [[ "$state" != "running" ]]; then - echo "$CONTAINER_NAME stopped while initializing" >&2 - docker logs "$CONTAINER_NAME" >&2 - exit 1 - fi - if ((SECONDS >= deadline)); then - echo "$CONTAINER_NAME did not become healthy within 15 minutes" >&2 - docker logs "$CONTAINER_NAME" >&2 - exit 1 - fi - sleep 2 -done - -if ! "$REPO_ROOT/target/debug/guest-smoke" "$ZKVM" "$ENDPOINT" "$VK" "$FIXTURE"; then - docker logs "$CONTAINER_NAME" >&2 - exit 1 -fi diff --git a/scripts/run_ef_tests.sh b/scripts/run_ef_tests.sh index 1976358..72734cf 100755 --- a/scripts/run_ef_tests.sh +++ b/scripts/run_ef_tests.sh @@ -19,7 +19,7 @@ default|zeth) ;; esac # Setup test fixtures -"$SCRIPT_DIR/setup_ef_tests.sh" +"$SCRIPT_DIR/setup_ef_tests.sh" --force # Run EF tests -EF_TEST_TRIE="$TRIE_IMPL" cargo nextest run --no-fail-fast -p ef-tests --release --locked --features "asm-keccak ef-tests" +EF_TEST_TRIE="$TRIE_IMPL" cargo nextest run --no-fail-fast -p ef-tests --release --features "asm-keccak ef-tests" diff --git a/scripts/setup_ef_tests.sh b/scripts/setup_ef_tests.sh index b422775..3cec8f5 100755 --- a/scripts/setup_ef_tests.sh +++ b/scripts/setup_ef_tests.sh @@ -1,30 +1,103 @@ #!/usr/bin/env bash set -euo pipefail -ETHEREUM_TESTS_REF="81862e4848585a438d64f911a19b3825f0f4cd95" -EEST_TESTS_TAG="v4.5.0" +# ============================================================================== +# Setup script for official Ethereum Execution Specification Tests (EEST) +# This script implements the new witness generation flow using the +# execution-specs repository and the 'uv' tool. +# ============================================================================== +# Paths SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" EF_TESTS_DIR="$SCRIPT_DIR/../testing/ef-tests" +EF_SPECS_DIR="$SCRIPT_DIR/../testing/ef-specs" +FIXTURES_DEST="$EF_TESTS_DIR/execution-spec-tests" -# Clone ethereum/tests if not already present -if [ ! -d "$EF_TESTS_DIR/ethereum-tests" ]; then - echo "Cloning ethereum/tests at $ETHEREUM_TESTS_REF..." +# Options +FILL_ALL=false +FORCE=false + +# Parse arguments +for arg in "$@"; do + case $arg in + --all) + FILL_ALL=true + ;; + --force) + FORCE=true + ;; + *) + echo "Unknown argument: $arg" + echo "Usage: $0 [--all] [--force]" + exit 1 + ;; + esac +done + +# Ensure dependencies are installed +if ! command -v uv &> /dev/null; then + echo "Error: 'uv' is not installed. Please install it via: curl -LsSf https://astral.sh/uv/install.sh | sh" + exit 1 +fi + +# 1. Clone ethereum/tests (Legacy requirement for general test structure) +if [ ! -d "$EF_TESTS_DIR/ethereum-tests" ] || [ "$FORCE" = true ]; then + if [ "$FORCE" = true ] && [ -d "$EF_TESTS_DIR/ethereum-tests" ]; then + echo "Force flag set: removing existing ethereum-tests..." + rm -rf "$EF_TESTS_DIR/ethereum-tests" + fi + echo "Cloning ethereum/tests..." + mkdir -p "$EF_TESTS_DIR" git clone --depth 1 https://github.com/ethereum/tests "$EF_TESTS_DIR/ethereum-tests" - git -C "$EF_TESTS_DIR/ethereum-tests" fetch --depth 1 origin "$ETHEREUM_TESTS_REF" - git -C "$EF_TESTS_DIR/ethereum-tests" checkout "$ETHEREUM_TESTS_REF" else echo "ethereum-tests already exists, skipping clone." fi -# Download EEST fixtures if not already present -if [ ! -d "$EF_TESTS_DIR/execution-spec-tests" ] || [ -z "$(ls -A "$EF_TESTS_DIR/execution-spec-tests" 2>/dev/null)" ]; then - echo "Downloading EEST fixtures ($EEST_TESTS_TAG)..." - mkdir -p "$EF_TESTS_DIR/execution-spec-tests" - URL="https://github.com/ethereum/execution-spec-tests/releases/download/${EEST_TESTS_TAG}/fixtures_stable.tar.gz" - curl -L "$URL" | tar -xz --strip-components=1 -C "$EF_TESTS_DIR/execution-spec-tests" +# 2. Setup execution-specs repository +if [ ! -d "$EF_SPECS_DIR" ] || [ "$FORCE" = true ]; then + if [ "$FORCE" = true ] && [ -d "$EF_SPECS_DIR" ]; then + echo "Force flag set: removing existing execution-specs..." + rm -rf "$EF_SPECS_DIR" + fi + echo "Cloning execution-specs repository..." + git clone https://github.com/ethereum/execution-specs "$EF_SPECS_DIR" + git -C "$EF_SPECS_DIR" fetch origin + git -C "$EF_SPECS_DIR" checkout projects/zkevm-bal-devnet-3 else - echo "execution-spec-tests already exists, skipping download." + echo "execution-specs already exists, skipping clone." + git -C "$EF_SPECS_DIR" fetch origin + git -C "$EF_SPECS_DIR" checkout projects/zkevm-bal-devnet-3 fi -echo "EF test fixtures are ready." +# 3. Fill fixtures using the official specification tool +echo "Generating execution witnesses using uv run fill..." + +# Priority 1: Fill the most focused cases (EIP-8025 optional proofs) - Always run +echo "Filling focused Amsterdam eip8025_optional_proofs tests..." +( + cd "$EF_SPECS_DIR" + uv run fill --clean -m "blockchain_test" --fork Amsterdam -s ./tests/amsterdam/eip8025_optional_proofs +) + +# Priority 2: Fill the general EEST cases (>16k tests) - Optional +if [ "$FILL_ALL" = true ]; then + echo "Filling general blockchain test cases (all forks)..." + ( + cd "$EF_SPECS_DIR" + uv run fill --clean -m "blockchain_test" + ) +else + echo "Skipping general blockchain test cases (use --all to enable)." +fi + +# 4. Synchronize filled fixtures to the ef-tests directory +echo "Syncing filled fixtures to $FIXTURES_DEST..." +mkdir -p "$FIXTURES_DEST" + +# We copy the contents of the fixtures/blockchain_tests directory from the specs repo. +# The Rust test runner uses WalkDir, so preserving the directory structure is important. +cp -r "$EF_SPECS_DIR/fixtures/blockchain_tests/"* "$FIXTURES_DEST/" + +echo "Official EF test fixtures are ready." +echo "You can now run tests using: EF_TEST_TRIE=default cargo test -p ef-tests --release --features \"asm-keccak ef-tests\"" +echo "To generate all fork fixtures next time, run: $0 --all" diff --git a/targets/riscv64im-unknown-none-elf.json b/targets/riscv64im-unknown-none-elf.json deleted file mode 100644 index 70d3f92..0000000 --- a/targets/riscv64im-unknown-none-elf.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "arch": "riscv64", - "code-model": "medium", - "cpu": "generic-rv64", - "crt-objects-fallback": "false", - "data-layout": "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128", - "eh-frame-header": false, - "emit-debug-gdb-scripts": false, - "features": "+m", - "linker": "rust-lld", - "linker-flavor": "gnu-lld", - "llvm-abiname": "lp64", - "llvm-target": "riscv64-unknown-none-elf", - "max-atomic-width": 64, - "metadata": { - "description": "Bare RISC-V (RV64IM ISA)", - "host_tools": false, - "std": false, - "tier": 2 - }, - "os": "none", - "panic-strategy": "abort", - "relocation-model": "static", - "supported-sanitizers": [ - "shadow-call-stack", - "kernel-address" - ], - "target-pointer-width": 64 -} \ No newline at end of file diff --git a/testing/ef-specs b/testing/ef-specs new file mode 160000 index 0000000..b1d870f --- /dev/null +++ b/testing/ef-specs @@ -0,0 +1 @@ +Subproject commit b1d870f8f06d9eba3d74179c39660cedb98f1f38 diff --git a/testing/ef-tests/Cargo.toml b/testing/ef-tests/Cargo.toml index e8cc27d..d1cee6a 100644 --- a/testing/ef-tests/Cargo.toml +++ b/testing/ef-tests/Cargo.toml @@ -5,6 +5,7 @@ description = "Ethereum Foundation test support for stateless validation." edition.workspace = true rust-version.workspace = true license.workspace = true +homepage.workspace = true repository.workspace = true [lints] @@ -15,8 +16,8 @@ ef-tests = [] asm-keccak = ["alloy-primitives/asm-keccak", "revm/asm-keccak"] [dependencies] -stateless = { workspace = true, features = ["reth-trie"] } -tries = { workspace = true, features = ["std"] } +stateless.workspace = true +tries.workspace = true reth-chainspec = { workspace = true, features = ["std"] } reth-ethereum-primitives = { workspace = true, features = ["std"] } diff --git a/testing/ef-tests/src/assert.rs b/testing/ef-tests/src/assert.rs index 9f1f83e..9e2b8d9 100644 --- a/testing/ef-tests/src/assert.rs +++ b/testing/ef-tests/src/assert.rs @@ -1,7 +1,8 @@ //! Various assertion helpers. use crate::Error; -use std::fmt::Debug; +use alloy_primitives::Bytes; +use std::{collections::BTreeSet, fmt::Debug}; /// A helper like `assert_eq!` that instead returns `Err(Error::Assertion)` on failure. pub fn assert_equal(left: T, right: T, msg: &str) -> Result<(), Error> @@ -14,3 +15,41 @@ where Err(Error::Assertion(format!("{msg}\n left `{left:?}`,\n right `{right:?}`"))) } } + +/// Compares two sorted `Vec`, producing a detailed error on mismatch that includes +/// counts and the items present in one side but not the other. +pub fn assert_equal_bytes_vecs( + expected: &[Bytes], + generated: &[Bytes], + label: &str, +) -> Result<(), Error> { + if expected == generated { + return Ok(()); + } + + let expected_set: BTreeSet<&Bytes> = expected.iter().collect(); + let generated_set: BTreeSet<&Bytes> = generated.iter().collect(); + + let in_expected_only: Vec<_> = expected_set.difference(&generated_set).collect(); + let in_generated_only: Vec<_> = generated_set.difference(&expected_set).collect(); + + let mut msg = + format!("{label} mismatch — expected {}, generated {}", expected.len(), generated.len()); + + if !in_expected_only.is_empty() { + msg.push_str(&format!( + "\n in expected but not generated ({}):\n {}", + in_expected_only.len(), + in_expected_only.iter().map(|b| format!("{b}")).collect::>().join("\n ") + )); + } + if !in_generated_only.is_empty() { + msg.push_str(&format!( + "\n in generated but not expected ({}):\n {}", + in_generated_only.len(), + in_generated_only.iter().map(|b| format!("{b}")).collect::>().join("\n ") + )); + } + + Err(Error::Assertion(msg)) +} diff --git a/testing/ef-tests/src/case.rs b/testing/ef-tests/src/case.rs index d7f8059..27dfa50 100644 --- a/testing/ef-tests/src/case.rs +++ b/testing/ef-tests/src/case.rs @@ -1,12 +1,10 @@ //! Test case definitions use crate::result::{CaseResult, Error}; +use rayon::prelude::*; use std::{ fmt::Debug, - num::NonZeroUsize, path::{Path, PathBuf}, - sync::Mutex, - thread, }; /// A single test case, capable of loading a JSON description of itself and running it. @@ -23,6 +21,12 @@ pub trait Case: Debug + Send + Sync + Sized + 'static { /// The file can be assumed to be a valid EF test case as described on . fn load(path: &Path) -> Result; + /// Return the names of all individual test cases contained in this case. + fn test_names(&self) -> Vec<&str>; + + /// Keep only the test cases whose name contains the given substring. + fn filter_by_name(&mut self, filter: &str); + /// Run the test. fn run(self) -> Result<(), Error>; } @@ -36,28 +40,10 @@ pub struct Cases { impl Cases { /// Run the contained test cases. - /// - /// Cases run on a fixed set of scoped threads rather than rayon workers. A rayon worker that - /// waits on nested parallel work steals other cases, so with rayon an unbounded number of - /// cases, each holding its own temporary database, can be in flight at once. pub fn run(self) -> Vec { - let threads = thread::available_parallelism().map_or(1, NonZeroUsize::get); - let cases = Mutex::new(self.test_cases.into_iter()); - thread::scope(|scope| { - let workers: Vec<_> = (0..threads) - .map(|_| { - scope.spawn(|| { - let mut results = Vec::new(); - loop { - let Some((path, case)) = cases.lock().unwrap().next() else { - break results; - }; - results.push(CaseResult::new(&path, case.description(), case.run())); - } - }) - }) - .collect(); - workers.into_iter().flat_map(|worker| worker.join().unwrap()).collect() - }) + self.test_cases + .into_par_iter() + .map(|(path, case)| CaseResult::new(&path, case.description(), case.run())) + .collect() } } diff --git a/testing/ef-tests/src/cases/blockchain_test.rs b/testing/ef-tests/src/cases/blockchain_test.rs index a3912e7..bbb7ff8 100644 --- a/testing/ef-tests/src/cases/blockchain_test.rs +++ b/testing/ef-tests/src/cases/blockchain_test.rs @@ -10,26 +10,30 @@ use reth_chainspec::ChainSpec; use reth_consensus::{Consensus, HeaderValidator}; use reth_db_common::init::{insert_genesis_hashes, insert_genesis_history, insert_genesis_state}; use reth_ethereum_consensus::{EthBeaconConsensus, validate_block_post_execution}; -use reth_ethereum_primitives::Block; -use reth_evm::{ConfigureEvm, execute::Executor}; +use reth_ethereum_primitives::{Block, TransactionSigned}; +use reth_evm::{ + ConfigureEvm, + execute::{BlockExecutionOutput, Executor}, +}; use reth_evm_ethereum::EthEvmConfig; -use reth_primitives_traits::{ParallelBridgeBuffered, RecoveredBlock, SealedBlock}; +use reth_primitives_traits::{ + Block as BlockTrait, ParallelBridgeBuffered, RecoveredBlock, SealedBlock, +}; use reth_provider::{ - BlockWriter, DatabaseProviderFactory, ExecutionOutcome, HistoryWriter, OriginalValuesKnown, - StateWriteConfig, StateWriter, StaticFileProviderFactory, StaticFileSegment, StaticFileWriter, - test_utils::create_test_provider_factory_with_chain_spec_and_db_args, + BlockWriter, DatabaseProviderFactory, ExecutionOutcome, HeaderProvider, HistoryWriter, + OriginalValuesKnown, StateWriteConfig, StateWriter, StaticFileProviderFactory, + StaticFileSegment, StaticFileWriter, test_utils::create_test_provider_factory_with_chain_spec, }; -use reth_revm::{State, database::StateProviderDatabase, witness::ExecutionWitnessRecord}; -use reth_trie::{ - HashedPostState, KeccakKeyHasher, StateRoot, hashed_cursor::zero_destroyed_account_storage, -}; -use reth_trie_common::ExecutionWitnessMode; +use reth_revm::{database::StateProviderDatabase, witness::ExecutionWitnessRecord}; +use reth_trie::{HashedPostState, KeccakKeyHasher, StateRoot}; use reth_trie_db::{ DatabaseHashedCursorFactory, DatabaseStateRoot, DatabaseTrieCursorFactory, LegacyKeyAdapter, }; -use stateless::{ExecutionWitness, validation::stateless_validation_with_trie}; +use stateless::{ + ExecutionWitness, UncompressedPublicKey, validation::stateless_validation_with_trie, +}; use std::{ - collections::BTreeMap, + collections::{BTreeMap, BTreeSet}, env, fs, path::{Path, PathBuf}, sync::Arc, @@ -67,12 +71,14 @@ impl EfTestTrie { #[derive(Debug)] pub struct BlockchainTests { suite_path: PathBuf, + /// Test paths to skip (relative to `suite_path`) + skip_tests: BTreeSet, } impl BlockchainTests { /// Create a new suite for tests with blockchain tests format. - pub const fn new(suite_path: PathBuf) -> Self { - Self { suite_path } + pub fn new(suite_path: PathBuf, skip_tests: BTreeSet) -> Self { + Self { suite_path, skip_tests } } } @@ -82,6 +88,17 @@ impl Suite for BlockchainTests { fn suite_path(&self) -> &Path { &self.suite_path } + + fn should_skip(&self, path: &Path) -> bool { + if self.skip_tests.is_empty() { + return false; + } + // Match against the path relative to the suite root directory. + path.strip_prefix(&self.suite_path) + .ok() + .and_then(|rel| rel.to_str()) + .is_some_and(|rel| self.skip_tests.contains(rel)) + } } /// An Ethereum blockchain test. @@ -200,6 +217,14 @@ impl Case for BlockchainTestCase { }) } + fn test_names(&self) -> Vec<&str> { + self.tests.keys().map(|s| s.as_str()).collect() + } + + fn filter_by_name(&mut self, filter: &str) { + self.tests.retain(|name, _| name.contains(filter)); + } + /// Runs the test cases for the Ethereum Forks test suite. /// /// # Errors @@ -216,7 +241,11 @@ impl Case for BlockchainTestCase { .filter(|(_, case)| !Self::excluded_fork(case.network)) .par_bridge_buffered() .with_min_len(64) - .try_for_each(|(name, case)| Self::run_single_case(&name, &case).map(|_| ())) + .try_for_each(|(name, case)| { + Self::run_single_case(&name, &case).map(|_| ()).map_err(|err| { + Error::TestCaseFailed { name: name.to_owned(), err: Box::new(err) } + }) + }) } } @@ -251,10 +280,7 @@ where { // Create a new test database and initialize a provider for the test case. let chain_spec = case.network.to_chain_spec(); - let factory = create_test_provider_factory_with_chain_spec_and_db_args( - chain_spec.clone(), - reth_db::mdbx::DatabaseArguments::test().with_geometry_max_size(Some(1024 * 1024 * 1024)), - ); + let factory = create_test_provider_factory_with_chain_spec(chain_spec.clone()); let provider = factory.database_provider_rw().unwrap(); // Insert initial test state into the provider. @@ -311,42 +337,68 @@ where Error::block_failed(block_number, program_inputs.clone(), err) })?; + let mut witness_record = ExecutionWitnessRecord::default(); + // Execute the block let state_provider = provider.latest(); let state_db = StateProviderDatabase(&state_provider); - let executor = executor_provider.batch_executor(state_db); - let mut exec_witness = None; + let mut executor = executor_provider.batch_executor(state_db); - let output = executor - .execute_with_state_closure_always(&(*block).clone(), |statedb: &State<_>| { - exec_witness = Some(ExecutionWitnessRecord::new(statedb).into_execution_witness( - &state_provider, - &provider, - block_number, - ExecutionWitnessMode::default(), - )); - }) + let result = executor + .execute_one(&(*block).clone()) .map_err(|err| Error::block_failed(block_number, program_inputs.clone(), err))?; + let block_access_list = executor.take_bal(); + + let mut state = executor.into_state(); + witness_record.record_executed_state(&state); + let output = BlockExecutionOutput { state: state.take_bundle(), result }; + // Consensus checks after block execution - validate_block_post_execution(block, &chain_spec, &output.result, None, None) - .map_err(|err| Error::block_failed(block_number, program_inputs.clone(), err))?; + validate_block_post_execution( + block, + &chain_spec, + &output.receipts, + &output.requests, + None, + &block_access_list, + Some(output.gas_used), + ) + .map_err(|err| Error::block_failed(block_number, program_inputs.clone(), err))?; // Generate the stateless witness - let exec_witness = - exec_witness.expect("state closure is called after block execution completes")?; + let ExecutionWitnessRecord { hashed_state, codes, keys, lowest_block_number } = + witness_record; + let state = state_provider.witness(Default::default(), hashed_state)?; + let mut exec_witness = ExecutionWitness { state, codes, keys, headers: Default::default() }; + + let smallest = lowest_block_number.unwrap_or_else(|| block_number.saturating_sub(1)); + + let range = smallest..block_number; + + exec_witness.headers = provider + .headers_range(range)? + .into_iter() + .map(|header| { + let mut serialized_header = Vec::new(); + header.encode(&mut serialized_header); + serialized_header.into() + }) + .collect(); program_inputs.push((block.clone(), exec_witness)); + // Compare the generated witness against the fixture's expected witness (if present) + if let Some(expected_witness) = &case.blocks[block_index].execution_witness { + let (_, generated_witness) = program_inputs.last().unwrap(); + expected_witness + .assert_matches(generated_witness) + .map_err(|err| Error::block_failed(block_number, program_inputs.clone(), err))?; + } + // Compute and check the post state root - let mut hashed_state = + let hashed_state = HashedPostState::from_bundle_state::(output.state.state()); - zero_destroyed_account_storage( - &DatabaseHashedCursorFactory::new(provider.tx_ref()), - output.state.state(), - &mut hashed_state, - ) - .map_err(|err| Error::block_failed(block_number, program_inputs.clone(), err))?; let (computed_state_root, _) = , DatabaseHashedCursorFactory<_>, @@ -408,8 +460,13 @@ where for (recovered_block, execution_witness) in &program_inputs { let block = recovered_block.clone().into_block(); + // Recover the actual public keys from the transaction signatures + let public_keys = recover_signers(block.body().transactions()) + .expect("Failed to recover public keys from transaction signatures"); + stateless_validation_with_trie::( block, + public_keys, execution_witness.clone(), chain_spec.clone(), EthEvmConfig::new(chain_spec.clone()), @@ -464,6 +521,26 @@ fn pre_execution_checks( Ok(()) } +/// Recover public keys from transaction signatures. +fn recover_signers<'a, I>(txs: I) -> Result, Box> +where + I: IntoIterator, +{ + txs.into_iter() + .enumerate() + .map(|(i, tx)| { + tx.signature() + .recover_from_prehash(&tx.signature_hash()) + .map(|keys| { + UncompressedPublicKey( + keys.to_encoded_point(false).as_bytes().try_into().unwrap(), + ) + }) + .map_err(|e| format!("failed to recover signature for tx #{i}: {e}").into()) + }) + .collect::, _>>() +} + /// Returns whether the test at the given path should be skipped. /// /// Some tests are edge cases that cannot happen on mainnet, while others are skipped for diff --git a/testing/ef-tests/src/models.rs b/testing/ef-tests/src/models.rs index 3c216ce..b6ab399 100644 --- a/testing/ef-tests/src/models.rs +++ b/testing/ef-tests/src/models.rs @@ -1,6 +1,9 @@ //! Shared models for -use crate::{Error, assert::assert_equal}; +use crate::{ + Error, + assert::{assert_equal, assert_equal_bytes_vecs}, +}; use alloy_consensus::Header as RethHeader; use alloy_eips::eip4895::Withdrawals; use alloy_genesis::GenesisAccount; @@ -9,6 +12,7 @@ use reth_chainspec::{ChainSpec, ChainSpecBuilder, EthereumHardfork, ForkConditio use reth_db_api::{cursor::DbDupCursorRO, tables, transaction::DbTx}; use reth_primitives_traits::SealedHeader; use serde::Deserialize; +use stateless::ExecutionWitness; use std::{ collections::BTreeMap, ops::Deref, @@ -142,6 +146,46 @@ pub struct Block { pub transaction_sequence: Option>, /// Withdrawals pub withdrawals: Option, + /// Execution witness for stateless validation. + pub execution_witness: Option, +} + +/// Execution witness from test fixtures. +/// +/// Uses serde aliases to accept both alloy's field names (`state`/`codes`/`headers`) +/// and the fixture's field names (`nodes`/`bytecodes`/`ancestors`). +#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Default)] +pub struct FixtureExecutionWitness { + /// Trie nodes / state witness. + #[serde(alias = "nodes", default)] + pub state: Vec, + /// Contract bytecodes. + #[serde(alias = "bytecodes", default)] + pub codes: Vec, + /// Ancestor block headers. + #[serde(alias = "ancestors", default)] + pub headers: Vec, +} + +impl FixtureExecutionWitness { + /// Asserts that the generated [`ExecutionWitness`] matches this fixture witness. + /// + /// Compares `state`, `codes`, and `headers` fields individually (sorted). + /// The `keys` field from the generated witness is ignored since fixtures don't include it. + pub fn assert_matches(&self, generated: &ExecutionWitness) -> Result<(), Error> { + assert_equal_bytes_vecs(&self.state, &generated.state, "execution witness state (nodes)")?; + assert_equal_bytes_vecs( + &self.codes, + &generated.codes, + "execution witness codes (bytecodes)", + )?; + assert_equal_bytes_vecs( + &self.headers, + &generated.headers, + "execution witness headers (ancestors)", + )?; + Ok(()) + } } /// Transaction sequence in block @@ -333,6 +377,11 @@ pub enum ForkSpec { /// BPO1 to BPO2 at time 15k #[serde(alias = "BPO1ToBPO2AtTime15k")] Bpo1ToBpo2AtTime15k, + /// BPO2 to Amsterdam at time 15k + #[serde(alias = "BPO2ToAmsterdamAtTime15k")] + Bpo2ToAmsterdamAtTime15k, + /// Amsterdam + Amsterdam, } impl ForkSpec { @@ -411,6 +460,12 @@ impl ForkSpec { .osaka_activated() .with_fork(EthereumHardfork::Bpo1, ForkCondition::Timestamp(0)) .with_fork(EthereumHardfork::Bpo2, ForkCondition::Timestamp(15_000)), + Self::Bpo2ToAmsterdamAtTime15k => spec_builder + .osaka_activated() + .with_fork(EthereumHardfork::Bpo1, ForkCondition::Timestamp(0)) + .with_fork(EthereumHardfork::Bpo2, ForkCondition::Timestamp(0)) + .with_amsterdam_at(15_000), + Self::Amsterdam => spec_builder.amsterdam_activated(), } .build() } diff --git a/testing/ef-tests/src/result.rs b/testing/ef-tests/src/result.rs index 4b9c87f..e0e41bc 100644 --- a/testing/ef-tests/src/result.rs +++ b/testing/ef-tests/src/result.rs @@ -66,6 +66,15 @@ pub enum Error { /// A consensus error occurred. #[error("an error occurred during consensus checks: {0}")] ConsensusError(#[from] reth_consensus::ConsensusError), + /// A named test case within a fixture file failed. + #[error("test case `{name}`: {err}")] + TestCaseFailed { + /// The name of the individual test case within the fixture file. + name: String, + /// The underlying error. + #[source] + err: Box, + }, } impl Error { diff --git a/testing/ef-tests/src/suite.rs b/testing/ef-tests/src/suite.rs index 0b3ed44..45cf4a2 100644 --- a/testing/ef-tests/src/suite.rs +++ b/testing/ef-tests/src/suite.rs @@ -15,6 +15,11 @@ pub trait Suite { /// The path to the test suite directory. fn suite_path(&self) -> &Path; + /// Returns `true` if the test at the given absolute path should be skipped. + fn should_skip(&self, _path: &Path) -> bool { + false + } + /// Run all test cases in the suite. fn run(&self) { let suite_path = self.suite_path(); @@ -26,6 +31,31 @@ pub trait Suite { } } + /// Run only test cases whose name contains the given filter substring. + fn run_with_filter(&self, filter: &str) { + let suite_path = self.suite_path(); + + let test_cases = find_all_files_with_extension(suite_path, ".json") + .into_iter() + .filter(|path| !self.should_skip(path)) + .filter_map(|test_case_path| { + let mut case = Self::Case::load(&test_case_path).expect("test case should load"); + case.filter_by_name(filter); + if case.test_names().is_empty() { None } else { Some((test_case_path, case)) } + }) + .collect::>(); + + if test_cases.is_empty() { + eprintln!("No test cases matched filter: {filter}"); + return; + } + + let total: usize = test_cases.iter().map(|(_, c)| c.test_names().len()).sum(); + eprintln!("Running {total} test(s) matching '{filter}'"); + let results = Cases { test_cases }.run(); + assert_tests_pass("filtered", suite_path, &results); + } + /// Load and run each contained test case for the provided sub-folder. /// /// # Note @@ -41,6 +71,7 @@ pub trait Suite { // Find all files with the ".json" extension in the test suite directory let test_cases = find_all_files_with_extension(&suite_path, ".json") .into_iter() + .filter(|path| !self.should_skip(path)) .map(|test_case_path| { let case = Self::Case::load(&test_case_path).expect("test case should load"); (test_case_path, case) diff --git a/testing/ef-tests/tests/tests.rs b/testing/ef-tests/tests/tests.rs index 5a73d31..6e853c7 100644 --- a/testing/ef-tests/tests/tests.rs +++ b/testing/ef-tests/tests/tests.rs @@ -4,86 +4,6 @@ use ef_tests::{cases::blockchain_test::BlockchainTests, suite::Suite}; use std::path::PathBuf; -macro_rules! general_state_test { - ($test_name:ident, $dir:ident) => { - #[test] - fn $test_name() { - reth_tracing::init_test_tracing(); - let suite_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")) - .join("ethereum-tests") - .join("BlockchainTests"); - - BlockchainTests::new(suite_path) - .run_only(&format!("GeneralStateTests/{}", stringify!($dir))); - } - }; -} - -mod general_state_tests { - use super::*; - - general_state_test!(shanghai, Shanghai); - general_state_test!(st_args_zero_one_balance, stArgsZeroOneBalance); - general_state_test!(st_attack, stAttackTest); - general_state_test!(st_bad_opcode, stBadOpcode); - general_state_test!(st_bugs, stBugs); - general_state_test!(st_call_codes, stCallCodes); - general_state_test!(st_call_create_call_code, stCallCreateCallCodeTest); - general_state_test!( - st_call_delegate_codes_call_code_homestead, - stCallDelegateCodesCallCodeHomestead - ); - general_state_test!(st_call_delegate_codes_homestead, stCallDelegateCodesHomestead); - general_state_test!(st_chain_id, stChainId); - general_state_test!(st_code_copy_test, stCodeCopyTest); - general_state_test!(st_code_size_limit, stCodeSizeLimit); - general_state_test!(st_create2, stCreate2); - general_state_test!(st_create, stCreateTest); - general_state_test!(st_delegate_call_test_homestead, stDelegatecallTestHomestead); - general_state_test!(st_eip150_gas_prices, stEIP150singleCodeGasPrices); - general_state_test!(st_eip150, stEIP150Specific); - general_state_test!(st_eip158, stEIP158Specific); - general_state_test!(st_eip1559, stEIP1559); - general_state_test!(st_eip2930, stEIP2930); - general_state_test!(st_eip3607, stEIP3607); - general_state_test!(st_example, stExample); - general_state_test!(st_ext_codehash, stExtCodeHash); - general_state_test!(st_homestead, stHomesteadSpecific); - general_state_test!(st_init_code, stInitCodeTest); - general_state_test!(st_log, stLogTests); - general_state_test!(st_mem_expanding_eip150_calls, stMemExpandingEIP150Calls); - general_state_test!(st_memory_stress, stMemoryStressTest); - general_state_test!(st_memory, stMemoryTest); - general_state_test!(st_non_zero_calls, stNonZeroCallsTest); - general_state_test!(st_precompiles, stPreCompiledContracts); - general_state_test!(st_precompiles2, stPreCompiledContracts2); - general_state_test!(st_quadratic_complexity, stQuadraticComplexityTest); - general_state_test!(st_random, stRandom); - general_state_test!(st_random2, stRandom2); - general_state_test!(st_recursive_create, stRecursiveCreate); - general_state_test!(st_refund, stRefundTest); - general_state_test!(st_return, stReturnDataTest); - general_state_test!(st_revert, stRevertTest); - general_state_test!(st_self_balance, stSelfBalance); - general_state_test!(st_shift, stShift); - general_state_test!(st_sload, stSLoadTest); - general_state_test!(st_solidity, stSolidityTest); - general_state_test!(st_special, stSpecialTest); - general_state_test!(st_sstore, stSStoreTest); - general_state_test!(st_stack, stStackTests); - general_state_test!(st_static_call, stStaticCall); - general_state_test!(st_static_flag, stStaticFlagEnabled); - general_state_test!(st_system_operations, stSystemOperationsTest); - general_state_test!(st_time_consuming, stTimeConsuming); - general_state_test!(st_transaction, stTransactionTest); - general_state_test!(st_wallet, stWalletTest); - general_state_test!(st_zero_calls_revert, stZeroCallsRevert); - general_state_test!(st_zero_calls, stZeroCallsTest); - general_state_test!(st_zero_knowledge, stZeroKnowledge); - general_state_test!(st_zero_knowledge2, stZeroKnowledge2); - general_state_test!(vm_tests, VMTests); -} - macro_rules! blockchain_test { ($test_name:ident, $dir:ident) => { #[test] @@ -93,7 +13,7 @@ macro_rules! blockchain_test { .join("ethereum-tests") .join("BlockchainTests"); - BlockchainTests::new(suite_path).run_only(stringify!($dir)); + BlockchainTests::new(suite_path, Default::default()).run_only(stringify!($dir)); } }; } @@ -102,15 +22,16 @@ blockchain_test!(valid_blocks, ValidBlocks); blockchain_test!(invalid_blocks, InvalidBlocks); #[test] +#[ignore = "Test failing with official fixtures"] fn eest_fixtures() { reth_tracing::init_test_tracing(); let suite_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")) .join("execution-spec-tests") - .join("blockchain_tests"); + .join("for_amsterdam"); if !suite_path.exists() { return; } - BlockchainTests::new(suite_path).run(); + BlockchainTests::new(suite_path, Default::default()).run(); } diff --git a/testing/stateless-validator/Cargo.toml b/testing/stateless-validator/Cargo.toml deleted file mode 100644 index cb9d848..0000000 --- a/testing/stateless-validator/Cargo.toml +++ /dev/null @@ -1,34 +0,0 @@ -[package] -name = "stateless-validator-tests" -version.workspace = true -edition.workspace = true -rust-version.workspace = true -license.workspace = true -publish = false - -[lints] -workspace = true - -[dependencies] -anyhow.workspace = true -const-hex.workspace = true -flate2.workspace = true -rayon.workspace = true -reqwest.workspace = true -serde = { workspace = true, features = ["derive"] } -serde_json.workspace = true -sha2.workspace = true -tar.workspace = true -tempfile.workspace = true -walkdir.workspace = true - -# alloy -alloy-primitives = { workspace = true, features = ["serde"] } - -# ere -ere-server-client.workspace = true -ere-util-tokio.workspace = true - -# local -stateless-validator-common = { workspace = true, features = ["std"] } -stateless-validator-reth.workspace = true diff --git a/testing/stateless-validator/fixtures/.gitignore b/testing/stateless-validator/fixtures/.gitignore deleted file mode 100644 index 215aa18..0000000 --- a/testing/stateless-validator/fixtures/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -* -!.gitignore -!guest-smoke.json diff --git a/testing/stateless-validator/fixtures/guest-smoke.json b/testing/stateless-validator/fixtures/guest-smoke.json deleted file mode 100644 index d708c6e..0000000 --- a/testing/stateless-validator/fixtures/guest-smoke.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4788.py::test_bal_4788_absent_contract[fork_Amsterdam-blockchain_test]#block0", - "statelessInputBytes": "0x1501100000004703000001000000000000002c00000023030000000000000000000000000000000000000000000000000000000000000000000023030000a5a12380a0a270efcd39e915371f14a06fb9bed3555d310c4441e734c16a66562adc25665018aa1fe0e6bc666dac8fc2697ff9ba063e3feb6885b1d856e6afe0fdf365bf91856be2a1b39e7211d79cb128a5886a56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000e27070000000000000000000000000c000000000000001c0200000700000000000000000000000000000000000000000000000000000000000000b853681047e9f6e7742bea689325518317c27cf695640bdfce2ec08589f691011c0200001c020000000000000000000000000000000000001c0200000000000000000000f8d9de9400000961ef480eb55e80d19ad83579a64c007002c0c480010203c0c0c0de94000064d678505ad48f8ccb093bc65613800e8282c0c480010203c0c0c0de940000bbddc7ce488642fb579f8b00f3a590007251c0c480010203c0c0c0de940000bff46984e3725691fa540a8c7589300d8282c0c480010203c0c0c0f840940000f90827f1c53a10cb7a02335b175320002935e6e580e3e280a0a5a12380a0a270efcd39e915371f14a06fb9bed3555d310c4441e734c16a6656c0c0c0c0da94000f3df6d732807ef1319fb7b8bb8522d0beac02c0c0c0c0c014000000140000001400000014000000140000000c000000d30300000e0c00002400000077000000ca0000001d01000088010000f30100005e020000c902000034030000f851808080808080808080808080a031357c4a138624e300159fc631211a29d8373db4bdf59b80dad6e816593d0bcb8080a0b5790ff14363bee5d40c4a9fd9d6a515fc44683cc4d46666b4d9c775dded101780f85180808080808080808080a064f90fd920c487afce0f7dbe6d9c8fc7a9b93366b10021ad40155aed5d29cdad8080a0f215e6bc9ca85972bc2488943dca80313a019f5eb569cc6ee3dc8c2af68734af808080f85180808080808080a0f831fc03dc86bf674860dd72b4a6d62c4cc677a61171addd17fcca877398467480808080808080a0105bafd3bfbb01dd5f28afe06b314ccf6d5f1bddd1e2135dcc010cb3aedd1d4380f869a02001b9910c37f14bab449440f49a72bd392357c74be0c6873d1c1576285dc4ebb846f8440180a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a090a0b24eb190d6c50f00f6f751dc4c2778658abf3631aceb80586c43f8bd9f2ff869a0206aea581b220579a2b99819299dd32c7c28a420018ecb0bde93af007ad89a31b846f8440180a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a078c6cb5202685228bbcbfb992b1c4e116c7ec5ef11e25b8e92716cfc628ddd60f869a02086c581c7d7b44eecbb92fd9e5867945ec1acdc0ea5bbabda21d17dddf06473b846f8440180a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a00345a365d2f4c5975b9f1599abe0a2ee76b7a3a731bc68781bd04c84e4858f50f869a0209d57be05dd69371c4dd2e871bce6e9f4124236825bb612ee18a45e5675be51b846f8440180a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a06e49e66782037c0555897870e29fa5e552daf4719552131a0abce779daec0a5df869a020a5e2d38531646bec92066002c6f651e563299dc20f8fc84de89d14affb6996b846f8440180a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a01dd29c1e0dbc3ab670d229dbd3438003ec9015c1df9058beeb64ff301b60b98df891a0b6a6f22c2cf6b4b2062fc452b98945f8451deca4ce2ce3f28c3410a8cd6f5fec808080a0aa67a1dbdbf9f311649479ca0871cd274a36fe84de872b4fe94b979a614eefdc80a039e4714d1eb6e1d5b21ca2bffd56333a7cd697596ff64317d1ae21ffd048e6ca808080808080a09b4685892e72ca6514d2edd9db6048b065269ae799df7e330f9f11bb73b7203380808014000000670000005f020000fd030000c70500003373fffffffffffffffffffffffffffffffffffffffe14604657602036036042575f35600143038111604257611fff81430311604257611fff9006545f5260205ff35b5f5ffd5b5f35611fff600143030655003373fffffffffffffffffffffffffffffffffffffffe1460cb5760115f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146101f457600182026001905f5b5f82111560685781019083028483029004916001019190604d565b909390049250505036603814608857366101f457346101f4575f5260205ff35b34106101f457600154600101600155600354806003026004013381556001015f35815560010160203590553360601b5f5260385f601437604c5fa0600101600355005b6003546002548082038060101160df575060105b5f5b8181146101835782810160030260040181604c02815460601b8152601401816001015481526020019060020154807fffffffffffffffffffffffffffffffff00000000000000000000000000000000168252906010019060401c908160381c81600701538160301c81600601538160281c81600501538160201c81600401538160181c81600301538160101c81600201538160081c81600101535360010160e1565b910180921461019557906002556101a0565b90505f6002555f6003555b5f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14156101cd57505f5b6001546002828201116101e25750505f6101e8565b01600290035b5f555f600155604c025ff35b5f5ffd3373fffffffffffffffffffffffffffffffffffffffe1460d35760115f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1461019a57600182026001905f5b5f82111560685781019083028483029004916001019190604d565b9093900492505050366060146088573661019a573461019a575f5260205ff35b341061019a57600154600101600155600354806004026004013381556001015f358155600101602035815560010160403590553360601b5f5260605f60143760745fa0600101600355005b6003546002548082038060021160e7575060025b5f5b8181146101295782810160040260040181607402815460601b815260140181600101548152602001816002015481526020019060030154905260010160e9565b910180921461013b5790600255610146565b90505f6002555f6003555b5f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff141561017357505f5b6001546001828201116101885750505f61018e565b01600190035b5f555f6001556074025ff35b5f5ffd3373fffffffffffffffffffffffffffffffffffffffe1460e1575f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146101c65760015460028111605157506057565b60029003015b601190600182026001905f5b5f821115607e57810190830284830290049160010191906063565b909390049250505036603014609e57366101c657346101c6575f5260205ff35b34106101c657600154600101600155600354806003026004013381556001015f35815560010160203590553360601b5f5260305f60143760445fa0600101600355005b6003546002548082038060101160f5575060105b5f5b81811461012d5782810160030260040181604402815460601b8152601401816001015481526020019060020154905260010160f7565b910180921461013f579060025561014a565b90505f6002555f6003555b36610198575f54600154817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146101865760028282011161018e575b50505f6101ba565b01600290036101ba565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b5f555f6001556044025ff35b5f5ffd3373fffffffffffffffffffffffffffffffffffffffe1461011c575f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146102705760015460088111605257506058565b60089003015b601190600182026001905f5b5f821115607f57810190830284830290049160010191906064565b90939004925050503660b814609f57366102705734610270575f5260205ff35b8034106102705760383567ffffffffffffffff1680633b9aca001161027057633b9aca00029034031061027057600154600101600155600354806006026004015f358155600101602035815560010160403581556001016060358155600101608035815560010160a035905560b85f5f3760b85fa0600101600355005b60035460025480820380604011610131575060405b5f5b8181146101d7578281016006026004018160b8028154815260200181600101548152602001816002015480825260401c67ffffffffffffffff16816010018160381c81600701538160301c81600601538160281c81600501538160201c81600401538160181c81600301538160101c81600201538160081c816001015353602001816003015481526020018160040154815260200190600501549052600101610133565b91018092146101e957906002556101f4565b90505f6002555f6003555b36610242575f54600154817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1461023057600882820111610238575b50505f610264565b0160089003610264565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b5f555f60015560b8025ff35b5f5ffd04000000f90279a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a03f3aed6afee9eddb311bd506b4755503fc6451ad60cdd68aca6dd1e2ccc0df77a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808407270e00808000a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000a0e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934780", - "statelessOutputBytes": "0x9f076b0157c27f61692a6d476c89d73175e75c9ad85a14853a1f1f894da010000101000000000000000115" -} diff --git a/testing/stateless-validator/src/bin/guest-smoke.rs b/testing/stateless-validator/src/bin/guest-smoke.rs deleted file mode 100644 index 24dc9b4..0000000 --- a/testing/stateless-validator/src/bin/guest-smoke.rs +++ /dev/null @@ -1,57 +0,0 @@ -//! Executes a built guest artifact against the release smoke fixture. - -use std::{env, fs, path::PathBuf, time::Duration}; - -use alloy_primitives::Bytes; -use anyhow::{Context, Result, anyhow, ensure}; -use ere_server_client::{Input, reqwest::Client, url::Url, zkVMClient}; -use ere_util_tokio::block_on; -use serde::Deserialize; -use stateless_validator_tests::execution::matches_output; - -const REQUEST_TIMEOUT: Duration = Duration::from_secs(15 * 60); - -#[derive(Debug, Deserialize)] -#[serde(rename_all = "camelCase")] -struct SmokeFixture { - name: String, - stateless_input_bytes: Bytes, - stateless_output_bytes: Bytes, -} - -fn next_path(args: &mut impl Iterator, name: &str) -> Result { - args.next().map(PathBuf::from).ok_or_else(|| anyhow!("missing {name} argument")) -} - -fn main() -> Result<()> { - let mut args = env::args().skip(1); - let zkvm_name = args.next().ok_or_else(|| anyhow!("missing zkVM argument"))?; - let endpoint = args.next().ok_or_else(|| anyhow!("missing server endpoint argument"))?; - let vk_path = next_path(&mut args, "verification key")?; - let fixture_path = next_path(&mut args, "fixture")?; - ensure!(args.next().is_none(), "unexpected extra arguments"); - - let fixture: SmokeFixture = serde_json::from_slice( - &fs::read(&fixture_path) - .with_context(|| format!("failed to read {}", fixture_path.display()))?, - )?; - let expected_vk = - fs::read(&vk_path).with_context(|| format!("failed to read {}", vk_path.display()))?; - let http_client = Client::builder().no_proxy().timeout(REQUEST_TIMEOUT).build()?; - let zkvm = zkVMClient::new(Url::parse(&endpoint)?, http_client, vec![])?; - - ensure!( - block_on(zkvm.program_vk())?.0.as_slice() == expected_vk.as_slice(), - "regenerated program VK differs from {}", - vk_path.display() - ); - let output = - block_on(zkvm.execute(Input::new().with_stdin(fixture.stateless_input_bytes.to_vec())))? - .0 - .to_vec(); - matches_output(output, fixture.stateless_output_bytes.to_vec()) - .with_context(|| format!("{} failed on {zkvm_name}", fixture.name))?; - - println!("{} passed on {zkvm_name}", fixture.name); - Ok(()) -} diff --git a/testing/stateless-validator/src/execution.rs b/testing/stateless-validator/src/execution.rs deleted file mode 100644 index fa75657..0000000 --- a/testing/stateless-validator/src/execution.rs +++ /dev/null @@ -1,80 +0,0 @@ -//! Host-side execution of stateless validator fixtures. - -use std::fmt::{self, Display}; - -use anyhow::{anyhow, bail}; -use rayon::prelude::*; -use stateless_validator_common::{SszDecode, guest::StatelessValidationResult}; - -use crate::fixture::StatelessValidatorFixture; - -/// A fixture whose output differed from the execution-spec result. -#[derive(Debug, Clone)] -pub struct ExecutionFailure { - /// Fixture identifier. - pub name: String, - /// Output mismatch or execution error. - pub error: String, -} - -/// Display wrapper for execution failures. -#[derive(Debug)] -pub struct ExecutionFailures<'a>(pub &'a [ExecutionFailure]); - -impl Display for ExecutionFailures<'_> { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - writeln!(f, "{} execution failures:", self.0.len())?; - for failure in self.0 { - writeln!(f, " - {}", failure.name)?; - writeln!(f, " {}", failure.error)?; - } - Ok(()) - } -} - -/// Executes fixtures through the Reth guest and returns output mismatches. -pub fn run_host_execution( - fixtures: impl IntoIterator, -) -> Vec { - let mut failures = fixtures - .into_iter() - .collect::>() - .into_par_iter() - .filter_map(|fixture| { - let output = stateless_validator_reth::guest::run_stateless_guest( - &fixture.stateless_input_bytes, - ); - matches_output(output, fixture.stateless_output_bytes) - .err() - .map(|error| ExecutionFailure { name: fixture.name, error: error.to_string() }) - }) - .collect::>(); - failures.sort_by(|a, b| a.name.cmp(&b.name)); - failures -} - -/// Validates guest output against the canonical expected bytes, allowing zkVM word padding. -pub fn matches_output(got_bytes: Vec, expected_bytes: Vec) -> anyhow::Result<()> { - let Some(got_bytes) = - got_bytes.split_at_checked(expected_bytes.len()).and_then(|(got_bytes, trailing)| { - trailing.iter().all(|byte| *byte == 0).then_some(got_bytes) - }) - else { - bail!( - "output bytes mismatch, expected {}, got {}", - const_hex::encode_prefixed(expected_bytes), - const_hex::encode_prefixed(got_bytes) - ) - }; - - let got = StatelessValidationResult::from_ssz_bytes(got_bytes) - .map_err(|error| anyhow!("failed to decode guest output: {error:?}"))?; - let expected = StatelessValidationResult::from_ssz_bytes(&expected_bytes) - .map_err(|error| anyhow!("failed to decode fixture output: {error:?}"))?; - - if got == expected { - Ok(()) - } else { - bail!("output mismatch, expected {expected:?}, got {got:?}") - } -} diff --git a/testing/stateless-validator/src/fixture.rs b/testing/stateless-validator/src/fixture.rs deleted file mode 100644 index 77cf986..0000000 --- a/testing/stateless-validator/src/fixture.rs +++ /dev/null @@ -1,153 +0,0 @@ -//! Fixture loading for the stateless validator. - -use std::{ - collections::BTreeMap, - fs, - path::{Path, PathBuf}, - sync::Mutex, -}; - -use alloy_primitives::Bytes; -use rayon::prelude::*; -use serde::Deserialize; -use sha2::{Digest, Sha256}; -use tar::Archive; -use walkdir::{DirEntry, WalkDir}; - -const EEST_FIXTURES_URL: &str = "https://github.com/ethereum/execution-specs/releases/download/tests-zkevm@v21.0.7/fixtures_zkevm.tar.gz"; -const EEST_FIXTURES_SHA256: &str = - "240685d8c50a0b8efbe9f911cd78c34552101124d99fb7add475deb6397a0e56"; - -/// A fixture normalized to canonical schema-prefixed SSZ input and output bytes. -#[derive(Debug, Clone)] -pub struct StatelessValidatorFixture { - /// Human-readable identifier. - pub name: String, - /// Canonical schema-prefixed SSZ input bytes consumed by the guest. - pub stateless_input_bytes: Vec, - /// Expected serialized guest output bytes. - pub stateless_output_bytes: Vec, -} - -/// Execution-spec fixture formats that carry stateless guest inputs. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum FixtureFormat { - /// `blockchain_test` fixtures, with stateless bytes on each RLP block. - BlockchainTest, - /// `blockchain_test_engine` fixtures, with stateless bytes on each engine API payload. - BlockchainTestEngine, -} - -impl FixtureFormat { - /// Directory of this format in the fixture archive. - const fn dir_name(self) -> &'static str { - match self { - Self::BlockchainTest => "blockchain_tests", - Self::BlockchainTestEngine => "blockchain_tests_engine", - } - } -} - -/// Returns all `tests-zkevm@v21.0.7` fixtures of the given format, downloading them on first use. -pub fn eest_fixtures(format: FixtureFormat) -> Vec { - load_fixtures_from_dir(ensure_eest_fixtures().join(format.dir_name()), format) -} - -fn is_json_file(entry: &DirEntry) -> bool { - entry.file_type().is_file() - && entry - .path() - .file_name() - .and_then(|name| name.to_str()) - .is_some_and(|name| name.ends_with(".json")) -} - -fn load_fixtures_from_dir( - dir: impl AsRef, - format: FixtureFormat, -) -> Vec { - let mut fixtures = WalkDir::new(dir) - .into_iter() - .par_bridge() - .filter_map(Result::ok) - .filter(is_json_file) - .flat_map(|entry| load_fixtures_from_file(entry.path(), format)) - .collect::>(); - fixtures.sort_by(|a, b| a.name.cmp(&b.name)); - fixtures -} - -fn load_fixtures_from_file( - path: impl AsRef, - format: FixtureFormat, -) -> Vec { - let bytes = fs::read(path).unwrap(); - let tests: EestFixture = serde_json::from_slice(&bytes).unwrap(); - tests - .into_iter() - .flat_map(|(test_id, test)| { - let (label, blocks) = match format { - FixtureFormat::BlockchainTest => ("block", test.blocks), - FixtureFormat::BlockchainTestEngine => ("payload", test.engine_new_payloads), - }; - blocks.into_iter().enumerate().filter_map(move |(idx, block)| { - let (input, output) = - block.stateless_input_bytes.zip(block.stateless_output_bytes)?; - (!input.is_empty()).then(|| StatelessValidatorFixture { - name: format!("{test_id}#{label}{idx}"), - stateless_input_bytes: input.to_vec(), - stateless_output_bytes: output.to_vec(), - }) - }) - }) - .collect() -} - -fn ensure_eest_fixtures() -> PathBuf { - static LOCK: Mutex<()> = Mutex::new(()); - let _guard = LOCK.lock().unwrap_or_else(|err| err.into_inner()); - - let dir = - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("fixtures").join("eest-tests-zkevm-v21.0.7"); - if !dir.exists() { - download_and_unpack(&dir); - } - dir -} - -fn download_and_unpack(dir: &Path) { - let bytes = reqwest::blocking::get(EEST_FIXTURES_URL) - .unwrap() - .error_for_status() - .unwrap() - .bytes() - .unwrap(); - assert_eq!( - const_hex::encode(Sha256::digest(&bytes)), - EEST_FIXTURES_SHA256, - "fixture archive checksum mismatch" - ); - - fs::create_dir_all(dir.parent().unwrap()).unwrap(); - let tempdir = tempfile::tempdir_in(dir.parent().unwrap()).unwrap(); - Archive::new(flate2::read::GzDecoder::new(&bytes[..])).unpack(tempdir.path()).unwrap(); - fs::rename(tempdir.path().join("fixtures"), dir).unwrap(); -} - -type EestFixture = BTreeMap; - -#[derive(Deserialize)] -#[serde(rename_all = "camelCase")] -struct EestTest { - #[serde(default)] - blocks: Vec, - #[serde(default)] - engine_new_payloads: Vec, -} - -#[derive(Deserialize)] -#[serde(rename_all = "camelCase")] -struct EestBlock { - stateless_input_bytes: Option, - stateless_output_bytes: Option, -} diff --git a/testing/stateless-validator/src/lib.rs b/testing/stateless-validator/src/lib.rs deleted file mode 100644 index 4ef7b9a..0000000 --- a/testing/stateless-validator/src/lib.rs +++ /dev/null @@ -1,4 +0,0 @@ -//! End-to-end tests for the Reth stateless validator guest. - -pub mod execution; -pub mod fixture; diff --git a/testing/stateless-validator/tests/host_execution.rs b/testing/stateless-validator/tests/host_execution.rs deleted file mode 100644 index 8b4a4f1..0000000 --- a/testing/stateless-validator/tests/host_execution.rs +++ /dev/null @@ -1,74 +0,0 @@ -//! Execution-spec fixture tests for the Reth guest on the host. - -use stateless_validator_tests::{ - execution::{ExecutionFailures, run_host_execution}, - fixture::{FixtureFormat, eest_fixtures}, -}; - -/// Tests whose fixtures fail, matched by test name or, where only some cases fail, by test ID. -/// -/// EIP-7685 and EIP-7928 tests fail on upstream alloy-evm and revm bugs: -/// -/// - alloy-evm runs the post-execution system calls before it credits withdrawals, the reverse of -/// EELS `apply_body`. -/// - revm's BAL builder records a change when a value returns to its start-of-index value within -/// one block access index. EELS records no change, or a storage read. -/// - revm's BAL builder drops a change made earlier in a block access index when a later system -/// call in that index touches the account without changing the value. -/// -/// EIP-8025 tests omit code from the witness when the block wrote the same code before reading it, -/// through a CREATE earlier in the transaction or an EIP-7702 delegation earlier in the block. -/// EELS serves such reads from the block's code writes, but the guest reads code only from the -/// witness and rejects the block. -const KNOWN_FAILURES: &[&str] = &[ - // EIP-7685 - "test_withdrawals_credited_before_request_system_call[", - // EIP-7928 - "test_bal_post_execution_calls_net_storage_at_last_index[", - "test_bal_same_index_call_keeps_one_nonce_and_code_change[", - "test_bal_withdrawals_and_dequeues_net_balance_at_last_index[", - // EIP-8025 - "test_witness_codes_create_same_hash_then_read_same_tx[", - "test_witness_codes_delegation_same_marker_cleared_then_read[", - "test_witness_codes_delegation_same_marker_then_read[", - "test_witness_codes_delegation_same_marker_then_read_same_tx[", - "test_witness_codes_delegation_same_marker_tx_outcome[fork_Amsterdam-blockchain_test-outcome_execution_reverts]", - "test_witness_codes_delegation_same_marker_tx_outcome[fork_Amsterdam-blockchain_test-outcome_preparation_exact_gas]", - "test_witness_codes_delegation_same_marker_tx_outcome[fork_Amsterdam-blockchain_test_engine-outcome_execution_reverts]", - "test_witness_codes_delegation_same_marker_tx_outcome[fork_Amsterdam-blockchain_test_engine-outcome_preparation_exact_gas]", -]; - -fn is_known_failure(name: &str) -> bool { - KNOWN_FAILURES.iter().any(|test| name.contains(test)) -} - -fn executes_eest_fixtures(format: FixtureFormat) { - let fixtures = eest_fixtures(format); - assert!(!fixtures.is_empty(), "no {format:?} stateless validator fixtures loaded"); - let known_failures = fixtures.iter().filter(|fixture| is_known_failure(&fixture.name)).count(); - - println!("Executing {} {format:?} stateless validator fixtures", fixtures.len()); - let (known, unexpected): (Vec<_>, Vec<_>) = run_host_execution(fixtures) - .into_iter() - .partition(|failure| is_known_failure(&failure.name)); - assert!( - unexpected.is_empty(), - "stateless validator fixture failures:\n{}", - ExecutionFailures(&unexpected), - ); - assert_eq!( - known.len(), - known_failures, - "known failures now pass, remove them from KNOWN_FAILURES" - ); -} - -#[test] -fn executes_eest_blockchain_test_fixtures() { - executes_eest_fixtures(FixtureFormat::BlockchainTest); -} - -#[test] -fn executes_eest_blockchain_test_engine_fixtures() { - executes_eest_fixtures(FixtureFormat::BlockchainTestEngine); -}