From f8dc124ed6d93923ee9a0300571f35bc668a2c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 11:34:49 -0300 Subject: [PATCH 01/14] fix prover args and test CI --- .github/workflows/daily_reports.yml | 61 +++++++++++++++-------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 2877527..93f6665 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -3,10 +3,11 @@ permissions: name: Daily Reports on: - schedule: - # Every day at UTC 03:00 - - cron: "0 3 * * 1,2,3,4,5" - workflow_dispatch: + push: + branches: ["main"] + merge_group: + pull_request: + branches: ["**"] jobs: sdk-integration-test: @@ -48,7 +49,7 @@ jobs: - name: Start Prover run: | - ethrex l2 prover --proof-coordinator http://localhost:3900 & + ethrex l2 prover --proof-coordinators http://localhost:3900 & - name: Run tests run: | @@ -96,7 +97,7 @@ jobs: - name: Start Prover run: | - ethrex l2 prover --proof-coordinator http://localhost:3900 & + ethrex l2 prover --proof-coordinators http://localhost:3900 & - name: Run tests run: | @@ -105,27 +106,27 @@ jobs: cd cli PROPOSER_COINBASE_ADDRESS=0x0007a881CD95B1484fca47615B64803dad620C8d cargo test --package rex --test tests -- --nocapture --test-threads=1 - post-daily-report: - name: Post report to slack - runs-on: ubuntu-latest - needs: [sdk-integration-test, cli-integration-test] - if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Check if any job failed - env: - SLACK_WEBHOOK: > - ${{ github.event_name == 'workflow_dispatch' - && secrets.TEST_CHANNEL_SLACK - || secrets.ETHREX_L2_SLACK_WEBHOOK - }} - run: | - if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then - sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." - fi - if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then - sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." - fi - echo "Sending Results" >> $GITHUB_STEP_SUMMARY + # post-daily-report: + # name: Post report to slack + # runs-on: ubuntu-latest + # needs: [sdk-integration-test, cli-integration-test] + # if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} + # steps: + # - name: Checkout sources + # uses: actions/checkout@v4 + + # - name: Check if any job failed + # env: + # SLACK_WEBHOOK: > + # ${{ github.event_name == 'workflow_dispatch' + # && secrets.TEST_CHANNEL_SLACK + # || secrets.ETHREX_L2_SLACK_WEBHOOK + # }} + # run: | + # if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then + # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." + # fi + # if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then + # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." + # fi + # echo "Sending Results" >> $GITHUB_STEP_SUMMARY From c0af2d1fa99be88c5ea6cfb88116beff133dfd7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 12:08:38 -0300 Subject: [PATCH 02/14] fix default address --- sdk/tests/tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/tests/tests.rs b/sdk/tests/tests.rs index 537fdab..5ad0351 100644 --- a/sdk/tests/tests.rs +++ b/sdk/tests/tests.rs @@ -43,15 +43,15 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x2f399259586dba0fe48baa63257138d0fecf9c60 +// 0x0498b8a7c93f0f29d3e343ad49bd294a6cbf4c25 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x2f, 0x39, 0x92, 0x59, 0x58, 0x6d, 0xba, 0x0f, 0xe4, 0x8b, 0xaa, 0x63, 0x25, 0x71, 0x38, 0xd0, - 0xfe, 0xcf, 0x9c, 0x60, + 0x04, 0x98, 0xb8, 0xa7, 0xc9, 0x3f, 0x0f, 0x29, 0xd3, 0xe3, 0x43, 0xad, 0x49, 0xbd, 0x29, 0x4a, + 0x6c, 0xbf, 0x4c, 0x25, ]); -// 0x1c6b4013fd21444d8184d8dc107200dd6d78fc75 +// 0xbd164e38ab39b581736b937163dd05bf4ef5fe86 const DEFAULT_ON_CHAIN_PROPOSER_ADDRESS: Address = H160([ - 0x1c, 0x6b, 0x40, 0x13, 0xfd, 0x21, 0x44, 0x4d, 0x81, 0x84, 0xd8, 0xdc, 0x10, 0x72, 0x00, 0xdd, - 0x6d, 0x78, 0xfc, 0x75, + 0xbd, 0x16, 0x4e, 0x38, 0xab, 0x39, 0xb5, 0x81, 0x73, 0x6b, 0x93, 0x71, 0x63, 0xdd, 0x05, 0xbf, + 0x4e, 0xf5, 0xfe, 0x86, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ From be222b7922386a32a4efbeaf7a8c643ae499c3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 13:41:26 -0300 Subject: [PATCH 03/14] check for status --- .github/workflows/daily_reports.yml | 7 +++++++ .github/workflows/pr_main.yml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 93f6665..486912a 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -47,6 +47,9 @@ jobs: echo "ProofCoordinator not ready in time" exit 1 + - name: See status + run: | + curl -X GET http://localhost:5555/health | jq - name: Start Prover run: | ethrex l2 prover --proof-coordinators http://localhost:3900 & @@ -95,6 +98,10 @@ jobs: echo "ProofCoordinator not ready in time" exit 1 + - name: See status + run: | + curl -X GET http://localhost:5555/health | jq + - name: Start Prover run: | ethrex l2 prover --proof-coordinators http://localhost:3900 & diff --git a/.github/workflows/pr_main.yml b/.github/workflows/pr_main.yml index 624ede7..4cae9a3 100644 --- a/.github/workflows/pr_main.yml +++ b/.github/workflows/pr_main.yml @@ -53,6 +53,10 @@ jobs: echo "ProofCoordinator not ready in time" exit 1 + - name: See status + run: | + curl -X GET http://localhost:5555/health | jq + - name: Start Prover run: | ethrex l2 prover --proof-coordinator http://localhost:3900 & @@ -99,6 +103,10 @@ jobs: echo "Service not ready in time" exit 1 + - name: See status + run: | + curl -X GET http://localhost:5555/health | jq + - name: Start Prover run: | ethrex l2 prover --proof-coordinator http://localhost:3900 & From 311272afd27ff306be122ff9b99cbeeb14b26978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 13:46:20 -0300 Subject: [PATCH 04/14] fix default address again --- cli/tests/tests.rs | 6 +++--- sdk/tests/tests.rs | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cli/tests/tests.rs b/cli/tests/tests.rs index 04cc83a..8686c83 100644 --- a/cli/tests/tests.rs +++ b/cli/tests/tests.rs @@ -20,10 +20,10 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x2f399259586dba0fe48baa63257138d0fecf9c60 +// 0x5e4430a9d73d5e769bd6b587efbcb302ba757207 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x2f, 0x39, 0x92, 0x59, 0x58, 0x6d, 0xba, 0x0f, 0xe4, 0x8b, 0xaa, 0x63, 0x25, 0x71, 0x38, 0xd0, - 0xfe, 0xcf, 0x9c, 0x60, + 0x5e, 0x44, 0x30, 0xa9, 0xd7, 0x3d, 0x5e, 0x76, 0x9b, 0xd6, 0xb5, 0x87, 0xef, 0xbc, 0xb3, 0x02, + 0xba, 0x75, 0x72, 0x07, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ diff --git a/sdk/tests/tests.rs b/sdk/tests/tests.rs index 5ad0351..e5bddd7 100644 --- a/sdk/tests/tests.rs +++ b/sdk/tests/tests.rs @@ -43,15 +43,15 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x0498b8a7c93f0f29d3e343ad49bd294a6cbf4c25 +// 0x5e4430a9d73d5e769bd6b587efbcb302ba757207 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x04, 0x98, 0xb8, 0xa7, 0xc9, 0x3f, 0x0f, 0x29, 0xd3, 0xe3, 0x43, 0xad, 0x49, 0xbd, 0x29, 0x4a, - 0x6c, 0xbf, 0x4c, 0x25, + 0x5e, 0x44, 0x30, 0xa9, 0xd7, 0x3d, 0x5e, 0x76, 0x9b, 0xd6, 0xb5, 0x87, 0xef, 0xbc, 0xb3, 0x02, + 0xba, 0x75, 0x72, 0x07, ]); -// 0xbd164e38ab39b581736b937163dd05bf4ef5fe86 +// 0xc938950821702fff4f27a7103867192b38e11c90 const DEFAULT_ON_CHAIN_PROPOSER_ADDRESS: Address = H160([ - 0xbd, 0x16, 0x4e, 0x38, 0xab, 0x39, 0xb5, 0x81, 0x73, 0x6b, 0x93, 0x71, 0x63, 0xdd, 0x05, 0xbf, - 0x4e, 0xf5, 0xfe, 0x86, + 0xc9, 0x38, 0x95, 0x08, 0x21, 0x70, 0x2f, 0xff, 0x4f, 0x27, 0xa7, 0x10, 0x38, 0x67, 0x19, 0x2b, + 0x38, 0xe1, 0x1c, 0x90, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ From c4330a6d7ce269ad24c9ef0392cd5c89bacfcd2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 14:17:13 -0300 Subject: [PATCH 05/14] bump ethrex tag --- Cargo.lock | 1991 ++++++--------------- Cargo.toml | 14 +- cli/src/cli.rs | 50 +- cli/src/commands/l2.rs | 25 +- cli/tests/tests.rs | 2 +- sdk/examples/simple_usage.rs | 3 +- sdk/src/client/eth/mod.rs | 98 +- sdk/src/l2/deposit.rs | 66 +- sdk/src/l2/privileged_transaction_data.rs | 47 +- sdk/src/l2/withdraw.rs | 116 +- sdk/src/sdk.rs | 52 +- sdk/tests/tests.rs | 18 +- 12 files changed, 729 insertions(+), 1753 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72661a3..54a718c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -15,9 +15,9 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] @@ -34,7 +34,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "cipher", "cpufeatures", ] @@ -45,7 +45,7 @@ version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "once_cell", "version_check", "zerocopy", @@ -66,304 +66,11 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" -[[package]] -name = "alloy-consensus" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e32ef5c74bbeb1733c37f4ac7f866f8c8af208b7b4265e21af609dcac5bd5e" -dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-trie", - "auto_impl", - "c-kzg", - "derive_more 1.0.0", - "serde", -] - -[[package]] -name = "alloy-consensus-any" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa13b7b1e1e3fedc42f0728103bfa3b4d566d3d42b606db449504d88dbdbdcf" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-eip2124" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "675264c957689f0fd75f5993a73123c2cc3b5c235a38f5b9037fe6c826bfb2c0" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "crc", - "thiserror 2.0.12", -] - -[[package]] -name = "alloy-eip2930" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0069cf0642457f87a01a014f6dc29d5d893cd4fd8fddf0c3cdfad1bb3ebafc41" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "serde", -] - -[[package]] -name = "alloy-eip7702" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b15b13d38b366d01e818fe8e710d4d702ef7499eacd44926a06171dd9585d0c" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "k256", - "serde", - "thiserror 2.0.12", -] - -[[package]] -name = "alloy-eips" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5591581ca2ab0b3e7226a4047f9a1bfcf431da1d0cce3752fda609fea3c27e37" -dependencies = [ - "alloy-eip2124", - "alloy-eip2930", - "alloy-eip7702", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "auto_impl", - "c-kzg", - "derive_more 1.0.0", - "once_cell", - "serde", - "sha2", -] - -[[package]] -name = "alloy-json-abi" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe6beff64ad0aa6ad1019a3db26fef565aefeb011736150ab73ed3366c3cfd1b" -dependencies = [ - "alloy-primitives", - "alloy-sol-type-parser", - "serde", - "serde_json", -] - -[[package]] -name = "alloy-network-primitives" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a00ce618ae2f78369918be0c20f620336381502c83b6ed62c2f7b2db27698b0" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-serde", - "serde", -] - -[[package]] -name = "alloy-primitives" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c77490fe91a0ce933a1f219029521f20fc28c2c0ca95d53fa4da9c00b8d9d4e" -dependencies = [ - "alloy-rlp", - "bytes", - "cfg-if 1.0.1", - "const-hex", - "derive_more 2.0.1", - "foldhash", - "hashbrown", - "indexmap", - "itoa", - "k256", - "keccak-asm", - "paste", - "proptest", - "rand 0.8.5", - "ruint", - "rustc-hash", - "serde", - "sha3", - "tiny-keccak", -] - -[[package]] -name = "alloy-rlp" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f70d83b765fdc080dbcd4f4db70d8d23fe4761f2f02ebfa9146b833900634b4" -dependencies = [ - "alloy-rlp-derive", - "arrayvec", - "bytes", -] - -[[package]] -name = "alloy-rlp-derive" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64b728d511962dda67c1bc7ea7c03736ec275ed2cf4c35d9585298ac9ccf3b73" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", -] - -[[package]] -name = "alloy-rpc-types-eth" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b4dbee4d82f8a22dde18c28257bed759afeae7ba73da4a1479a039fd1445d04" -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 2.0.12", -] - -[[package]] -name = "alloy-rpc-types-trace" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd951155515fa452a2ca4b5434d4b3ab742bcd3d1d1b9a91704bcef5b8d2604" -dependencies = [ - "alloy-primitives", - "alloy-rpc-types-eth", - "alloy-serde", - "serde", - "serde_json", - "thiserror 2.0.12", -] - -[[package]] -name = "alloy-serde" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8732058f5ca28c1d53d241e8504620b997ef670315d7c8afab856b3e3b80d945" -dependencies = [ - "alloy-primitives", - "serde", - "serde_json", -] - -[[package]] -name = "alloy-sol-macro" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e10ae8e9a91d328ae954c22542415303919aabe976fe7a92eb06db1b68fd59f2" -dependencies = [ - "alloy-sol-macro-expander", - "alloy-sol-macro-input", - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.104", -] - -[[package]] -name = "alloy-sol-macro-expander" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83ad5da86c127751bc607c174d6c9fe9b85ef0889a9ca0c641735d77d4f98f26" -dependencies = [ - "alloy-sol-macro-input", - "const-hex", - "heck", - "indexmap", - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.104", - "syn-solidity", - "tiny-keccak", -] - -[[package]] -name = "alloy-sol-macro-input" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3d30f0d3f9ba3b7686f3ff1de9ee312647aac705604417a2f40c604f409a9e" -dependencies = [ - "const-hex", - "dunce", - "heck", - "macro-string", - "proc-macro2", - "quote", - "syn 2.0.104", - "syn-solidity", -] - -[[package]] -name = "alloy-sol-type-parser" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d162f8524adfdfb0e4bd0505c734c985f3e2474eb022af32eef0d52a4f3935c" -dependencies = [ - "serde", - "winnow", -] - -[[package]] -name = "alloy-sol-types" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43d5e60466a440230c07761aa67671d4719d46f43be8ea6e7ed334d8db4a9ab" -dependencies = [ - "alloy-json-abi", - "alloy-primitives", - "alloy-sol-macro", - "const-hex", - "serde", -] - -[[package]] -name = "alloy-trie" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95a94854e420f07e962f7807485856cde359ab99ab6413883e15235ad996e8b" -dependencies = [ - "alloy-primitives", - "alloy-rlp", - "arrayvec", - "derive_more 1.0.0", - "nybbles", - "serde", - "smallvec", - "tracing", -] - [[package]] name = "anstream" -version = "0.6.19" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" +checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" dependencies = [ "anstyle", "anstyle-parse", @@ -376,9 +83,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" @@ -391,29 +98,29 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" +checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.9" +version = "3.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" +checksum = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" [[package]] name = "ark-bn254" @@ -422,8 +129,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" dependencies = [ "ark-ec", - "ark-ff 0.5.0", - "ark-std 0.5.0", + "ark-ff", + "ark-std", ] [[package]] @@ -433,13 +140,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" dependencies = [ "ahash", - "ark-ff 0.5.0", + "ark-ff", "ark-poly", - "ark-serialize 0.5.0", - "ark-std 0.5.0", + "ark-serialize", + "ark-std", "educe", "fnv", - "hashbrown", + "hashbrown 0.15.5", "itertools 0.13.0", "num-bigint 0.4.6", "num-integer", @@ -447,56 +154,18 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ark-ff" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" -dependencies = [ - "ark-ff-asm 0.3.0", - "ark-ff-macros 0.3.0", - "ark-serialize 0.3.0", - "ark-std 0.3.0", - "derivative", - "num-bigint 0.4.6", - "num-traits", - "paste", - "rustc_version 0.3.3", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" -dependencies = [ - "ark-ff-asm 0.4.2", - "ark-ff-macros 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "derivative", - "digest 0.10.7", - "itertools 0.10.5", - "num-bigint 0.4.6", - "num-traits", - "paste", - "rustc_version 0.4.1", - "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", + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", "arrayvec", - "digest 0.10.7", + "digest", "educe", "itertools 0.13.0", "num-bigint 0.4.6", @@ -505,26 +174,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ark-ff-asm" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-asm" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" -dependencies = [ - "quote", - "syn 1.0.109", -] - [[package]] name = "ark-ff-asm" version = "0.5.0" @@ -532,32 +181,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" dependencies = [ "quote", - "syn 2.0.104", -] - -[[package]] -name = "ark-ff-macros" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" -dependencies = [ - "num-bigint 0.4.6", - "num-traits", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" -dependencies = [ - "num-bigint 0.4.6", - "num-traits", - "proc-macro2", - "quote", - "syn 1.0.109", + "syn 2.0.106", ] [[package]] @@ -570,7 +194,7 @@ dependencies = [ "num-traits", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -580,33 +204,12 @@ 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", + "ark-ff", + "ark-serialize", + "ark-std", "educe", "fnv", - "hashbrown", -] - -[[package]] -name = "ark-serialize" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" -dependencies = [ - "ark-std 0.3.0", - "digest 0.9.0", -] - -[[package]] -name = "ark-serialize" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" -dependencies = [ - "ark-std 0.4.0", - "digest 0.10.7", - "num-bigint 0.4.6", + "hashbrown 0.15.5", ] [[package]] @@ -616,9 +219,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" dependencies = [ "ark-serialize-derive", - "ark-std 0.5.0", + "ark-std", "arrayvec", - "digest 0.10.7", + "digest", "num-bigint 0.4.6", ] @@ -630,27 +233,7 @@ checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "ark-std" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "ark-std" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" -dependencies = [ - "num-traits", - "rand 0.8.5", + "syn 2.0.106", ] [[package]] @@ -674,19 +257,16 @@ name = "arrayvec" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" -dependencies = [ - "serde", -] [[package]] name = "async-trait" -version = "0.1.88" +version = "0.1.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -695,27 +275,6 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" -[[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.104", -] - [[package]] name = "autocfg" version = "1.5.0" @@ -724,9 +283,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "axum" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021e862c184ae977658b36c4500f7feac3221ca5da43e3f25bd04ab6c79a29b5" +checksum = "8a18ed336352031311f4e0b4dd2ff392d4fbb370777c9d18d7fc9d7359f73871" dependencies = [ "axum-core", "bytes", @@ -743,8 +302,7 @@ dependencies = [ "mime", "percent-encoding", "pin-project-lite", - "rustversion", - "serde", + "serde_core", "serde_json", "serde_path_to_error", "serde_urlencoded", @@ -758,9 +316,9 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.5.2" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68464cd0412f486726fb3373129ef5d2993f90c34bc2bc1c1e9943b2f4fc7ca6" +checksum = "59446ce19cd142f8833f856eb31f3eb097812d1479ab224f54d72428ca21ea22" dependencies = [ "bytes", "futures-core", @@ -769,7 +327,6 @@ dependencies = [ "http-body-util", "mime", "pin-project-lite", - "rustversion", "sync_wrapper", "tower-layer", "tower-service", @@ -778,9 +335,9 @@ dependencies = [ [[package]] name = "axum-extra" -version = "0.10.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45bf463831f5131b7d3c756525b305d40f1185b688565648a92e1392ca35713d" +checksum = "9963ff19f40c6102c76756ef0a46004c0d58957d87259fc9208ff8441c12ab96" dependencies = [ "axum", "axum-core", @@ -793,25 +350,25 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "serde", - "tower", + "serde_core", "tower-layer", "tower-service", + "tracing", ] [[package]] name = "backtrace" -version = "0.3.75" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.0", ] [[package]] @@ -858,12 +415,9 @@ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" [[package]] name = "bitflags" -version = "2.9.1" +version = "2.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" -dependencies = [ - "serde", -] +checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" [[package]] name = "bitvec" @@ -873,7 +427,6 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", - "serde", "tap", "wyz", ] @@ -887,7 +440,7 @@ dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "constant_time_eq", ] @@ -905,7 +458,7 @@ name = "bls12_381" version = "0.8.0" source = "git+https://github.com/lambdaclass/bls12_381?branch=expose-fp-struct#219174187bd78154cec35b0809799fc2c991a579" dependencies = [ - "digest 0.10.7", + "digest", "ff", "group", "pairing", @@ -915,9 +468,9 @@ dependencies = [ [[package]] name = "blst" -version = "0.3.15" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fd49896f12ac9b6dcd7a5998466b9b58263a695a3dd1ecc1aaca2e12a90b080" +checksum = "dcdb4c7013139a150f9fc55d123186dbfaba0d912817466282c73ac49e71fb45" dependencies = [ "cc", "glob", @@ -939,9 +492,9 @@ checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" [[package]] name = "bytecheck" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50690fb3370fb9fe3550372746084c46f2ac8c9685c583d2be10eefd89d3d1a3" +checksum = "0caa33a2c0edca0419d15ac723dff03f1956f7978329b1e3b5fdaaaed9d3ca8b" dependencies = [ "bytecheck_derive", "ptr_meta", @@ -951,13 +504,13 @@ dependencies = [ [[package]] name = "bytecheck_derive" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb7846e0cb180355c2dec69e721edafa36919850f1a9f52ffba4ebc0393cb71" +checksum = "89385e82b5d1821d2219e0b095efa2cc1f246cbf99080f3be46a1a85c0d392d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -998,16 +551,17 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.10" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da45bc31171d8d6960122e222a67740df867c1dd53b4d51caa297084c185cab" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" [[package]] name = "cc" -version = "1.2.29" +version = "1.2.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362" +checksum = "e1354349954c6fc9cb0deab020f27f783cf0b604e8bb754dc4658ecf0d29c35f" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -1019,9 +573,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268" +checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" [[package]] name = "cipher" @@ -1035,9 +589,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.41" +version = "4.5.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be92d32e80243a54711e5d7ce823c35c41c9d929dc4ab58e1276f625841aadf9" +checksum = "e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae" dependencies = [ "clap_builder", "clap_derive", @@ -1045,9 +599,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.41" +version = "4.5.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707eab41e9622f9139419d573eca0900137718000c517d47da73045f54331c3d" +checksum = "c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9" dependencies = [ "anstream", "anstyle", @@ -1057,23 +611,23 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.5.55" +version = "4.5.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5abde44486daf70c5be8b8f8f1b66c49f86236edf6fa2abadb4d961c4c6229a" +checksum = "75bf0b32ad2e152de789bb635ea4d3078f6b838ad7974143e99b99f45a04af4a" dependencies = [ "clap", ] [[package]] name = "clap_derive" -version = "4.5.41" +version = "4.5.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef4f52386a59ca4c860f7393bcf8abd8dfd91ecccc0f774635ff68e92eeef491" +checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -1113,7 +667,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d72c1252426a83be2092dd5884a5f6e3b8e7180f6891b6263d2c21b92ec8816" dependencies = [ - "digest 0.10.7", + "digest", ] [[package]] @@ -1129,19 +683,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "const-hex" -version = "1.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e22e0ed40b96a48d3db274f72fd365bd78f67af39b6bbd47e8a15e1c6207ff" -dependencies = [ - "cfg-if 1.0.1", - "cpufeatures", - "hex", - "proptest", - "serde", -] - [[package]] name = "const-oid" version = "0.9.6" @@ -1208,28 +749,13 @@ dependencies = [ "libc", ] -[[package]] -name = "crc" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" - [[package]] name = "crc32fast" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", ] [[package]] @@ -1391,40 +917,20 @@ dependencies = [ [[package]] name = "deranged" -version = "0.4.0" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" dependencies = [ "powerfmt", ] -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive_more" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" dependencies = [ - "derive_more-impl 1.0.0", -] - -[[package]] -name = "derive_more" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678" -dependencies = [ - "derive_more-impl 2.0.1", + "derive_more-impl", ] [[package]] @@ -1436,19 +942,7 @@ dependencies = [ "convert_case", "proc-macro2", "quote", - "syn 2.0.104", - "unicode-xid", -] - -[[package]] -name = "derive_more-impl" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", + "syn 2.0.106", "unicode-xid", ] @@ -1461,17 +955,8 @@ dependencies = [ "console", "shell-words", "tempfile", - "thiserror 1.0.69", - "zeroize", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", + "thiserror 1.0.69", + "zeroize", ] [[package]] @@ -1504,7 +989,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -1515,20 +1000,14 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] -[[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.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "ecdsa" @@ -1537,7 +1016,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ "der", - "digest 0.10.7", + "digest", "elliptic-curve", "rfc6979", "signature", @@ -1553,7 +1032,7 @@ dependencies = [ "enum-ordinalize", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -1570,7 +1049,7 @@ checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ "base16ct", "crypto-bigint", - "digest 0.10.7", + "digest", "ff", "generic-array", "group", @@ -1594,7 +1073,7 @@ version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", ] [[package]] @@ -1614,18 +1093,7 @@ checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "enumn" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -1645,12 +1113,12 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -1667,7 +1135,7 @@ checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab" dependencies = [ "aes", "ctr", - "digest 0.10.7", + "digest", "hex", "hmac", "pbkdf2", @@ -1704,17 +1172,17 @@ dependencies = [ "fixed-hash", "impl-rlp", "impl-serde", - "primitive-types 0.13.1", - "uint 0.10.0", + "primitive-types", + "uint", ] [[package]] name = "ethrex-blockchain" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "bytes", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "ethrex-common", "ethrex-metrics", "ethrex-rlp", @@ -1722,7 +1190,7 @@ dependencies = [ "ethrex-vm", "secp256k1", "sha3", - "thiserror 2.0.12", + "thiserror 2.0.17", "tokio", "tokio-util", "tracing", @@ -1730,8 +1198,8 @@ dependencies = [ [[package]] name = "ethrex-common" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "bytes", "c-kzg", @@ -1751,7 +1219,7 @@ dependencies = [ "serde_json", "sha2", "sha3", - "thiserror 2.0.12", + "thiserror 2.0.17", "tinyvec", "tracing", "url", @@ -1759,13 +1227,13 @@ dependencies = [ [[package]] name = "ethrex-crypto" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" [[package]] name = "ethrex-l2-common" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "bytes", "ethereum-types", @@ -1776,16 +1244,16 @@ dependencies = [ "ethrex-vm", "keccak-hash", "lambdaworks-crypto", - "lazy_static", + "secp256k1", "serde", "sha3", - "thiserror 2.0.12", + "thiserror 2.0.17", ] [[package]] name = "ethrex-l2-rpc" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "axum", "bytes", @@ -1805,25 +1273,26 @@ dependencies = [ "secp256k1", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.17", "tokio", "tower-http", "tracing", + "tracing-subscriber", "url", ] [[package]] name = "ethrex-levm" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "ark-bn254", "ark-ec", - "ark-ff 0.5.0", + "ark-ff", "bls12_381", "bytes", "datatest-stable", - "derive_more 1.0.0", + "derive_more", "ethrex-common", "ethrex-crypto", "ethrex-rlp", @@ -1840,28 +1309,29 @@ dependencies = [ "sha2", "sha3", "strum", - "thiserror 2.0.12", + "thiserror 2.0.17", "walkdir", ] [[package]] name = "ethrex-metrics" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "ethrex-common", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing-subscriber", ] [[package]] name = "ethrex-p2p" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "aes", + "async-trait", "bytes", "concat-kdf", "ctr", @@ -1877,7 +1347,9 @@ dependencies = [ "hmac", "keccak-hash", "lazy_static", + "prometheus", "rand 0.8.5", + "rayon", "secp256k1", "serde", "serde_json", @@ -1886,7 +1358,7 @@ dependencies = [ "snap", "spawned-concurrency", "spawned-rt", - "thiserror 2.0.12", + "thiserror 2.0.17", "tokio", "tokio-stream", "tokio-util", @@ -1895,27 +1367,27 @@ dependencies = [ [[package]] name = "ethrex-rlp" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "bytes", "ethereum-types", "hex", "lazy_static", "snap", - "thiserror 2.0.12", + "thiserror 2.0.17", "tinyvec", ] [[package]] name = "ethrex-rpc" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "axum", "axum-extra", "bytes", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "envy", "ethereum-types", "ethrex-blockchain", @@ -1935,18 +1407,19 @@ dependencies = [ "serde_json", "sha2", "sha3", - "thiserror 2.0.12", + "thiserror 2.0.17", "tokio", "tokio-util", "tower-http", "tracing", "tracing-subscriber", + "uuid 1.18.1", ] [[package]] name = "ethrex-sdk" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "bytes", "ethereum-types", @@ -1965,24 +1438,24 @@ dependencies = [ "secp256k1", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.17", "tokio", "tracing", ] [[package]] name = "ethrex-sdk-contract-utils" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", ] [[package]] name = "ethrex-storage" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "anyhow", "async-trait", @@ -1996,14 +1469,14 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", ] [[package]] name = "ethrex-storage-rollup" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "anyhow", "async-trait", @@ -2015,18 +1488,18 @@ dependencies = [ "ethrex-storage", "ethrex-trie", "futures", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", ] [[package]] name = "ethrex-trie" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "anyhow", "bytes", - "digest 0.10.7", + "digest", "ethereum-types", "ethrex-rlp", "hex", @@ -2035,19 +1508,19 @@ dependencies = [ "serde_json", "sha3", "smallvec", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", ] [[package]] name = "ethrex-vm" -version = "0.1.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.0.4-alpha#5dfb043809bfde94b927325fe69a505d7762a1f5" +version = "0.2.0-rc.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" dependencies = [ "bincode", "bytes", - "cfg-if 1.0.1", - "derive_more 1.0.0", + "cfg-if 1.0.3", + "derive_more", "dyn-clone", "ethereum-types", "ethrex-common", @@ -2056,12 +1529,10 @@ dependencies = [ "ethrex-trie", "hex", "lazy_static", - "revm", - "revm-inspectors", - "revm-primitives", + "rkyv", "serde", "sha3", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", ] @@ -2082,8 +1553,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298" dependencies = [ "bit-set", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", + "regex-automata", + "regex-syntax", ] [[package]] @@ -2092,28 +1563,6 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" -[[package]] -name = "fastrlp" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" -dependencies = [ - "arrayvec", - "auto_impl", - "bytes", -] - -[[package]] -name = "fastrlp" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce8dba4714ef14b8274c371879b175aa55b16b30f269663f19d576f380018dc4" -dependencies = [ - "arrayvec", - "auto_impl", - "bytes", -] - [[package]] name = "ff" version = "0.13.1" @@ -2142,6 +1591,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959" + [[package]] name = "fixed-hash" version = "0.8.0" @@ -2183,9 +1638,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -2252,7 +1707,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -2308,7 +1763,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "js-sys", "libc", "wasi 0.11.1+wasi-snapshot-preview1", @@ -2321,23 +1776,23 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "libc", "r-efi", - "wasi 0.14.2+wasi-0.2.4", + "wasi 0.14.7+wasi-0.2.4", ] [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "group" @@ -2352,9 +1807,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17da50a276f1e01e0ba6c029e47b7100754904ee8a278f886546e98575380785" +checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386" dependencies = [ "atomic-waker", "bytes", @@ -2371,15 +1826,20 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.4" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "allocator-api2", "foldhash", - "serde", ] +[[package]] +name = "hashbrown" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" + [[package]] name = "headers" version = "0.4.1" @@ -2421,9 +1881,6 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] [[package]] name = "hmac" @@ -2431,7 +1888,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.7", + "digest", ] [[package]] @@ -2482,13 +1939,14 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "h2", "http", "http-body", @@ -2496,6 +1954,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -2535,9 +1994,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.15" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f66d5bd4c6f02bf0542fad85d626775bab9258cf795a4256dcaf3161114d1df" +checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8" dependencies = [ "base64", "bytes", @@ -2647,9 +2106,9 @@ dependencies = [ [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -2666,15 +2125,6 @@ dependencies = [ "icu_properties", ] -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec", -] - [[package]] name = "impl-codec" version = "0.7.1" @@ -2690,7 +2140,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54ed8ad1f3877f7e775b8cbf30ed1bd3209a95401817f19a0eb4402d13f8cf90" dependencies = [ - "rlp 0.6.1", + "rlp", ] [[package]] @@ -2710,24 +2160,23 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] name = "indenter" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" +checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" [[package]] name = "indexmap" -version = "2.10.0" +version = "2.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" +checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5" dependencies = [ "equivalent", - "hashbrown", - "serde", + "hashbrown 0.16.0", ] [[package]] @@ -2741,12 +2190,12 @@ dependencies = [ [[package]] name = "io-uring" -version = "0.7.8" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013" +checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b" dependencies = [ "bitflags", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "libc", ] @@ -2772,15 +2221,6 @@ version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.1" @@ -2816,9 +2256,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305" dependencies = [ "once_cell", "wasm-bindgen", @@ -2845,7 +2285,7 @@ version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "ecdsa", "elliptic-curve", "once_cell", @@ -2862,23 +2302,13 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "keccak-asm" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505d1856a39b200489082f90d897c3f07c455563880bc5952e38eabf731c83b6" -dependencies = [ - "digest 0.10.7", - "sha3-asm", -] - [[package]] name = "keccak-hash" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264" dependencies = [ - "primitive-types 0.13.1", + "primitive-types", "tiny-keccak", ] @@ -2924,15 +2354,12 @@ 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.174" +version = "0.2.176" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" +checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174" [[package]] name = "libm" @@ -2942,9 +2369,9 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libredox" -version = "0.1.4" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1580801010e535496706ba011c15f8532df6b42297d2e471fec38ceadd8c0638" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ "bitflags", "libc", @@ -2964,9 +2391,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.9.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" @@ -2986,20 +2413,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" - -[[package]] -name = "macro-string" -version = "0.1.4" +version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b27834086c65ec3f9387b096d66e99f221cf081c2b738042aa252bcd41204e3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", -] +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" [[package]] name = "malachite" @@ -3018,7 +2434,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c738d3789301e957a8f7519318fcbb1b92bb95863b28f6938ae5a05be6259f34" dependencies = [ - "hashbrown", + "hashbrown 0.15.5", "itertools 0.14.0", "libm", "ryu", @@ -3049,11 +2465,11 @@ dependencies = [ [[package]] name = "matchers" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" dependencies = [ - "regex-automata 0.1.10", + "regex-automata", ] [[package]] @@ -3070,9 +2486,9 @@ checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" -version = "2.7.5" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memoffset" @@ -3111,22 +2527,22 @@ dependencies = [ [[package]] name = "munge" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7feb0b48aa0a25f9fe0899482c6e1379ee7a11b24a53073eacdecb9adb6dc60" +checksum = "5e17401f259eba956ca16491461b6e8f72913a0a114e39736ce404410f915a0c" dependencies = [ "munge_macro", ] [[package]] name = "munge_macro" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2e3795a5d2da581a8b252fec6022eee01aea10161a4d1bf237d4cbe47f7e988" +checksum = "4568f25ccbd45ab5d5603dc34318c1ec56b117531781260002151b8530a9f931" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -3148,26 +2564,11 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - -[[package]] -name = "num" -version = "0.4.3" +version = "0.50.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" dependencies = [ - "num-bigint 0.4.6", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", + "windows-sys 0.52.0", ] [[package]] @@ -3191,15 +2592,6 @@ dependencies = [ "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.1.0" @@ -3215,28 +2607,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-iter" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" -dependencies = [ - "autocfg", - "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.6", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.19" @@ -3244,7 +2614,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -3257,22 +2626,11 @@ dependencies = [ "libc", ] -[[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]] name = "object" -version = "0.36.7" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] @@ -3296,7 +2654,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" dependencies = [ "bitflags", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "foreign-types", "libc", "once_cell", @@ -3312,7 +2670,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -3339,12 +2697,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - [[package]] name = "p256" version = "0.13.2" @@ -3503,7 +2855,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -3522,7 +2874,7 @@ version = "0.9.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "libc", "redox_syscall", "smallvec", @@ -3541,7 +2893,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.7", + "digest", ] [[package]] @@ -3565,20 +2917,9 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pest" -version = "2.8.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1db05f56d34358a8b1066f67cbb203ee3e7ed2ba674a6263a1d5ec6db2204323" -dependencies = [ - "memchr", - "thiserror 2.0.12", - "ucd-trie", -] +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pin-project-lite" @@ -3610,9 +2951,9 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "potential_utf" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" +checksum = "84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a" dependencies = [ "zerovec", ] @@ -3641,17 +2982,6 @@ dependencies = [ "elliptic-curve", ] -[[package]] -name = "primitive-types" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" -dependencies = [ - "fixed-hash", - "impl-codec 0.6.0", - "uint 0.9.5", -] - [[package]] name = "primitive-types" version = "0.13.1" @@ -3659,103 +2989,90 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" dependencies = [ "fixed-hash", - "impl-codec 0.7.1", + "impl-codec", "impl-rlp", "impl-serde", - "uint 0.10.0", + "uint", ] [[package]] name = "proc-macro-crate" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" dependencies = [ - "toml_edit", + "toml_edit 0.23.6", ] [[package]] -name = "proc-macro-error-attr2" -version = "2.0.0" +name = "proc-macro2" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" dependencies = [ - "proc-macro2", - "quote", + "unicode-ident", ] [[package]] -name = "proc-macro-error2" -version = "2.0.1" +name = "prometheus" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +checksum = "3ca5326d8d0b950a9acd87e6a3f94745394f62e4dae1b1ee22b2bc0c394af43a" dependencies = [ - "proc-macro-error-attr2", - "proc-macro2", - "quote", - "syn 2.0.104", + "cfg-if 1.0.3", + "fnv", + "lazy_static", + "memchr", + "parking_lot", + "protobuf", + "thiserror 2.0.17", ] [[package]] -name = "proc-macro2" -version = "1.0.95" +name = "protobuf" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "d65a1d4ddae7d8b5de68153b48f6aa3bba8cb002b243dbdbc55a5afbc98f99f4" dependencies = [ - "unicode-ident", + "once_cell", + "protobuf-support", + "thiserror 1.0.69", ] [[package]] -name = "proptest" -version = "1.7.0" +name = "protobuf-support" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fcdab19deb5195a31cf7726a210015ff1496ba1464fd42cb4f537b8b01b471f" +checksum = "3e36c2f31e0a47f9280fb347ef5e461ffcd2c52dd520d8e216b52f93b0b0d7d6" dependencies = [ - "bit-set", - "bit-vec", - "bitflags", - "lazy_static", - "num-traits", - "rand 0.9.1", - "rand_chacha 0.9.0", - "rand_xorshift", - "regex-syntax 0.8.5", - "rusty-fork", - "tempfile", - "unarray", + "thiserror 1.0.69", ] [[package]] name = "ptr_meta" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90" +checksum = "0b9a0cf95a1196af61d4f1cbdab967179516d9a4a4312af1f31948f8f6224a79" dependencies = [ "ptr_meta_derive", ] [[package]] name = "ptr_meta_derive" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" +checksum = "7347867d0a7e1208d93b46767be83e2b8f978c3dad35f775ac8d8847551d6fe1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quote" -version = "1.0.40" +version = "1.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1" dependencies = [ "proc-macro2", ] @@ -3774,9 +3091,9 @@ checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" [[package]] name = "rancor" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf5f7161924b9d1cea0e4cabc97c372cea92b5f927fc13c6bca67157a0ad947" +checksum = "a063ea72381527c2a0561da9c80000ef822bdd7c3241b1cc1b12100e3df081ee" dependencies = [ "ptr_meta", ] @@ -3790,14 +3107,13 @@ dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.4", - "serde", ] [[package]] name = "rand" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.3", @@ -3841,20 +3157,11 @@ dependencies = [ "getrandom 0.3.3", ] -[[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.3", -] - [[package]] name = "rayon" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" dependencies = [ "either", "rayon-core", @@ -3862,9 +3169,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" dependencies = [ "crossbeam-deque 0.8.6", "crossbeam-utils 0.8.21", @@ -3872,82 +3179,55 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.13" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d04b7d0ee6b4a0207a0a7adb104d23ecb0b47d6beae7152d0fa34b692b29fd6" +checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" dependencies = [ "bitflags", ] [[package]] name = "redox_users" -version = "0.5.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.16", "libredox", - "thiserror 2.0.12", -] - -[[package]] -name = "regex" -version = "1.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", + "thiserror 2.0.17", ] [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.5", + "regex-syntax", ] [[package]] name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" [[package]] name = "rend" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a35e8a6bf28cd121053a66aa2e6a2e3eaffad4a60012179f0e864aa5ffeff215" +checksum = "cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce33fa60f1d68a276e6" dependencies = [ "bytecheck", ] [[package]] name = "reqwest" -version = "0.12.22" +version = "0.12.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc931937e6ca3a06e3b6c0aa7841849b160a90351d6ab467a8b9b9959767531" +checksum = "d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb" dependencies = [ "base64", "bytes", @@ -3983,87 +3263,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "revm" -version = "19.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c175ecec83bba464aa8406502fe5bf670491c2ace81a153264891d43bc7fa332" -dependencies = [ - "auto_impl", - "cfg-if 1.0.1", - "dyn-clone", - "revm-interpreter", - "revm-precompile", - "serde", - "serde_json", -] - -[[package]] -name = "revm-inspectors" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d87cdf1c0d878b48423f8a86232950657abaf72a2d0d14af609467542313b1a" -dependencies = [ - "alloy-primitives", - "alloy-rpc-types-eth", - "alloy-rpc-types-trace", - "alloy-sol-types", - "anstyle", - "colorchoice", - "revm", - "serde", - "serde_json", - "thiserror 2.0.12", -] - -[[package]] -name = "revm-interpreter" -version = "15.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcab7ef2064057acfc84731205f4bc77f4ec1b35630800b26ff6a185731c5ab" -dependencies = [ - "revm-primitives", - "serde", -] - -[[package]] -name = "revm-precompile" -version = "16.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99743c3a2cac341084cc15ac74286c4bf34a0941ebf60aa420cfdb9f81f72f9f" -dependencies = [ - "aurora-engine-modexp", - "c-kzg", - "cfg-if 1.0.1", - "k256", - "once_cell", - "revm-primitives", - "ripemd", - "secp256k1", - "sha2", - "substrate-bn", -] - -[[package]] -name = "revm-primitives" -version = "15.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f987564210317706def498421dfba2ae1af64a8edce82c6102758b48133fcb" -dependencies = [ - "alloy-eip2930", - "alloy-eip7702", - "alloy-primitives", - "auto_impl", - "bitflags", - "bitvec", - "c-kzg", - "cfg-if 1.0.1", - "dyn-clone", - "enumn", - "hex", - "serde", -] - [[package]] name = "rex" version = "0.1.0" @@ -4084,7 +3283,7 @@ dependencies = [ "hex", "itertools 0.14.0", "keccak-hash", - "rand 0.9.1", + "rand 0.9.2", "rayon", "rex-sdk", "secp256k1", @@ -4123,7 +3322,7 @@ dependencies = [ "secp256k1", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.17", "tokio", "toml", ] @@ -4145,7 +3344,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "getrandom 0.2.16", "libc", "untrusted", @@ -4158,18 +3357,18 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" dependencies = [ - "digest 0.10.7", + "digest", ] [[package]] name = "rkyv" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19f5c3e5da784cd8c69d32cdc84673f3204536ca56e1fa01be31a74b92c932ac" +checksum = "35a640b26f007713818e9a9b65d34da1cf58538207b052916a83d80e43f3ffa4" dependencies = [ "bytecheck", "bytes", - "hashbrown", + "hashbrown 0.15.5", "indexmap", "munge", "ptr_meta", @@ -4177,28 +3376,18 @@ dependencies = [ "rend", "rkyv_derive", "tinyvec", - "uuid 1.18.0", + "uuid 1.18.1", ] [[package]] name = "rkyv_derive" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4270433626cffc9c4c1d3707dd681f2a2718d3d7b09ad754bec137acecda8d22" +checksum = "bd83f5f173ff41e00337d97f6572e416d022ef8a19f371817259ae960324c482" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "rlp" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" -dependencies = [ - "bytes", - "rustc-hex", + "syn 2.0.106", ] [[package]] @@ -4211,50 +3400,11 @@ dependencies = [ "rustc-hex", ] -[[package]] -name = "ruint" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11256b5fe8c68f56ac6f39ef0720e592f33d2367a4782740d9c9142e889c7fb4" -dependencies = [ - "alloy-rlp", - "ark-ff 0.3.0", - "ark-ff 0.4.2", - "bytes", - "fastrlp 0.3.1", - "fastrlp 0.4.0", - "num-bigint 0.4.6", - "num-integer", - "num-traits", - "parity-scale-codec", - "primitive-types 0.12.2", - "proptest", - "rand 0.8.5", - "rand 0.9.1", - "rlp 0.5.2", - "ruint-macro", - "serde", - "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-demangle" -version = "0.1.25" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f" - -[[package]] -name = "rustc-hash" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hex" @@ -4262,42 +3412,24 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" -[[package]] -name = "rustc_version" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" -dependencies = [ - "semver 0.11.0", -] - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver 1.0.26", -] - [[package]] name = "rustix" -version = "1.0.8" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ "bitflags", "errno", "libc", "linux-raw-sys", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] name = "rustls" -version = "0.23.29" +version = "0.23.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2491382039b29b9b11ff08b76ff6c97cf287671dbb74f0be44bda389fffe9bd1" +checksum = "cd3c25631629d034ce7cd9940adc9d45762d46de2b0f57193c4443b92c6d4d40" dependencies = [ "once_cell", "rustls-pki-types", @@ -4317,9 +3449,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.4" +version = "0.103.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc" +checksum = "8572f3c2cb9934231157b45499fc41e1f58c589fdfb81a844ba873265e80f8eb" dependencies = [ "ring", "rustls-pki-types", @@ -4328,21 +3460,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d" - -[[package]] -name = "rusty-fork" -version = "0.3.0" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error", - "tempfile", - "wait-timeout", -] +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" @@ -4379,11 +3499,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.1", ] [[package]] @@ -4452,44 +3572,21 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" dependencies = [ "core-foundation-sys", "libc", ] -[[package]] -name = "semver" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" - -[[package]] -name = "semver-parser" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" -dependencies = [ - "pest", -] - [[package]] name = "serde" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ + "serde_core", "serde_derive", ] @@ -4502,38 +3599,48 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] name = "serde_json" -version = "1.0.140" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ - "indexmap", "itoa", "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_path_to_error" -version = "0.1.17" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59fab13f937fa393d08645bf3a84bdfe86e296747b506ada67bb15f10f218b2a" +checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" dependencies = [ "itoa", "serde", + "serde_core", ] [[package]] @@ -4563,9 +3670,9 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "cpufeatures", - "digest 0.10.7", + "digest", ] [[package]] @@ -4574,9 +3681,9 @@ version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "cpufeatures", - "digest 0.10.7", + "digest", ] [[package]] @@ -4585,20 +3692,10 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.7", + "digest", "keccak", ] -[[package]] -name = "sha3-asm" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28efc5e327c837aa837c59eae585fc250715ef939ac32881bcc11677cd02d46" -dependencies = [ - "cc", - "cfg-if 1.0.1", -] - [[package]] name = "sharded-slab" version = "0.1.7" @@ -4622,9 +3719,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.5" +version = "1.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" +checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" dependencies = [ "libc", ] @@ -4635,7 +3732,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ - "digest 0.10.7", + "digest", "rand_core 0.6.4", ] @@ -4653,24 +3750,21 @@ checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb" dependencies = [ "num-bigint 0.4.6", "num-traits", - "thiserror 2.0.12", + "thiserror 2.0.17", "time", ] [[package]] name = "slab" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" -dependencies = [ - "serde", -] [[package]] name = "snap" @@ -4680,19 +3774,19 @@ checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "socket2" -version = "0.5.10" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" +checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "sp1-lib" -version = "5.0.8" +version = "5.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbb6e3d8741c0fcdaa37e74d2dd9a2bdcbf958d192e438eec59e8071e08124c" +checksum = "0e1fe81b6f87134f9170cb642f948ae41e0ee1cd3785e0cb665add5b67106d1a" dependencies = [ "bincode", "serde", @@ -4701,13 +3795,13 @@ dependencies = [ [[package]] name = "sp1-primitives" -version = "5.0.8" +version = "5.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d2be9803acce74985f8861b6d5eb375ad1c5f176a68c2c735755937248f25e" +checksum = "dddd8d022840c1c500e0d7f82e9b9cf080b7dabd469f06b394010e6a594f692b" dependencies = [ "bincode", "blake3", - "cfg-if 1.0.1", + "cfg-if 1.0.3", "hex", "lazy_static", "num-bigint 0.4.6", @@ -4725,7 +3819,7 @@ version = "0.8.0-sp1-5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac255e1704ebcdeec5e02f6a0ebc4d2e9e6b802161938330b6810c13a610c583" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "ff", "group", "pairing", @@ -4736,21 +3830,21 @@ dependencies = [ [[package]] name = "spawned-concurrency" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0807232f6f44b0352bcef6218f34e0be66b97486f63fe3e075bc23fbfc146b90" +checksum = "92e46fce4cdece99f2f07c125e902629ee25e4487d80cae6e3d6e891d5906b00" dependencies = [ "futures", "spawned-rt", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", ] [[package]] name = "spawned-rt" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31ef7a19f49a842b84dcdde52d88eabbe28f48a2b9a4669180fe17a556c2dc1" +checksum = "76347472cc448d47dbf9f67541fde19dbb054793e8e0546ce8917bfb695e1b56" dependencies = [ "crossbeam", "tokio", @@ -4807,9 +3901,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.27.1" +version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" +checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" dependencies = [ "strum_macros", ] @@ -4823,20 +3917,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "substrate-bn" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b5bbfa79abbae15dd642ea8176a21a635ff3c00059961d1ea27ad04e5b441c" -dependencies = [ - "byteorder", - "crunchy", - "lazy_static", - "rand 0.8.5", - "rustc-hex", + "syn 2.0.106", ] [[package]] @@ -4858,27 +3939,15 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.104" +version = "2.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" +checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] -[[package]] -name = "syn-solidity" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4560533fbd6914b94a8fb5cc803ed6801c3455668db3b810702c57612bac9412" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn 2.0.104", -] - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -4896,7 +3965,7 @@ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -4928,15 +3997,15 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tempfile" -version = "3.20.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand", "getrandom 0.3.3", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.1", ] [[package]] @@ -4950,11 +4019,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.17", ] [[package]] @@ -4965,18 +4034,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -4985,7 +4054,7 @@ version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", ] [[package]] @@ -4999,9 +4068,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.41" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -5014,15 +4083,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.4" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.22" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", @@ -5049,9 +4118,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -5064,9 +4133,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.46.1" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc3a2344dafbe23a245241fe8b09735b521110d30fcefbbd5feb1797ca35d17" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", "bytes", @@ -5079,7 +4148,7 @@ dependencies = [ "slab", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -5090,7 +4159,7 @@ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -5105,9 +4174,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -5127,15 +4196,14 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" dependencies = [ "bytes", "futures-core", "futures-sink", "futures-util", - "hashbrown", "pin-project-lite", "tokio", ] @@ -5148,8 +4216,8 @@ checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" dependencies = [ "serde", "serde_spanned", - "toml_datetime", - "toml_edit", + "toml_datetime 0.6.11", + "toml_edit 0.22.27", ] [[package]] @@ -5161,6 +4229,15 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32f1085dec27c2b6632b04c80b3bb1b4300d6495d1e129693bdda7d91e72eec1" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" version = "0.22.27" @@ -5170,11 +4247,32 @@ dependencies = [ "indexmap", "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.11", "toml_write", "winnow", ] +[[package]] +name = "toml_edit" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3effe7c0e86fdff4f69cdd2ccc1b96f933e24811c5441d44904e8683e27184b" +dependencies = [ + "indexmap", + "toml_datetime 0.7.2", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cf893c33be71572e0e9aa6dd15e6677937abd686b066eac3f8cd3531688a627" +dependencies = [ + "winnow", +] + [[package]] name = "toml_write" version = "0.1.2" @@ -5247,7 +4345,7 @@ checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -5273,14 +4371,14 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.19" +version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" +checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5" dependencies = [ "matchers", "nu-ansi-term", "once_cell", - "regex", + "regex-automata", "sharded-slab", "smallvec", "thread_local", @@ -5301,24 +4399,6 @@ version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" -[[package]] -name = "ucd-trie" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" - -[[package]] -name = "uint" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - [[package]] name = "uint" version = "0.10.0" @@ -5331,17 +4411,11 @@ dependencies = [ "static_assertions", ] -[[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.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" [[package]] name = "unicode-segmentation" @@ -5369,9 +4443,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -5403,10 +4477,11 @@ dependencies = [ [[package]] name = "uuid" -version = "1.18.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ + "getrandom 0.3.3", "js-sys", "wasm-bindgen", ] @@ -5429,15 +4504,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" -[[package]] -name = "wait-timeout" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] - [[package]] name = "walkdir" version = "2.5.0" @@ -5465,46 +4531,56 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasi" -version = "0.14.2+wasi-0.2.4" +version = "0.14.7+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c" +dependencies = [ + "wasip2", +] + +[[package]] +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "wit-bindgen-rt", + "wit-bindgen", ] [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "once_cell", "rustversion", "wasm-bindgen-macro", + "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" +checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19" dependencies = [ "bumpalo", "log", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "7e038d41e478cc73bae0ff9b36c60cff1c98b8f38f8d7e8061e79ee63608ac5c" dependencies = [ - "cfg-if 1.0.1", + "cfg-if 1.0.3", "js-sys", "once_cell", "wasm-bindgen", @@ -5513,9 +4589,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5523,31 +4599,31 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1" dependencies = [ "unicode-ident", ] [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "9367c417a924a74cae129e6a2ae3b47fabb1f8995595ab474029da749a8be120" dependencies = [ "js-sys", "wasm-bindgen", @@ -5563,42 +4639,26 @@ dependencies = [ "safe_arch", ] -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.1", ] [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "windows-link" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" [[package]] name = "windows-link" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" [[package]] name = "windows-registry" @@ -5606,7 +4666,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e" dependencies = [ - "windows-link", + "windows-link 0.1.3", "windows-result", "windows-strings", ] @@ -5617,7 +4677,7 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -5626,7 +4686,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -5653,7 +4713,16 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.2", + "windows-targets 0.53.4", +] + +[[package]] +name = "windows-sys" +version = "0.61.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f" +dependencies = [ + "windows-link 0.2.0", ] [[package]] @@ -5674,10 +4743,11 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.2" +version = "0.53.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef" +checksum = "2d42b7b7f66d2a06854650af09cfdf8713e427a439c97ad65a6375318033ac4b" dependencies = [ + "windows-link 0.2.0", "windows_aarch64_gnullvm 0.53.0", "windows_aarch64_msvc 0.53.0", "windows_i686_gnu 0.53.0", @@ -5786,21 +4856,18 @@ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" [[package]] name = "winnow" -version = "0.7.12" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95" +checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf" dependencies = [ "memchr", ] [[package]] -name = "wit-bindgen-rt" -version = "0.39.0" +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" -dependencies = [ - "bitflags", -] +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" @@ -5837,28 +4904,28 @@ checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", "synstructure", ] [[package]] name = "zerocopy" -version = "0.8.26" +version = "0.8.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f" +checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.26" +version = "0.8.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181" +checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -5878,15 +4945,15 @@ checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", "synstructure", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" dependencies = [ "zeroize_derive", ] @@ -5899,7 +4966,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] [[package]] @@ -5915,9 +4982,9 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" +checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b" dependencies = [ "yoke", "zerofrom", @@ -5932,5 +4999,5 @@ checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.106", ] diff --git a/Cargo.toml b/Cargo.toml index aad990c..50b2e58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,13 +29,13 @@ manual_saturating_arithmetic = "warn" rex-cli = { path = "cli" } rex-sdk = { path = "sdk" } -ethrex-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-common", tag = "v0.0.4-alpha" } -ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-blockchain", tag = "v0.0.4-alpha" } -ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rlp", tag = "v0.0.4-alpha" } -ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rpc", tag = "v0.0.4-alpha" } -ethrex-l2-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-rpc", tag = "v0.0.4-alpha" } -ethrex-sdk = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-sdk", tag = "v0.0.4-alpha" } -ethrex-l2-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-common", tag = "v0.0.4-alpha" } +ethrex-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-common", tag = "v0.2.0-rc.1" } +ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-blockchain", tag = "v0.2.0-rc.1" } +ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rlp", tag = "v0.2.0-rc.1" } +ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rpc", tag = "v0.2.0-rc.1" } +ethrex-l2-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-rpc", tag = "v0.2.0-rc.1" } +ethrex-sdk = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-sdk", tag = "v0.2.0-rc.1" } +ethrex-l2-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-common", tag = "v0.2.0-rc.1" } keccak-hash = "0.11.0" thiserror = "2.0.11" diff --git a/cli/src/cli.rs b/cli/src/cli.rs index 297a269..11e0501 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -9,13 +9,13 @@ use clap::{ArgAction, Parser, Subcommand}; use ethrex_common::types::TxType; use ethrex_common::{Address, Bytes, H256, H520}; use ethrex_l2_common::calldata::Value; -use ethrex_l2_rpc::clients::send_generic_transaction; +use ethrex_l2_common::utils::get_address_from_secret_key; use ethrex_l2_rpc::signer::{LocalSigner, Signer}; use ethrex_rpc::EthClient; use ethrex_rpc::clients::Overrides; -use ethrex_rpc::clients::eth::get_address_from_secret_key; use ethrex_rpc::types::block_identifier::{BlockIdentifier, BlockTag}; use ethrex_sdk::calldata::decode_calldata; +use ethrex_sdk::{build_generic_tx, send_generic_transaction}; use keccak_hash::keccak; use rex_sdk::client::eth::get_token_balance; use rex_sdk::create::{ @@ -398,7 +398,7 @@ impl Command { random, } => { let address = if let Some(private_key) = from_private_key { - get_address_from_secret_key(&private_key)? + get_address_from_secret_key(&private_key).map_err(|e| eyre::eyre!(e))? } else if zero { Address::zero() } else if random { @@ -443,7 +443,8 @@ impl Command { todo!("Display transaction URL in the explorer") } - let from = get_address_from_secret_key(&args.private_key)?; + let from = + get_address_from_secret_key(&args.private_key).map_err(|e| eyre::eyre!(e))?; let client = EthClient::new(&rpc_url)?; @@ -461,7 +462,8 @@ impl Command { todo!("Display transaction URL in the explorer") } - let from = get_address_from_secret_key(&args.private_key)?; + let from = + get_address_from_secret_key(&args.private_key).map_err(|e| eyre::eyre!(e))?; let client = EthClient::new(&rpc_url)?; @@ -471,30 +473,30 @@ impl Command { parse_func_call(args._args)? }; - let tx = client - .build_generic_tx( - TxType::EIP1559, - args.to, - from, - calldata, - Overrides { - value: Some(args.value), - chain_id: args.chain_id, - nonce: args.nonce, - gas_limit: args.gas_limit, - max_fee_per_gas: args.max_fee_per_gas, - max_priority_fee_per_gas: args.max_priority_fee_per_gas, - from: Some(from), - ..Default::default() - }, - ) - .await?; + let tx = build_generic_tx( + &client, + TxType::EIP1559, + args.to, + from, + calldata, + Overrides { + value: Some(args.value), + chain_id: args.chain_id, + nonce: args.nonce, + gas_limit: args.gas_limit, + max_fee_per_gas: args.max_fee_per_gas, + max_priority_fee_per_gas: args.max_priority_fee_per_gas, + from: Some(from), + ..Default::default() + }, + ) + .await?; let signer = Signer::Local(LocalSigner::new(args.private_key)); let tx_hash = send_generic_transaction(&client, tx, &signer).await?; - println!("{tx_hash:#x}",); + println!("{tx_hash:#x}"); if !args.cast { wait_for_transaction_receipt(tx_hash, &client, 100, args.silent).await?; diff --git a/cli/src/commands/l2.rs b/cli/src/commands/l2.rs index 79c2e22..dde30a6 100644 --- a/cli/src/commands/l2.rs +++ b/cli/src/commands/l2.rs @@ -5,8 +5,9 @@ use crate::{ }; use clap::Subcommand; use ethrex_common::{Address, H256, U256}; +use ethrex_l2_common::utils::get_address_from_secret_key; use ethrex_rpc::EthClient; -use ethrex_sdk::get_address_from_secret_key; +use ethrex_sdk::wait_for_message_proof; use rex_sdk::{ l2::{ deposit::{deposit_erc20, deposit_through_contract_call}, @@ -291,7 +292,9 @@ impl Command { bridge_address, } => { let eth_client = EthClient::new(&l1_rpc_url)?; - let to = to.unwrap_or(get_address_from_secret_key(&private_key)?); + let to = to.unwrap_or( + get_address_from_secret_key(&private_key).map_err(|e| eyre::eyre!(e))?, + ); if explorer_url { todo!("Display transaction URL in the explorer") } @@ -301,7 +304,8 @@ impl Command { let token_l2 = token_l2.expect( "Token address on L2 is required if token address on L1 is specified", ); - let from = get_address_from_secret_key(&private_key)?; + let from = + get_address_from_secret_key(&private_key).map_err(|e| eyre::eyre!(e))?; println!( "Depositing {amount} from {from:#x} to L2 token {token_l2:#x} using L1 token {token_l1:#x}" ); @@ -345,15 +349,14 @@ impl Command { rpc_url, bridge_address, } => { - let from = get_address_from_secret_key(&private_key)?; + let from = get_address_from_secret_key(&private_key).map_err(|e| eyre::eyre!(e))?; let eth_client = EthClient::new(&l1_rpc_url)?; let rollup_client = EthClient::new(&rpc_url)?; - let message_proof = rollup_client - .wait_for_message_proof(l2_withdrawal_tx_hash, 100) - .await?; + let message_proof = + wait_for_message_proof(&rollup_client, l2_withdrawal_tx_hash, 100).await?; let withdrawal_proof = message_proof.into_iter().next().ok_or(eyre::eyre!( "No withdrawal proof found for transaction {l2_withdrawal_tx_hash:#x}" @@ -402,7 +405,7 @@ impl Command { private_key, rpc_url, } => { - let from = get_address_from_secret_key(&private_key)?; + let from = get_address_from_secret_key(&private_key).map_err(|e| eyre::eyre!(e))?; let client = EthClient::new(&rpc_url)?; @@ -431,13 +434,13 @@ impl Command { } => { let client = EthClient::new(&rpc_url)?; - let message_proof = client.get_message_proof(message_tx_hash).await?; - let Some(proof) = message_proof else { + let message_proof = wait_for_message_proof(&client, message_tx_hash, 100).await?; + if message_proof.is_empty() { println!("No message proof found for transaction {message_tx_hash:#x}"); return Ok(()); }; - let proof = proof.into_iter().next().expect("proof not found"); + let proof = message_proof.into_iter().next().expect("proof not found"); println!("{:?}", proof.merkle_proof); } diff --git a/cli/tests/tests.rs b/cli/tests/tests.rs index 8686c83..f433039 100644 --- a/cli/tests/tests.rs +++ b/cli/tests/tests.rs @@ -1,5 +1,5 @@ use ethrex_common::{Address, H160, H256, U256}; -use rex_sdk::client::eth::get_address_from_secret_key; +use ethrex_l2_common::utils::get_address_from_secret_key; use secp256k1::SecretKey; use std::process::Command; use std::str::FromStr; diff --git a/sdk/examples/simple_usage.rs b/sdk/examples/simple_usage.rs index 3d0ae00..5b3f160 100644 --- a/sdk/examples/simple_usage.rs +++ b/sdk/examples/simple_usage.rs @@ -1,11 +1,12 @@ use clap::Parser; use ethrex_common::{Address, Bytes, U256}; +use ethrex_l2_common::utils::get_address_from_secret_key; use ethrex_rpc::{ EthClient, types::block_identifier::{BlockIdentifier, BlockTag}, }; use hex::FromHexError; -use rex_sdk::{client::eth::get_address_from_secret_key, transfer, wait_for_transaction_receipt}; +use rex_sdk::{transfer, wait_for_transaction_receipt}; use secp256k1::SecretKey; use std::str::FromStr; diff --git a/sdk/src/client/eth/mod.rs b/sdk/src/client/eth/mod.rs index d050ffa..a0bbe75 100644 --- a/sdk/src/client/eth/mod.rs +++ b/sdk/src/client/eth/mod.rs @@ -1,10 +1,5 @@ use ethrex_common::{Address, U256}; -use ethrex_rpc::{ - EthClient, - clients::{EthClientError, Overrides}, -}; -use keccak_hash::{H256, keccak}; -use secp256k1::SecretKey; +use ethrex_rpc::{EthClient, clients::EthClientError}; // 0x70a08231 == balanceOf(address) pub const BALANCE_OF_SELECTOR: [u8; 4] = [0x70, 0xa0, 0x82, 0x31]; @@ -31,94 +26,3 @@ pub async fn get_token_balance( EthClientError::Custom(format!("Address {token_address} did not return a uint256")) }) } - -pub async fn get_pending_deposit_logs( - eth_client: &EthClient, - common_bridge_address: Address, -) -> Result, EthClientError> { - let response = _generic_call( - eth_client, - b"getPendingDepositLogs()", - common_bridge_address, - ) - .await?; - from_hex_string_to_h256_array(&response) -} - -async fn _generic_call( - client: &EthClient, - selector: &[u8], - contract_address: Address, -) -> Result { - let selector = keccak(selector) - .as_bytes() - .get(..4) - .ok_or(EthClientError::Custom("Failed to get selector.".to_owned()))? - .to_vec(); - - let mut calldata = Vec::new(); - calldata.extend_from_slice(&selector); - - let leading_zeros = 32 - ((calldata.len() - 4) % 32); - calldata.extend(vec![0; leading_zeros]); - - let hex_string = client - .call(contract_address, calldata.into(), Overrides::default()) - .await?; - - Ok(hex_string) -} - -pub fn from_hex_string_to_h256_array(hex_string: &str) -> Result, EthClientError> { - let bytes = hex::decode(hex_string.strip_prefix("0x").unwrap_or(hex_string)) - .map_err(|_| EthClientError::Custom("Invalid hex string".to_owned()))?; - - // The ABI encoding for dynamic arrays is: - // 1. Offset to data (32 bytes) - // 2. Length of array (32 bytes) - // 3. Array elements (each 32 bytes) - if bytes.len() < 64 { - return Err(EthClientError::Custom("Response too short".to_owned())); - } - - // Get the offset (should be 0x20 for simple arrays) - let offset = U256::from_big_endian(&bytes[0..32]).as_usize(); - - // Get the length of the array - let length = U256::from_big_endian(&bytes[offset..offset + 32]).as_usize(); - - // Calculate the start of the array data - let data_start = offset + 32; - let data_end = data_start + (length * 32); - - if data_end > bytes.len() { - return Err(EthClientError::Custom("Invalid array length".to_owned())); - } - - // Convert the slice directly to H256 array - bytes[data_start..data_end] - .chunks_exact(32) - .map(|chunk| Ok(H256::from_slice(chunk))) - .collect() -} - -pub fn get_address_from_secret_key(secret_key: &SecretKey) -> Result { - let public_key = secret_key - .public_key(secp256k1::SECP256K1) - .serialize_uncompressed(); - let hash = keccak(&public_key[1..]); - - // Get the last 20 bytes of the hash - let address_bytes: [u8; 20] = hash - .as_ref() - .get(12..32) - .ok_or(EthClientError::Custom( - "Failed to get_address_from_secret_key: error slicing address_bytes".to_owned(), - ))? - .try_into() - .map_err(|err| { - EthClientError::Custom(format!("Failed to get_address_from_secret_key: {err}")) - })?; - - Ok(Address::from(address_bytes)) -} diff --git a/sdk/src/l2/deposit.rs b/sdk/src/l2/deposit.rs index 3335a2e..22c17bf 100644 --- a/sdk/src/l2/deposit.rs +++ b/sdk/src/l2/deposit.rs @@ -1,15 +1,12 @@ use crate::transfer; use ethrex_common::{Address, U256, types::TxType}; -use ethrex_l2_common::calldata::Value; -use ethrex_l2_rpc::{ - clients::send_generic_transaction, - signer::{LocalSigner, Signer}, -}; +use ethrex_l2_common::{calldata::Value, utils::get_address_from_secret_key}; +use ethrex_l2_rpc::signer::{LocalSigner, Signer}; use ethrex_rpc::{ EthClient, clients::{EthClientError, Overrides}, }; -use ethrex_sdk::{calldata::encode_calldata, get_address_from_secret_key}; +use ethrex_sdk::{build_generic_tx, calldata::encode_calldata, send_generic_transaction}; use keccak_hash::H256; use secp256k1::SecretKey; @@ -32,7 +29,8 @@ pub async fn deposit_through_contract_call( bridge_address: Address, eth_client: &EthClient, ) -> Result { - let l1_from = get_address_from_secret_key(depositor_private_key)?; + let l1_from = + get_address_from_secret_key(depositor_private_key).map_err(EthClientError::Custom)?; let calldata = encode_calldata("deposit(address)", &[Value::Address(to)])?; let gas_price = eth_client .get_gas_price_with_extra(20) @@ -42,21 +40,21 @@ pub async fn deposit_through_contract_call( EthClientError::InternalError("Failed to convert gas_price to a u64".to_owned()) })?; - let deposit_tx = eth_client - .build_generic_tx( - TxType::EIP1559, - bridge_address, - l1_from, - calldata.into(), - Overrides { - from: Some(l1_from), - value: Some(amount), - max_fee_per_gas: Some(gas_price), - max_priority_fee_per_gas: Some(gas_price), - ..Default::default() - }, - ) - .await?; + let deposit_tx = build_generic_tx( + eth_client, + TxType::EIP1559, + bridge_address, + l1_from, + calldata.into(), + Overrides { + from: Some(l1_from), + value: Some(amount), + max_fee_per_gas: Some(gas_price), + max_priority_fee_per_gas: Some(gas_price), + ..Default::default() + }, + ) + .await?; let signer = Signer::Local(LocalSigner::new(*depositor_private_key)); @@ -85,18 +83,18 @@ pub async fn deposit_erc20( let deposit_data = encode_calldata(DEPOSIT_ERC20_SIGNATURE, &calldata_values)?; - let deposit_tx = eth_client - .build_generic_tx( - TxType::EIP1559, - bridge_address, - from, - deposit_data.into(), - Overrides { - from: Some(from), - ..Default::default() - }, - ) - .await?; + let deposit_tx = build_generic_tx( + eth_client, + TxType::EIP1559, + bridge_address, + from, + deposit_data.into(), + Overrides { + from: Some(from), + ..Default::default() + }, + ) + .await?; let signer = Signer::Local(LocalSigner::new(from_pk)); diff --git a/sdk/src/l2/privileged_transaction_data.rs b/sdk/src/l2/privileged_transaction_data.rs index cb051db..6819b19 100644 --- a/sdk/src/l2/privileged_transaction_data.rs +++ b/sdk/src/l2/privileged_transaction_data.rs @@ -7,6 +7,7 @@ use ethrex_rpc::{ clients::{EthClientError, Overrides}, types::receipt::RpcLogInfo, }; +use ethrex_sdk::build_generic_tx; use crate::SdkError; @@ -90,29 +91,29 @@ impl PrivilegedTransactionData { chain_id: u64, gas_price: u64, ) -> Result { - let generic_tx = eth_client - .build_generic_tx( - TxType::Privileged, - self.to_address, - self.from, - Bytes::copy_from_slice(&self.calldata), - Overrides { - chain_id: Some(chain_id), - // Using the transaction_id as nonce. - // If we make a transaction on the L2 with this address, we may break the - // privileged transaction workflow. - nonce: Some(self.transaction_id.as_u64()), - value: Some(self.value), - gas_limit: Some(self.gas_limit.as_u64()), - // TODO(CHECK): Seems that when we start the L2, we need to set the gas. - // Otherwise, the transaction is not included in the mempool. - // We should override the blockchain to always include the transaction. - max_fee_per_gas: Some(gas_price), - max_priority_fee_per_gas: Some(gas_price), - ..Default::default() - }, - ) - .await?; + let generic_tx = build_generic_tx( + eth_client, + TxType::Privileged, + self.to_address, + self.from, + Bytes::copy_from_slice(&self.calldata), + Overrides { + chain_id: Some(chain_id), + // Using the transaction_id as nonce. + // If we make a transaction on the L2 with this address, we may break the + // privileged transaction workflow. + nonce: Some(self.transaction_id.as_u64()), + value: Some(self.value), + gas_limit: Some(self.gas_limit.as_u64()), + // TODO(CHECK): Seems that when we start the L2, we need to set the gas. + // Otherwise, the transaction is not included in the mempool. + // We should override the blockchain to always include the transaction. + max_fee_per_gas: Some(gas_price), + max_priority_fee_per_gas: Some(gas_price), + ..Default::default() + }, + ) + .await?; Ok(generic_tx.try_into()?) } } diff --git a/sdk/src/l2/withdraw.rs b/sdk/src/l2/withdraw.rs index ebb6719..a66c848 100644 --- a/sdk/src/l2/withdraw.rs +++ b/sdk/src/l2/withdraw.rs @@ -1,17 +1,15 @@ use ethrex_common::{Address, Bytes, U256, types::TxType}; -use ethrex_l2_common::calldata::Value; -use ethrex_l2_rpc::{ - clients::send_generic_transaction, - signer::{LocalSigner, Signer}, +use ethrex_l2_common::{ + calldata::Value, l1_messages::L1MessageProof, utils::get_address_from_secret_key, }; +use ethrex_l2_rpc::signer::{LocalSigner, Signer}; use ethrex_rpc::{ EthClient, - clients::{ - EthClientError, Overrides, - eth::{L1MessageProof, get_address_from_secret_key}, - }, + clients::{EthClientError, Overrides}, +}; +use ethrex_sdk::{ + COMMON_BRIDGE_L2_ADDRESS, build_generic_tx, calldata::encode_calldata, send_generic_transaction, }; -use ethrex_sdk::{COMMON_BRIDGE_L2_ADDRESS, calldata::encode_calldata}; use keccak_hash::H256; use secp256k1::SecretKey; @@ -26,22 +24,22 @@ pub async fn withdraw( proposer_client: &EthClient, nonce: Option, ) -> Result { - let withdraw_transaction = proposer_client - .build_generic_tx( - TxType::EIP1559, - COMMON_BRIDGE_L2_ADDRESS, - from, - Bytes::from( - encode_calldata(L2_WITHDRAW_SIGNATURE, &[Value::Address(from)]) - .expect("Failed to encode calldata"), - ), - Overrides { - value: Some(amount), - nonce, - ..Default::default() - }, - ) - .await?; + let withdraw_transaction = build_generic_tx( + proposer_client, + TxType::EIP1559, + COMMON_BRIDGE_L2_ADDRESS, + from, + Bytes::from( + encode_calldata(L2_WITHDRAW_SIGNATURE, &[Value::Address(from)]) + .expect("Failed to encode calldata"), + ), + Overrides { + value: Some(amount), + nonce, + ..Default::default() + }, + ) + .await?; let signer = Signer::Local(LocalSigner::new(from_pk)); @@ -64,15 +62,15 @@ pub async fn withdraw_erc20( ]; let withdraw_data = encode_calldata(L2_WITHDRAW_SIGNATURE_ERC20, &data) .expect("Failed to encode calldata for withdraw ERC20"); - let withdraw_transaction = l2_client - .build_generic_tx( - TxType::EIP1559, - COMMON_BRIDGE_L2_ADDRESS, - from, - Bytes::from(withdraw_data), - Default::default(), - ) - .await?; + let withdraw_transaction = build_generic_tx( + l2_client, + TxType::EIP1559, + COMMON_BRIDGE_L2_ADDRESS, + from, + Bytes::from(withdraw_data), + Default::default(), + ) + .await?; let signer = Signer::Local(LocalSigner::new(from_pk)); send_generic_transaction(l2_client, withdraw_transaction, &signer).await } @@ -110,18 +108,18 @@ pub async fn claim_withdraw( hex::encode(&claim_withdrawal_data) ); - let claim_tx = eth_client - .build_generic_tx( - TxType::EIP1559, - bridge_address, - from, - claim_withdrawal_data.into(), - Overrides { - from: Some(from), - ..Default::default() - }, - ) - .await?; + let claim_tx = build_generic_tx( + eth_client, + TxType::EIP1559, + bridge_address, + from, + claim_withdrawal_data.into(), + Overrides { + from: Some(from), + ..Default::default() + }, + ) + .await?; let signer = Signer::Local(LocalSigner::new(from_pk)); send_generic_transaction(eth_client, claim_tx, &signer).await @@ -136,7 +134,7 @@ pub async fn claim_erc20withdraw( message_proof: &L1MessageProof, bridge_address: Address, ) -> Result { - let from = get_address_from_secret_key(&from_pk)?; + let from = get_address_from_secret_key(&from_pk).map_err(EthClientError::Custom)?; let calldata_values = vec![ Value::Address(token_l1), Value::Address(token_l2), @@ -161,18 +159,18 @@ pub async fn claim_erc20withdraw( hex::encode(&claim_withdrawal_data) ); - let claim_tx = eth_client - .build_generic_tx( - TxType::EIP1559, - bridge_address, - from, - claim_withdrawal_data.into(), - Overrides { - from: Some(from), - ..Default::default() - }, - ) - .await?; + let claim_tx = build_generic_tx( + eth_client, + TxType::EIP1559, + bridge_address, + from, + claim_withdrawal_data.into(), + Overrides { + from: Some(from), + ..Default::default() + }, + ) + .await?; let signer = Signer::Local(LocalSigner::new(from_pk)); diff --git a/sdk/src/sdk.rs b/sdk/src/sdk.rs index 0a2c5b6..f8cd747 100644 --- a/sdk/src/sdk.rs +++ b/sdk/src/sdk.rs @@ -2,10 +2,7 @@ use ethrex_common::{ Address, Bytes, U256, types::{TxKind, TxType}, }; -use ethrex_l2_rpc::{ - clients::send_generic_transaction, - signer::{LocalSigner, Signer}, -}; +use ethrex_l2_rpc::signer::{LocalSigner, Signer}; use ethrex_rlp::encode::RLPEncode; use ethrex_rpc::{ @@ -16,6 +13,7 @@ use ethrex_rpc::{ receipt::RpcReceipt, }, }; +use ethrex_sdk::{build_generic_tx, send_generic_transaction}; use keccak_hash::{H256, keccak}; use secp256k1::SecretKey; @@ -51,20 +49,20 @@ pub async fn transfer( EthClientError::InternalError("Failed to convert gas_price to a u64".to_owned()) })?; - let tx = client - .build_generic_tx( - TxType::EIP1559, - to, - from, - Default::default(), - Overrides { - value: Some(amount), - max_fee_per_gas: Some(gas_price), - max_priority_fee_per_gas: Some(gas_price), - ..Default::default() - }, - ) - .await?; + let tx = build_generic_tx( + client, + TxType::EIP1559, + to, + from, + Default::default(), + Overrides { + value: Some(amount), + max_fee_per_gas: Some(gas_price), + max_priority_fee_per_gas: Some(gas_price), + ..Default::default() + }, + ) + .await?; let signer = LocalSigner::new(*private_key).into(); send_generic_transaction(client, tx, &signer).await @@ -80,15 +78,15 @@ pub async fn deploy( let mut deploy_overrides = overrides; deploy_overrides.to = Some(TxKind::Create); - let deploy_tx = client - .build_generic_tx( - TxType::EIP1559, - Address::zero(), - deployer.address(), - init_code, - deploy_overrides, - ) - .await?; + let deploy_tx = build_generic_tx( + client, + TxType::EIP1559, + Address::zero(), + deployer.address(), + init_code, + deploy_overrides, + ) + .await?; let deploy_tx_hash = send_generic_transaction(client, deploy_tx, deployer).await?; let nonce = client diff --git a/sdk/tests/tests.rs b/sdk/tests/tests.rs index e5bddd7..2e3e438 100644 --- a/sdk/tests/tests.rs +++ b/sdk/tests/tests.rs @@ -1,5 +1,5 @@ use ethrex_common::{Address, Bytes, H160, H256, U256}; -use ethrex_l2_common::calldata::Value; +use ethrex_l2_common::{calldata::Value, utils::get_address_from_secret_key}; use ethrex_l2_rpc::signer::{LocalSigner, Signer}; use ethrex_rpc::{ EthClient, @@ -9,10 +9,12 @@ use ethrex_rpc::{ receipt::RpcReceipt, }, }; -use ethrex_sdk::{L1ToL2TransactionData, calldata::encode_calldata, send_l1_to_l2_tx}; +use ethrex_sdk::{ + L1ToL2TransactionData, calldata::encode_calldata, get_last_verified_batch, send_l1_to_l2_tx, + wait_for_message_proof, +}; use keccak_hash::keccak; use rex_sdk::{ - client::eth::get_address_from_secret_key, deploy, l2::{ deposit::{deposit_through_contract_call, deposit_through_transfer}, @@ -785,7 +787,10 @@ async fn get_fees_details_l2(tx_receipt: RpcReceipt, proposer_client: &EthClient let effective_gas_price = tx_receipt.tx_info.effective_gas_price; let base_fee_per_gas = proposer_client - .get_block_by_number(BlockIdentifier::Number(tx_receipt.block_info.block_number)) + .get_block_by_number( + BlockIdentifier::Number(tx_receipt.block_info.block_number), + false, + ) .await .unwrap() .header @@ -1071,7 +1076,7 @@ async fn test_n_withdraws( let mut proofs = vec![]; for (i, tx) in withdraw_txs.clone().into_iter().enumerate() { println!("Getting withdrawal proof {}/{n}", i + 1); - let message_proof = proposer_client.wait_for_message_proof(tx, 1000).await?; + let message_proof = wait_for_message_proof(proposer_client, tx, 1000).await?; let withdrawal_proof = message_proof .into_iter() .next() @@ -1080,8 +1085,7 @@ async fn test_n_withdraws( } for proof in &proofs { - while eth_client - .get_last_verified_batch(on_chain_proposer_address()) + while get_last_verified_batch(eth_client, on_chain_proposer_address()) .await .unwrap() < proof.batch_number From e5fedc3dae18fea813535008d3dc2ba78b1a2298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 14:33:31 -0300 Subject: [PATCH 06/14] update ci ethrex version --- .github/workflows/pr_main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_main.yml b/.github/workflows/pr_main.yml index 4cae9a3..f7000a6 100644 --- a/.github/workflows/pr_main.yml +++ b/.github/workflows/pr_main.yml @@ -32,7 +32,7 @@ jobs: - name: Install ethrex run: | - curl -L https://github.com/lambdaclass/ethrex/releases/download/v0.0.4-alpha/ethrex-linux_x86_64 -o /usr/local/bin/ethrex + curl -L https://github.com/lambdaclass/ethrex/releases/download/v0.2.0-rc.1/ethrex-linux_x86_64 -o /usr/local/bin/ethrex chmod +x /usr/local/bin/ethrex ethrex --version echo "ethrex installed successfully" @@ -82,7 +82,7 @@ jobs: - name: Install ethrex run: | - curl -L https://github.com/lambdaclass/ethrex/releases/download/v0.0.4-alpha/ethrex-linux_x86_64 -o /usr/local/bin/ethrex + curl -L https://github.com/lambdaclass/ethrex/releases/download/v0.2.0-rc.1/ethrex-linux_x86_64 -o /usr/local/bin/ethrex chmod +x /usr/local/bin/ethrex ethrex --version echo "ethrex installed successfully" From 93422e69a6659e2e4d7aa31f1b0d4aa4010a0236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 16:09:21 -0300 Subject: [PATCH 07/14] fix flag --- .github/workflows/daily_reports.yml | 7 ------- .github/workflows/pr_main.yml | 12 ++---------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 486912a..93f6665 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -47,9 +47,6 @@ jobs: echo "ProofCoordinator not ready in time" exit 1 - - name: See status - run: | - curl -X GET http://localhost:5555/health | jq - name: Start Prover run: | ethrex l2 prover --proof-coordinators http://localhost:3900 & @@ -98,10 +95,6 @@ jobs: echo "ProofCoordinator not ready in time" exit 1 - - name: See status - run: | - curl -X GET http://localhost:5555/health | jq - - name: Start Prover run: | ethrex l2 prover --proof-coordinators http://localhost:3900 & diff --git a/.github/workflows/pr_main.yml b/.github/workflows/pr_main.yml index f7000a6..0e13ece 100644 --- a/.github/workflows/pr_main.yml +++ b/.github/workflows/pr_main.yml @@ -53,13 +53,9 @@ jobs: echo "ProofCoordinator not ready in time" exit 1 - - name: See status - run: | - curl -X GET http://localhost:5555/health | jq - - name: Start Prover run: | - ethrex l2 prover --proof-coordinator http://localhost:3900 & + ethrex l2 prover --proof-coordinators http://localhost:3900 & - name: Run tests run: | @@ -103,13 +99,9 @@ jobs: echo "Service not ready in time" exit 1 - - name: See status - run: | - curl -X GET http://localhost:5555/health | jq - - name: Start Prover run: | - ethrex l2 prover --proof-coordinator http://localhost:3900 & + ethrex l2 prover --proof-coordinators http://localhost:3900 & - name: Run tests run: | From fd25a529470eed5f456514d7e84e2022ac8ee28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Wed, 1 Oct 2025 16:32:03 -0300 Subject: [PATCH 08/14] set cronjob --- .github/workflows/daily_reports.yml | 57 ++++++++++++++--------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 93f6665..2181c98 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -3,11 +3,10 @@ permissions: name: Daily Reports on: - push: - branches: ["main"] - merge_group: - pull_request: - branches: ["**"] + schedule: + # Every day at UTC 03:00 + - cron: "0 3 * * 1,2,3,4,5" + workflow_dispatch: jobs: sdk-integration-test: @@ -106,27 +105,27 @@ jobs: cd cli PROPOSER_COINBASE_ADDRESS=0x0007a881CD95B1484fca47615B64803dad620C8d cargo test --package rex --test tests -- --nocapture --test-threads=1 - # post-daily-report: - # name: Post report to slack - # runs-on: ubuntu-latest - # needs: [sdk-integration-test, cli-integration-test] - # if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} - # steps: - # - name: Checkout sources - # uses: actions/checkout@v4 - - # - name: Check if any job failed - # env: - # SLACK_WEBHOOK: > - # ${{ github.event_name == 'workflow_dispatch' - # && secrets.TEST_CHANNEL_SLACK - # || secrets.ETHREX_L2_SLACK_WEBHOOK - # }} - # run: | - # if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then - # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." - # fi - # if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then - # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." - # fi - # echo "Sending Results" >> $GITHUB_STEP_SUMMARY + post-daily-report: + name: Post report to slack + runs-on: ubuntu-latest + needs: [sdk-integration-test, cli-integration-test] + if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Check if any job failed + env: + SLACK_WEBHOOK: > + ${{ github.event_name == 'workflow_dispatch' + && secrets.TEST_CHANNEL_SLACK + || secrets.ETHREX_L2_SLACK_WEBHOOK + }} + run: | + if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then + sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." + fi + if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then + sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." + fi + echo "Sending Results" >> $GITHUB_STEP_SUMMARY From 424c2b6c0aafb92adf6335c65d96819dafcffa17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Thu, 2 Oct 2025 09:50:17 -0300 Subject: [PATCH 09/14] bump to v1.0.0 --- .github/workflows/daily_reports.yml | 57 +++---- .github/workflows/pr_main.yml | 4 +- Cargo.lock | 101 +++++++----- Cargo.toml | 16 +- cli/tests/tests.rs | 6 +- sdk/src/client/eth/errors.rs | 243 ---------------------------- sdk/src/sign.rs | 4 +- sdk/tests/tests.rs | 12 +- 8 files changed, 110 insertions(+), 333 deletions(-) delete mode 100644 sdk/src/client/eth/errors.rs diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 2181c98..93f6665 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -3,10 +3,11 @@ permissions: name: Daily Reports on: - schedule: - # Every day at UTC 03:00 - - cron: "0 3 * * 1,2,3,4,5" - workflow_dispatch: + push: + branches: ["main"] + merge_group: + pull_request: + branches: ["**"] jobs: sdk-integration-test: @@ -105,27 +106,27 @@ jobs: cd cli PROPOSER_COINBASE_ADDRESS=0x0007a881CD95B1484fca47615B64803dad620C8d cargo test --package rex --test tests -- --nocapture --test-threads=1 - post-daily-report: - name: Post report to slack - runs-on: ubuntu-latest - needs: [sdk-integration-test, cli-integration-test] - if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Check if any job failed - env: - SLACK_WEBHOOK: > - ${{ github.event_name == 'workflow_dispatch' - && secrets.TEST_CHANNEL_SLACK - || secrets.ETHREX_L2_SLACK_WEBHOOK - }} - run: | - if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then - sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." - fi - if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then - sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." - fi - echo "Sending Results" >> $GITHUB_STEP_SUMMARY + # post-daily-report: + # name: Post report to slack + # runs-on: ubuntu-latest + # needs: [sdk-integration-test, cli-integration-test] + # if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} + # steps: + # - name: Checkout sources + # uses: actions/checkout@v4 + + # - name: Check if any job failed + # env: + # SLACK_WEBHOOK: > + # ${{ github.event_name == 'workflow_dispatch' + # && secrets.TEST_CHANNEL_SLACK + # || secrets.ETHREX_L2_SLACK_WEBHOOK + # }} + # run: | + # if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then + # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." + # fi + # if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then + # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." + # fi + # echo "Sending Results" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/pr_main.yml b/.github/workflows/pr_main.yml index 0e13ece..041cd49 100644 --- a/.github/workflows/pr_main.yml +++ b/.github/workflows/pr_main.yml @@ -32,7 +32,7 @@ jobs: - name: Install ethrex run: | - curl -L https://github.com/lambdaclass/ethrex/releases/download/v0.2.0-rc.1/ethrex-linux_x86_64 -o /usr/local/bin/ethrex + curl -L https://github.com/lambdaclass/ethrex/releases/download/v1.0.0/ethrex-linux_x86_64 -o /usr/local/bin/ethrex chmod +x /usr/local/bin/ethrex ethrex --version echo "ethrex installed successfully" @@ -78,7 +78,7 @@ jobs: - name: Install ethrex run: | - curl -L https://github.com/lambdaclass/ethrex/releases/download/v0.2.0-rc.1/ethrex-linux_x86_64 -o /usr/local/bin/ethrex + curl -L https://github.com/lambdaclass/ethrex/releases/download/v1.0.0/ethrex-linux_x86_64 -o /usr/local/bin/ethrex chmod +x /usr/local/bin/ethrex ethrex --version echo "ethrex installed successfully" diff --git a/Cargo.lock b/Cargo.lock index 54a718c..6e93b9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -413,6 +413,22 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" +[[package]] +name = "bitcoin-io" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf" + +[[package]] +name = "bitcoin_hashes" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" +dependencies = [ + "bitcoin-io", + "hex-conservative", +] + [[package]] name = "bitflags" version = "2.9.4" @@ -1178,8 +1194,8 @@ dependencies = [ [[package]] name = "ethrex-blockchain" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "bytes", "cfg-if 1.0.3", @@ -1198,8 +1214,8 @@ dependencies = [ [[package]] name = "ethrex-common" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "bytes", "c-kzg", @@ -1208,7 +1224,6 @@ dependencies = [ "ethrex-rlp", "ethrex-trie", "hex", - "keccak-hash", "kzg-rs", "lazy_static", "once_cell", @@ -1227,13 +1242,13 @@ dependencies = [ [[package]] name = "ethrex-crypto" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" [[package]] name = "ethrex-l2-common" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "bytes", "ethereum-types", @@ -1242,7 +1257,6 @@ dependencies = [ "ethrex-storage", "ethrex-trie", "ethrex-vm", - "keccak-hash", "lambdaworks-crypto", "secp256k1", "serde", @@ -1252,8 +1266,8 @@ dependencies = [ [[package]] name = "ethrex-l2-rpc" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "axum", "bytes", @@ -1267,7 +1281,6 @@ dependencies = [ "ethrex-storage", "ethrex-storage-rollup", "hex", - "keccak-hash", "reqwest", "rustc-hex", "secp256k1", @@ -1283,8 +1296,8 @@ dependencies = [ [[package]] name = "ethrex-levm" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "ark-bn254", "ark-ec", @@ -1297,7 +1310,6 @@ dependencies = [ "ethrex-crypto", "ethrex-rlp", "k256", - "keccak-hash", "lambdaworks-math", "lazy_static", "malachite", @@ -1315,8 +1327,8 @@ dependencies = [ [[package]] name = "ethrex-metrics" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "ethrex-common", "serde", @@ -1327,8 +1339,8 @@ dependencies = [ [[package]] name = "ethrex-p2p" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "aes", "async-trait", @@ -1345,7 +1357,6 @@ dependencies = [ "futures", "hex", "hmac", - "keccak-hash", "lazy_static", "prometheus", "rand 0.8.5", @@ -1367,8 +1378,8 @@ dependencies = [ [[package]] name = "ethrex-rlp" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "bytes", "ethereum-types", @@ -1381,8 +1392,8 @@ dependencies = [ [[package]] name = "ethrex-rpc" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "axum", "axum-extra", @@ -1399,7 +1410,6 @@ dependencies = [ "ethrex-vm", "hex", "jsonwebtoken", - "keccak-hash", "rand 0.8.5", "reqwest", "secp256k1", @@ -1418,8 +1428,8 @@ dependencies = [ [[package]] name = "ethrex-sdk" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "bytes", "ethereum-types", @@ -1432,7 +1442,6 @@ dependencies = [ "eyre", "hex", "itertools 0.13.0", - "keccak-hash", "lazy_static", "reqwest", "secp256k1", @@ -1445,8 +1454,8 @@ dependencies = [ [[package]] name = "ethrex-sdk-contract-utils" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "thiserror 2.0.17", "tracing", @@ -1454,8 +1463,8 @@ dependencies = [ [[package]] name = "ethrex-storage" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "anyhow", "async-trait", @@ -1475,8 +1484,8 @@ dependencies = [ [[package]] name = "ethrex-storage-rollup" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "anyhow", "async-trait", @@ -1494,8 +1503,8 @@ dependencies = [ [[package]] name = "ethrex-trie" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "anyhow", "bytes", @@ -1514,8 +1523,8 @@ dependencies = [ [[package]] name = "ethrex-vm" -version = "0.2.0-rc.1" -source = "git+https://github.com/lambdaclass/ethrex?tag=v0.2.0-rc.1#22b118f4ab97023c96e228150d5916a6baa74645" +version = "1.0.0" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" dependencies = [ "bincode", "bytes", @@ -1882,6 +1891,15 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hex-conservative" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd" +dependencies = [ + "arrayvec", +] + [[package]] name = "hmac" version = "0.12.1" @@ -3540,10 +3558,11 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.29.1" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9465315bc9d4566e1724f0fffcbcc446268cb522e60f9a27bcded6b19c108113" +checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ + "bitcoin_hashes", "rand 0.8.5", "secp256k1-sys", ] diff --git a/Cargo.toml b/Cargo.toml index 50b2e58..6fb2324 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,18 +29,18 @@ manual_saturating_arithmetic = "warn" rex-cli = { path = "cli" } rex-sdk = { path = "sdk" } -ethrex-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-common", tag = "v0.2.0-rc.1" } -ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-blockchain", tag = "v0.2.0-rc.1" } -ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rlp", tag = "v0.2.0-rc.1" } -ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rpc", tag = "v0.2.0-rc.1" } -ethrex-l2-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-rpc", tag = "v0.2.0-rc.1" } -ethrex-sdk = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-sdk", tag = "v0.2.0-rc.1" } -ethrex-l2-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-common", tag = "v0.2.0-rc.1" } +ethrex-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-common", tag = "v1.0.0" } +ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-blockchain", tag = "v1.0.0" } +ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rlp", tag = "v1.0.0" } +ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rpc", tag = "v1.0.0" } +ethrex-l2-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-rpc", tag = "v1.0.0" } +ethrex-sdk = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-sdk", tag = "v1.0.0" } +ethrex-l2-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-common", tag = "v1.0.0" } keccak-hash = "0.11.0" thiserror = "2.0.11" hex = "0.4.3" -secp256k1 = { version = "0.29.1", default-features = false, features = [ +secp256k1 = { version = "0.30.0", default-features = false, features = [ "global-context", "recovery", "rand", diff --git a/cli/tests/tests.rs b/cli/tests/tests.rs index f433039..1887c87 100644 --- a/cli/tests/tests.rs +++ b/cli/tests/tests.rs @@ -20,10 +20,10 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x5e4430a9d73d5e769bd6b587efbcb302ba757207 +// 0x87ac9c30758caf475202bdd2fcf6cd9f44645940 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x5e, 0x44, 0x30, 0xa9, 0xd7, 0x3d, 0x5e, 0x76, 0x9b, 0xd6, 0xb5, 0x87, 0xef, 0xbc, 0xb3, 0x02, - 0xba, 0x75, 0x72, 0x07, + 0x87, 0xac, 0x9c, 0x30, 0x75, 0x8c, 0xaf, 0x47, 0x52, 0x02, 0xbd, 0xd2, 0xfc, 0xf6, 0xcd, 0x9f, + 0x44, 0x64, 0x59, 0x40, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ diff --git a/sdk/src/client/eth/errors.rs b/sdk/src/client/eth/errors.rs deleted file mode 100644 index 2203d62..0000000 --- a/sdk/src/client/eth/errors.rs +++ /dev/null @@ -1,243 +0,0 @@ -use ethrex_rpc::utils::RpcRequest; - -#[derive(Debug, thiserror::Error)] -pub enum EthClientError { - #[error("Error sending request {0:?}")] - RequestError(RpcRequest), - #[error("reqwest error: {0}")] - ReqwestError(#[from] reqwest::Error), - #[error("eth_gasPrice request error: {0}")] - GetGasPriceError(#[from] GetGasPriceError), - #[error("eth_estimateGas request error: {0}")] - EstimateGasError(#[from] EstimateGasError), - #[error("eth_sendRawTransaction request error: {0}")] - SendRawTransactionError(#[from] SendRawTransactionError), - #[error("eth_call request error: {0}")] - CallError(#[from] CallError), - #[error("eth_getTransactionCount request error: {0}")] - GetNonceError(#[from] GetNonceError), - #[error("eth_blockNumber request error: {0}")] - GetBlockNumberError(#[from] GetBlockNumberError), - #[error("eth_getBlockByHash request error: {0}")] - GetBlockByHashError(#[from] GetBlockByHashError), - #[error("eth_getBlockByNumber request error: {0}")] - GetBlockByNumberError(#[from] GetBlockByNumberError), - #[error("eth_getLogs request error: {0}")] - GetLogsError(#[from] GetLogsError), - #[error("eth_getTransactionReceipt request error: {0}")] - GetTransactionReceiptError(#[from] GetTransactionReceiptError), - #[error("Failed to serialize request body: {0}")] - FailedToSerializeRequestBody(String), - #[error("Failed to deserialize response body: {0}")] - GetBalanceError(#[from] GetBalanceError), - #[error("Failed to deserialize response body: {0}")] - GetCodeError(#[from] GetCodeError), - #[error("eth_getTransactionByHash request error: {0}")] - GetTransactionByHashError(#[from] GetTransactionByHashError), - #[error("ethrex_getMessageProof request error: {0}")] - GetMessageProofError(#[from] GetMessageProofError), - #[error("eth_maxPriorityFeePerGas request error: {0}")] - GetMaxPriorityFeeError(#[from] GetMaxPriorityFeeError), - #[error("Unreachable nonce")] - UnrecheableNonce, - #[error("Error: {0}")] - Custom(String), - #[error("Failed to encode calldata: {0}")] - CalldataEncodeError(#[from] CalldataEncodeError), - #[error("Max number of retries reached when trying to send transaction")] - TimeoutError, - #[error("Internal Error. This is most likely a bug: {0}")] - InternalError(String), - #[error("Parse Url Error. {0}")] - ParseUrlError(String), - #[error("Failed to sign payload: {0}")] - FailedToSignPayload(String), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetGasPriceError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum EstimateGasError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), - #[error("{0}")] - Custom(String), -} - -#[derive(Debug, thiserror::Error)] -pub enum SendRawTransactionError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum CallError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetNonceError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetBlockNumberError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetBlockByHashError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetBlockByNumberError { - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetLogsError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetTransactionReceiptError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetBalanceError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetCodeError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - NotHexError(#[from] hex::FromHexError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetTransactionByHashError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum CalldataEncodeError { - #[error("Failed to parse function signature: {0}")] - ParseError(String), - #[error("Wrong number of arguments provided for calldata: {0}")] - WrongArgumentLength(String), - #[error("Internal Calldata encoding error. This is most likely a bug")] - InternalError, -} - -#[derive(Debug, thiserror::Error)] -pub enum GetMessageProofError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} - -#[derive(Debug, thiserror::Error)] -pub enum GetMaxPriorityFeeError { - #[error("{0}")] - ReqwestError(#[from] reqwest::Error), - #[error("{0}")] - SerdeJSONError(#[from] serde_json::Error), - #[error("{0}")] - RPCError(String), - #[error("{0}")] - ParseIntError(#[from] std::num::ParseIntError), -} diff --git a/sdk/src/sign.rs b/sdk/src/sign.rs index a69dcdc..d5c6683 100644 --- a/sdk/src/sign.rs +++ b/sdk/src/sign.rs @@ -11,7 +11,7 @@ pub fn sign_hash(hash: H256, private_key: SecretKey) -> Vec { ); let (msg_signature_recovery_id, msg_signature) = signed_msg.serialize_compact(); - let msg_signature_recovery_id = msg_signature_recovery_id.to_i32() + 27; + let msg_signature_recovery_id = i32::from(msg_signature_recovery_id) + 27; [&msg_signature[..], &[msg_signature_recovery_id as u8]].concat() } @@ -29,7 +29,7 @@ pub fn get_address_from_message_and_signature( signature[64] }; - let recovery_id = secp256k1::ecdsa::RecoveryId::from_i32(raw_recovery_id as i32)?; + let recovery_id = secp256k1::ecdsa::RecoveryId::try_from(raw_recovery_id as i32)?; let signature = secp256k1::ecdsa::RecoverableSignature::from_compact(&signature[..64], recovery_id)?; diff --git a/sdk/tests/tests.rs b/sdk/tests/tests.rs index 2e3e438..4c43fce 100644 --- a/sdk/tests/tests.rs +++ b/sdk/tests/tests.rs @@ -45,15 +45,15 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x5e4430a9d73d5e769bd6b587efbcb302ba757207 +// 0x87ac9c30758caf475202bdd2fcf6cd9f44645940 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x5e, 0x44, 0x30, 0xa9, 0xd7, 0x3d, 0x5e, 0x76, 0x9b, 0xd6, 0xb5, 0x87, 0xef, 0xbc, 0xb3, 0x02, - 0xba, 0x75, 0x72, 0x07, + 0x87, 0xac, 0x9c, 0x30, 0x75, 0x8c, 0xaf, 0x47, 0x52, 0x02, 0xbd, 0xd2, 0xfc, 0xf6, 0xcd, 0x9f, + 0x44, 0x64, 0x59, 0x40, ]); -// 0xc938950821702fff4f27a7103867192b38e11c90 +// 0xd2ad6178d8d439aac3f7c851dd757dafea24de30 const DEFAULT_ON_CHAIN_PROPOSER_ADDRESS: Address = H160([ - 0xc9, 0x38, 0x95, 0x08, 0x21, 0x70, 0x2f, 0xff, 0x4f, 0x27, 0xa7, 0x10, 0x38, 0x67, 0x19, 0x2b, - 0x38, 0xe1, 0x1c, 0x90, + 0xd2, 0xad, 0x61, 0x78, 0xd8, 0xd4, 0x39, 0xaa, 0xc3, 0xf7, 0xc8, 0x51, 0xdd, 0x75, 0x7d, 0xaf, + 0xea, 0x24, 0xde, 0x30, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ From cb15a70ce17ba037379b4e66f035e04bc18d6cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Mon, 6 Oct 2025 10:10:35 -0300 Subject: [PATCH 10/14] update addresses --- cli/tests/tests.rs | 6 +++--- sdk/tests/tests.rs | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cli/tests/tests.rs b/cli/tests/tests.rs index 1887c87..b35e33e 100644 --- a/cli/tests/tests.rs +++ b/cli/tests/tests.rs @@ -20,10 +20,10 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x87ac9c30758caf475202bdd2fcf6cd9f44645940 +// 0xaf81cf7ffd13e0e53833e54e715b482a4cf78881 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x87, 0xac, 0x9c, 0x30, 0x75, 0x8c, 0xaf, 0x47, 0x52, 0x02, 0xbd, 0xd2, 0xfc, 0xf6, 0xcd, 0x9f, - 0x44, 0x64, 0x59, 0x40, + 0xaf, 0x81, 0xcf, 0x7f, 0xfd, 0x13, 0xe0, 0xe5, 0x38, 0x33, 0xe5, 0x4e, 0x71, 0x5b, 0x48, 0x2a, + 0x4c, 0xf7, 0x88, 0x81, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ diff --git a/sdk/tests/tests.rs b/sdk/tests/tests.rs index 4c43fce..ada86bb 100644 --- a/sdk/tests/tests.rs +++ b/sdk/tests/tests.rs @@ -45,15 +45,15 @@ const DEFAULT_L2_RETURN_TRANSFER_PRIVATE_KEY: H256 = H256([ 0xbc, 0xdf, 0x20, 0x24, 0x9a, 0xbf, 0x0e, 0xd6, 0xd9, 0x44, 0xc0, 0x28, 0x8f, 0xad, 0x48, 0x9e, 0x33, 0xf6, 0x6b, 0x39, 0x60, 0xd9, 0xe6, 0x22, 0x9c, 0x1c, 0xd2, 0x14, 0xed, 0x3b, 0xbe, 0x31, ]); -// 0x87ac9c30758caf475202bdd2fcf6cd9f44645940 +// 0xaf81cf7ffd13e0e53833e54e715b482a4cf78881 const DEFAULT_BRIDGE_ADDRESS: Address = H160([ - 0x87, 0xac, 0x9c, 0x30, 0x75, 0x8c, 0xaf, 0x47, 0x52, 0x02, 0xbd, 0xd2, 0xfc, 0xf6, 0xcd, 0x9f, - 0x44, 0x64, 0x59, 0x40, + 0xaf, 0x81, 0xcf, 0x7f, 0xfd, 0x13, 0xe0, 0xe5, 0x38, 0x33, 0xe5, 0x4e, 0x71, 0x5b, 0x48, 0x2a, + 0x4c, 0xf7, 0x88, 0x81, ]); -// 0xd2ad6178d8d439aac3f7c851dd757dafea24de30 +// 0xd46e719cdd01e40ff60eff01f289c3ccb667ebb6 const DEFAULT_ON_CHAIN_PROPOSER_ADDRESS: Address = H160([ - 0xd2, 0xad, 0x61, 0x78, 0xd8, 0xd4, 0x39, 0xaa, 0xc3, 0xf7, 0xc8, 0x51, 0xdd, 0x75, 0x7d, 0xaf, - 0xea, 0x24, 0xde, 0x30, + 0xd4, 0x6e, 0x71, 0x9c, 0xdd, 0x01, 0xe4, 0x0f, 0xf6, 0x0e, 0xff, 0x01, 0xf2, 0x89, 0xc3, 0xcc, + 0xb6, 0x67, 0xeb, 0xb6, ]); // 0x0007a881CD95B1484fca47615B64803dad620C8d const DEFAULT_PROPOSER_COINBASE_ADDRESS: Address = H160([ From 2ee7d7d836a5fa7492cb79ee89993e74d556a775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Mon, 6 Oct 2025 10:18:38 -0300 Subject: [PATCH 11/14] update ethrex version --- Cargo.lock | 64 +++++++++++++++++++++++++++--------------------------- Cargo.toml | 14 ++++++------ 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6e93b9d..4bd27d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1194,8 +1194,8 @@ dependencies = [ [[package]] name = "ethrex-blockchain" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "bytes", "cfg-if 1.0.3", @@ -1214,8 +1214,8 @@ dependencies = [ [[package]] name = "ethrex-common" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "bytes", "c-kzg", @@ -1242,13 +1242,13 @@ dependencies = [ [[package]] name = "ethrex-crypto" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" [[package]] name = "ethrex-l2-common" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "bytes", "ethereum-types", @@ -1266,8 +1266,8 @@ dependencies = [ [[package]] name = "ethrex-l2-rpc" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "axum", "bytes", @@ -1296,8 +1296,8 @@ dependencies = [ [[package]] name = "ethrex-levm" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "ark-bn254", "ark-ec", @@ -1327,8 +1327,8 @@ dependencies = [ [[package]] name = "ethrex-metrics" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "ethrex-common", "serde", @@ -1339,8 +1339,8 @@ dependencies = [ [[package]] name = "ethrex-p2p" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "aes", "async-trait", @@ -1378,8 +1378,8 @@ dependencies = [ [[package]] name = "ethrex-rlp" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "bytes", "ethereum-types", @@ -1392,8 +1392,8 @@ dependencies = [ [[package]] name = "ethrex-rpc" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "axum", "axum-extra", @@ -1428,8 +1428,8 @@ dependencies = [ [[package]] name = "ethrex-sdk" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "bytes", "ethereum-types", @@ -1454,8 +1454,8 @@ dependencies = [ [[package]] name = "ethrex-sdk-contract-utils" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "thiserror 2.0.17", "tracing", @@ -1463,8 +1463,8 @@ dependencies = [ [[package]] name = "ethrex-storage" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "anyhow", "async-trait", @@ -1484,8 +1484,8 @@ dependencies = [ [[package]] name = "ethrex-storage-rollup" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "anyhow", "async-trait", @@ -1503,8 +1503,8 @@ dependencies = [ [[package]] name = "ethrex-trie" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "anyhow", "bytes", @@ -1523,8 +1523,8 @@ dependencies = [ [[package]] name = "ethrex-vm" -version = "1.0.0" -source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.0#a976db3e20acb441b930e1afd156586f222e8f79" +version = "1.0.1" +source = "git+https://github.com/lambdaclass/ethrex?tag=v1.0.1#a1b1f34ff61041f349697b4926197b1c374fb85b" dependencies = [ "bincode", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 6fb2324..f3828c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,13 +29,13 @@ manual_saturating_arithmetic = "warn" rex-cli = { path = "cli" } rex-sdk = { path = "sdk" } -ethrex-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-common", tag = "v1.0.0" } -ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-blockchain", tag = "v1.0.0" } -ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rlp", tag = "v1.0.0" } -ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rpc", tag = "v1.0.0" } -ethrex-l2-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-rpc", tag = "v1.0.0" } -ethrex-sdk = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-sdk", tag = "v1.0.0" } -ethrex-l2-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-common", tag = "v1.0.0" } +ethrex-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-common", tag = "v1.0.1" } +ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-blockchain", tag = "v1.0.1" } +ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rlp", tag = "v1.0.1" } +ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-rpc", tag = "v1.0.1" } +ethrex-l2-rpc = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-rpc", tag = "v1.0.1" } +ethrex-sdk = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-sdk", tag = "v1.0.1" } +ethrex-l2-common = { git = "https://github.com/lambdaclass/ethrex", package = "ethrex-l2-common", tag = "v1.0.1" } keccak-hash = "0.11.0" thiserror = "2.0.11" From 24f318aff332691c7a3ebe094459d7029196bab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Mon, 6 Oct 2025 10:35:15 -0300 Subject: [PATCH 12/14] update ethrex version on ci job --- .github/workflows/pr_main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_main.yml b/.github/workflows/pr_main.yml index 041cd49..20a6517 100644 --- a/.github/workflows/pr_main.yml +++ b/.github/workflows/pr_main.yml @@ -32,7 +32,7 @@ jobs: - name: Install ethrex run: | - curl -L https://github.com/lambdaclass/ethrex/releases/download/v1.0.0/ethrex-linux_x86_64 -o /usr/local/bin/ethrex + curl -L https://github.com/lambdaclass/ethrex/releases/download/v1.0.1/ethrex-linux_x86_64 -o /usr/local/bin/ethrex chmod +x /usr/local/bin/ethrex ethrex --version echo "ethrex installed successfully" @@ -78,7 +78,7 @@ jobs: - name: Install ethrex run: | - curl -L https://github.com/lambdaclass/ethrex/releases/download/v1.0.0/ethrex-linux_x86_64 -o /usr/local/bin/ethrex + curl -L https://github.com/lambdaclass/ethrex/releases/download/v1.0.1/ethrex-linux_x86_64 -o /usr/local/bin/ethrex chmod +x /usr/local/bin/ethrex ethrex --version echo "ethrex installed successfully" From c3a851e1b21be99b8b9a4e6582f2849c3561c988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Mon, 6 Oct 2025 10:48:56 -0300 Subject: [PATCH 13/14] re enable cron job --- .github/workflows/daily_reports.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 93f6665..7b67ab9 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -3,11 +3,10 @@ permissions: name: Daily Reports on: - push: - branches: ["main"] - merge_group: - pull_request: - branches: ["**"] + schedule: + # Every day at UTC 03:00 + - cron: "0 3 * * 1,2,3,4,5" + workflow_dispatch: jobs: sdk-integration-test: From edeea0b540509868e489cfee2349630e39bb76d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Paradelo?= Date: Mon, 6 Oct 2025 11:42:05 -0300 Subject: [PATCH 14/14] re enable posting job --- .github/workflows/daily_reports.yml | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/daily_reports.yml b/.github/workflows/daily_reports.yml index 7b67ab9..2181c98 100644 --- a/.github/workflows/daily_reports.yml +++ b/.github/workflows/daily_reports.yml @@ -105,27 +105,27 @@ jobs: cd cli PROPOSER_COINBASE_ADDRESS=0x0007a881CD95B1484fca47615B64803dad620C8d cargo test --package rex --test tests -- --nocapture --test-threads=1 - # post-daily-report: - # name: Post report to slack - # runs-on: ubuntu-latest - # needs: [sdk-integration-test, cli-integration-test] - # if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} - # steps: - # - name: Checkout sources - # uses: actions/checkout@v4 - - # - name: Check if any job failed - # env: - # SLACK_WEBHOOK: > - # ${{ github.event_name == 'workflow_dispatch' - # && secrets.TEST_CHANNEL_SLACK - # || secrets.ETHREX_L2_SLACK_WEBHOOK - # }} - # run: | - # if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then - # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." - # fi - # if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then - # sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." - # fi - # echo "Sending Results" >> $GITHUB_STEP_SUMMARY + post-daily-report: + name: Post report to slack + runs-on: ubuntu-latest + needs: [sdk-integration-test, cli-integration-test] + if: ${{ always() && needs.sdk-integration-test.result != 'skipped' && needs.cli-integration-test.result != 'skipped' }} + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Check if any job failed + env: + SLACK_WEBHOOK: > + ${{ github.event_name == 'workflow_dispatch' + && secrets.TEST_CHANNEL_SLACK + || secrets.ETHREX_L2_SLACK_WEBHOOK + }} + run: | + if [ "${{ needs.sdk-integration-test.result }}" != "success" ]; then + sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex SDK is not working with the latest ethrex version." + fi + if [ "${{ needs.cli-integration-test.result }}" != "success" ]; then + sh .github/scripts/publish_report.sh "$SLACK_WEBHOOK" "Rex CLI is not working with the latest ethrex version." + fi + echo "Sending Results" >> $GITHUB_STEP_SUMMARY