diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d150257f..76c8cb32 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,4 @@ -# This CODEOWNERS file sets the individuals responsible for code in the era-test-node repository. +# This CODEOWNERS file sets the individuals responsible for code in the anvil-zksync repository. # These users are the default owners for everything in the repo. # They will be requested for review when someone opens a pull request. diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index d9e893b8..e67a9989 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,18 +2,18 @@ ## Welcome! 👋 -Hello there, contributor! We're delighted that you're considering contributing to the `era-test-node` project. This document is here to guide you through the steps and best practices for contributing to this Rust-based repository. +Hello there, contributor! We're delighted that you're considering contributing to the `anvil-zksync` project. This document is here to guide you through the steps and best practices for contributing to this Rust-based repository. Please take a moment to review this document to ensure a smooth and efficient contribution process for everyone involved. ## Getting Started -- **Fork the repository.** Begin by forking the main `era-test-node` repository to your personal GitHub account. +- **Fork the repository.** Begin by forking the main `anvil-zksync` repository to your personal GitHub account. - **Clone the repository.** After forking, clone the repository to your local machine: ```bash -git clone https://github.com//era-test-node.git +git clone https://github.com//anvil-zksync.git ``` - **Create a new branch.** Use descriptive names for your branches to help identify the feature, bugfix, or enhancement you're addressing: @@ -42,7 +42,7 @@ git push origin feature/description-of-your-feature ## Submitting a Pull Request -- **Initiate a pull request (PR).** Go to the main `era-test-node` repository. Your recently pushed branch should be highlighted, showing a "Compare & pull request" button. Click on it and provide a clear, detailed description of your changes in the PR. +- **Initiate a pull request (PR).** Go to the main `anvil-zksync` repository. Your recently pushed branch should be highlighted, showing a "Compare & pull request" button. Click on it and provide a clear, detailed description of your changes in the PR. - **Await a review.** Our maintainers will review your PR. They might request changes or clarifications, so be ready to address any feedback. @@ -63,7 +63,7 @@ If you're unsure about something or have questions, don't hesitate to open an is ## What's Next? -Once your PR is approved and merged, your contribution will be integrated into the `era-test-node` repository. Congratulations, and thank you! We value your contribution and look forward to future collaborations. +Once your PR is approved and merged, your contribution will be integrated into the `anvil-zksync` repository. Congratulations, and thank you! We value your contribution and look forward to future collaborations. Remember, the best contributions come from enjoying the process, being respectful, and continuously learning. Thanks for being a part of our community! diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index e0a3324a..dbd0440d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,7 +7,7 @@ assignees: '' --- -### 🐛 Bug Report for zkSync Era In-Memory Node +### 🐛 Bug Report for anvil-zksync #### 📝 Description diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ac7ef2e7..c88db4d9 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://github.com/zkSync-Community-Hub/zkync-developers/discussions about: Please provide feedback, and ask questions here. - name: In-memory documentation page - url: https://era.zksync.io/docs/tools/testing/era-test-node.html + url: https://era.zksync.io/docs/tools/testing/anvil-zksync.html about: Please refer to the documentation for immediate answers. diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index e1258246..415824cf 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -52,13 +52,13 @@ jobs: - name: Create artifact run: | cd ./target/release - tar -czf era_test_node-${{ matrix.os }}.tar.gz ./era_test_node* + tar -czf anvil-zksync-${{ matrix.os }}.tar.gz ./anvil-zksync* - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: era_test_node-${{ matrix.os }}.tar.gz - path: ./target/release/era_test_node-${{ matrix.os }}.tar.gz + name: anvil-zksync-${{ matrix.os }}.tar.gz + path: ./target/release/anvil-zksync-${{ matrix.os }}.tar.gz e2e: needs: build uses: ./.github/workflows/e2e.yml diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a1a5515a..de8b82c1 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -50,14 +50,14 @@ jobs: - + Page Redirection - If you are not redirected automatically, follow this link to example. + If you are not redirected automatically, follow this link to example. ' > ./target/doc/index.html - name: Generate rustbook diff --git a/.github/workflows/e2e-rust.yml b/.github/workflows/e2e-rust.yml index ed429f60..2cd8375e 100644 --- a/.github/workflows/e2e-rust.yml +++ b/.github/workflows/e2e-rust.yml @@ -1,4 +1,4 @@ -name: Testing era_test_node using e2e (Rust version) +name: Testing anvil-zksync using e2e (Rust version) on: workflow_call: @@ -18,18 +18,18 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v3 with: - name: era_test_node-${{ matrix.os }}.tar.gz + name: anvil-zksync-${{ matrix.os }}.tar.gz - - name: Extract era_test_node + - name: Extract anvil-zksync id: extract_node run: | - echo "Extracting era_test_node binary" - tar -xzf era_test_node-${{ matrix.os }}.tar.gz - chmod +x era_test_node + echo "Extracting anvil-zksync binary" + tar -xzf anvil-zksync-${{ matrix.os }}.tar.gz + chmod +x anvil-zksync - name: Launch tests id: launch working-directory: ./e2e-tests-rust run: cargo test env: - ERA_TEST_NODE_BINARY_PATH: ../era_test_node + ANVIL_ZKSYNC_BINARY_PATH: ../anvil-zksync diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 87a0f230..ef45f8a7 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,4 +1,4 @@ -name: Testing era_test_node using e2e +name: Testing anvil-zksync using e2e on: workflow_call: @@ -24,16 +24,16 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v3 with: - name: era_test_node-${{ matrix.os }}.tar.gz + name: anvil-zksync-${{ matrix.os }}.tar.gz - - name: Start the era_test_node + - name: Start the anvil-zksync id: start_node run: | - echo "Extracting era_test_node binary" - tar -xzf era_test_node-${{ matrix.os }}.tar.gz - chmod +x era_test_node + echo "Extracting anvil-zksync binary" + tar -xzf anvil-zksync-${{ matrix.os }}.tar.gz + chmod +x anvil-zksync echo "Starting node in background" - ./era_test_node 2>&1 | tee era_test_node_output.log & + ./anvil-zksync 2>&1 | tee anvil-zksync-output.log & echo "PID=$!" >> $GITHUB_ENV - name: Launch tests @@ -42,9 +42,9 @@ jobs: echo "Run tests" make test-e2e - - name: Stop the era_test_node and print output logs + - name: Stop the anvil-zksync and print output logs id: stop_node if: always() run: | - cat era_test_node_output.log + cat anvil-zksync-output.log kill $PID diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3f5e542..41c73a04 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,16 +1,16 @@ -# This workflow is borrowed from reth, which is borrowed from Lighthouse: +# This workflow is borrowed from reth, which is borrowed from Lighthouse: # reth: https://github.com/paradigmxyz/reth/blob/500b0fac135fe07635d871d64467326599e2b27e/.github/workflows/release.yml # lighthouse: https://github.com/sigp/lighthouse/blob/693886b94176faa4cb450f024696cb69cda2fe58/.github/workflows/release.yml name: release on: - push: + push: tags: - v* env: - REPO_NAME: ${{ github.repository_owner }}/era-test-node + REPO_NAME: ${{ github.repository_owner }}/anvil-zksync CARGO_TERM_COLOR: always RUSTFLAGS: "" @@ -29,16 +29,22 @@ jobs: name: build release strategy: matrix: - arch: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, x86_64-apple-darwin, aarch64-apple-darwin] + arch: + [ + x86_64-unknown-linux-gnu, + aarch64-unknown-linux-gnu, + x86_64-apple-darwin, + aarch64-apple-darwin, + ] include: - - arch: x86_64-unknown-linux-gnu - platform: ubuntu-20.04 - - arch: aarch64-unknown-linux-gnu - platform: ubuntu-20.04 - - arch: x86_64-apple-darwin - platform: macos-latest - - arch: aarch64-apple-darwin - platform: macos-latest + - arch: x86_64-unknown-linux-gnu + platform: ubuntu-20.04 + - arch: aarch64-unknown-linux-gnu + platform: ubuntu-20.04 + - arch: x86_64-apple-darwin + platform: macos-latest + - arch: aarch64-apple-darwin + platform: macos-latest runs-on: ${{ matrix.platform }} needs: [extract-version] @@ -66,37 +72,37 @@ jobs: run: | cargo install cross --git https://github.com/cross-rs/cross --tag v0.2.4 - - name: Build era-test-node for ${{ matrix.arch }} + - name: Build anvil-zksync for ${{ matrix.arch }} run: | make build-${{ matrix.arch }} - + - name: Rename and move binary - run: | + run: | mkdir artifacts - mv target/${{ matrix.arch }}/release/era_test_node ./artifacts - + mv target/${{ matrix.arch }}/release/anvil-zksync ./artifacts + - name: Create artifacts run: | cd artifacts - tar -czf era_test_node-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz era_test_node* + tar -czf anvil-zksync-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz anvil-zksync* mv *tar.gz* .. - + # ======================================================================= # Upload artifacts # This is required to share artifacts between different jobs # ======================================================================= - - name: Upload artifact - uses: actions/upload-artifact@v3 + - name: Upload artifact + uses: actions/upload-artifact@v3 with: - name: era_test_node-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz - path: era_test_node-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz + name: anvil-zksync-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz + path: anvil-zksync-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz draft-release: name: draft release - needs: [build, extract-version] + needs: [build, extract-version] runs-on: ubuntu-latest env: - VERSION: ${{ needs.extract-version.outputs.VERSION }} + VERSION: ${{ needs.extract-version.outputs.VERSION }} permissions: # Required to post the release contents: write @@ -122,14 +128,14 @@ jobs: echo "CHANGELOG<> $GITHUB_OUTPUT echo "$(git log --pretty=format:"- %s" $(git describe --tags --abbrev=0 ${{ env.VERSION }}^)..${{ env.VERSION }})" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - + - name: Generate list of contributors id: contributors run: | echo "CONTRIBUTORS<> $GITHUB_OUTPUT echo "$(git log --pretty=format:"- %aN (%aE)" $(git describe --tags --abbrev=0 ${{ env.VERSION }}^)..${{ env.VERSION }} | sort | uniq)" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - + - name: Create release draft env: GITHUB_USER: ${{ github.repository_owner }} @@ -142,38 +148,38 @@ jobs: [![YouTube Release Notes](https://img.youtube.com/vi/FZefCZW7JJk/0.jpg)](https://www.youtube.com/watch?v=FZefCZW7JJk)--> ## 📋 Summary - + ### 🐛 Bug Fixes: - TBD - + ### ✨ New Features: - TBD - + ### ⚠️ Breaking Changes: - TBD - + ## 📜 All Changes - + ${{ steps.changelog.outputs.CHANGELOG }} - + ## ⭐ Contributors - + ${{ steps.contributors.outputs.CONTRIBUTORS }} - + ## 📥 Binaries - + | System | Architecture | Binary | |:---:|:---:|:---:| - | | x86_64 | [era-test-node-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/era_test_node-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | - | | aarch64 | [era-test-node-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/era_test_node-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz) | - | | x86_64 | [era-test-node-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/era_test_node-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz) | - | | aarch64 | [era-test-node-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/era_test_node-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz) | + | | x86_64 | [anvil-zksync-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/anvil-zksync-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | + | | aarch64 | [anvil-zksync-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/anvil-zksync-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz) | + | | x86_64 | [anvil-zksync-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/anvil-zksync-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz) | + | | aarch64 | [anvil-zksync-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/anvil-zksync-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz) | | | | | ENDBODY ) assets=() - for asset in ./era_test_node-*.tar.gz*; do + for asset in ./anvil-zksync-*.tar.gz*; do assets+=("$asset/$asset") done tag_name="${{ env.VERSION }}" - echo "$body" | gh release create "$tag_name" "${assets[@]}" --draft -F "-" -t "Release: $tag_name" \ No newline at end of file + echo "$body" | gh release create "$tag_name" "${assets[@]}" --draft -F "-" -t "Release: $tag_name" diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index 6870e341..87a50ac0 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -1,4 +1,4 @@ -name: Testing era_test_node against ETH spec +name: Testing anvil-zksync against ETH spec on: workflow_call: @@ -14,14 +14,14 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v3 with: - name: era_test_node-ubuntu-latest.tar.gz + name: anvil-zksync-ubuntu-latest.tar.gz - - name: Extract era_test_node + - name: Extract anvil-zksync id: extract_node run: | - echo "Extracting era_test_node binary" - tar -xzf era_test_node-ubuntu-latest.tar.gz - chmod +x era_test_node + echo "Extracting anvil-zksync binary" + tar -xzf anvil-zksync-ubuntu-latest.tar.gz + chmod +x anvil-zksync - name: Build ETH spec id: build_eth_spec @@ -33,4 +33,4 @@ jobs: working-directory: ./spec-tests run: cargo test env: - ERA_TEST_NODE_BINARY_PATH: ../era_test_node + ANVIL_ZKSYNC_BINARY_PATH: ../anvil-zksync diff --git a/.vscode/launch.json b/.vscode/launch.json index 2373fac6..22e51cf6 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,15 +7,15 @@ { "type": "lldb", "request": "launch", - "name": "Debug era_test_node", + "name": "Debug anvil-zksync", "cargo": { "args": [ "build", - "--bin=era_test_node", - "--package=era_test_node" + "--bin=anvil-zksync", + "--package=anvil-zksync" ], "filter": { - "name": "era_test_node", + "name": "anvil-zksync", "kind": "bin" } }, @@ -30,15 +30,15 @@ { "type": "lldb", "request": "launch", - "name": "Debug era_test_node w/ system-contracts", + "name": "Debug anvil-zksync w/ system-contracts", "cargo": { "args": [ "build", - "--bin=era_test_node", - "--package=era_test_node" + "--bin=anvil-zksync", + "--package=anvil-zksync" ], "filter": { - "name": "era_test_node", + "name": "anvil-zksync", "kind": "bin" } }, diff --git a/Cargo.lock b/Cargo.lock index 33c5d2e2..25b3b798 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,24 +14,24 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ "gimli", ] [[package]] -name = "adler" -version = "1.0.2" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "aes" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if 1.0.0", "cipher", @@ -45,7 +45,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if 1.0.0", - "getrandom 0.2.12", + "getrandom 0.2.15", "once_cell", "serde", "version_check", @@ -54,18 +54,18 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9" [[package]] name = "alloy" @@ -94,13 +94,13 @@ dependencies = [ [[package]] name = "alloy-chains" -version = "0.1.42" +version = "0.1.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca4a1469a3e572e9ba362920ff145f5d0a00a3e71a64ddcb4a3659cf64c76a7" +checksum = "18c5c520273946ecf715c0010b4e3503d7eba9893cd9ce6b7fff5654c4a3c470" dependencies = [ "alloy-primitives", - "num_enum 0.7.2", - "strum 0.26.3", + "num_enum 0.7.3", + "strum", ] [[package]] @@ -135,16 +135,16 @@ dependencies = [ "alloy-rpc-types-eth", "alloy-sol-types", "alloy-transport", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "thiserror", ] [[package]] name = "alloy-core" -version = "0.8.9" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cce174ca699ddee3bfb2ec1fbd99ad7efd05eca20c5c888d8320db41f7e8f04" +checksum = "e8d22df68fa7d9744be0b1a9be3260e9aa089fbf41903ab182328333061ed186" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -155,9 +155,9 @@ dependencies = [ [[package]] name = "alloy-dyn-abi" -version = "0.8.9" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5647fce5a168f9630f935bf7821c4207b1755184edaeba783cb4e11d35058484" +checksum = "1cf633ae9a1f0c82fdb9e559ed2be1c8e415c3e48fc47e1feaf32c6078ec0cdd" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -167,7 +167,7 @@ dependencies = [ "itoa", "serde", "serde_json", - "winnow 0.6.19", + "winnow 0.6.20", ] [[package]] @@ -190,7 +190,7 @@ dependencies = [ "alloy-primitives", "alloy-rlp", "derive_more 1.0.0", - "k256 0.13.3", + "k256 0.13.4", "serde", ] @@ -225,9 +225,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84c506bf264110fa7e90d9924f742f40ef53c6572ea56a0b0bd714a567ed389" +checksum = "1a500037938085feed8a20dbfc8fce58c599db68c948cfae711147175dee392c" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -285,9 +285,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fce5dbd6a4f118eecc4719eaa9c7ffc31c315e6c5ccde3642db927802312425" +checksum = "3aeeb5825c2fc8c2662167058347cd0cafc3cb15bcb5cdb1758a63c2dca0409e" dependencies = [ "alloy-rlp", "bytes", @@ -295,11 +295,11 @@ dependencies = [ "const-hex", "derive_more 1.0.0", "foldhash", - "hashbrown 0.15.0", + "hashbrown 0.15.2", "hex-literal", - "indexmap 2.5.0", + "indexmap 2.6.0", "itoa", - "k256 0.13.3", + "k256 0.13.4", "keccak-asm", "paste", "proptest", @@ -335,12 +335,12 @@ dependencies = [ "async-trait", "auto_impl", "dashmap", - "futures 0.3.30", + "futures 0.3.31", "futures-utils-wasm", "lru", "parking_lot 0.12.3", "pin-project", - "reqwest 0.12.7", + "reqwest 0.12.9", "schnellru", "serde", "serde_json", @@ -361,7 +361,7 @@ dependencies = [ "alloy-primitives", "alloy-transport", "bimap", - "futures 0.3.30", + "futures 0.3.31", "serde", "serde_json", "tokio", @@ -377,7 +377,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da0822426598f95e45dd1ea32a738dac057529a709ee645fcc516ffa4cbde08f" dependencies = [ "alloy-rlp-derive", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bytes", ] @@ -389,7 +389,7 @@ checksum = "2b09cae092c27b6f1bde952653a22708691802e57bfef4a2973b80bea21efd3f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -405,9 +405,9 @@ dependencies = [ "alloy-transport-http", "alloy-transport-ipc", "alloy-transport-ws", - "futures 0.3.30", + "futures 0.3.31", "pin-project", - "reqwest 0.12.7", + "reqwest 0.12.9", "serde", "serde_json", "tokio", @@ -444,7 +444,7 @@ dependencies = [ "alloy-serde", "derive_more 1.0.0", "serde", - "strum 0.26.3", + "strum", ] [[package]] @@ -487,7 +487,7 @@ dependencies = [ "async-trait", "auto_impl", "elliptic-curve 0.13.8", - "k256 0.13.3", + "k256 0.13.4", "thiserror", ] @@ -504,76 +504,76 @@ dependencies = [ "async-trait", "coins-bip32 0.12.0", "coins-bip39 0.12.0", - "k256 0.13.3", + "k256 0.13.4", "rand 0.8.5", "thiserror", ] [[package]] name = "alloy-sol-macro" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9343289b4a7461ed8bab8618504c995c049c082b70c7332efd7b32125633dc05" +checksum = "5c0279d09463a4695788a3622fd95443625f7be307422deba4b55dd491a9c7a1" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "alloy-sol-macro-expander" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4222d70bec485ceccc5d8fd4f2909edd65b5d5e43d4aca0b5dcee65d519ae98f" +checksum = "4feea540fc8233df2ad1156efd744b2075372f43a8f942a68b3b19c8a00e2c12" dependencies = [ "alloy-json-abi", "alloy-sol-macro-input", "const-hex", - "heck 0.5.0", - "indexmap 2.5.0", + "heck", + "indexmap 2.6.0", "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "syn-solidity", "tiny-keccak 2.0.2", ] [[package]] name = "alloy-sol-macro-input" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e17f2677369571b976e51ea1430eb41c3690d344fef567b840bfc0b01b6f83a" +checksum = "2a0ad281f3d1b613af814b66977ee698e443d4644a1510962d0241f26e0e53ae" dependencies = [ "alloy-json-abi", "const-hex", "dunce", - "heck 0.5.0", + "heck", "proc-macro2", "quote", "serde_json", - "syn 2.0.87", + "syn 2.0.89", "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa64d80ae58ffaafdff9d5d84f58d03775f66c84433916dc9a64ed16af5755da" +checksum = "96eff16c797438add6c37bb335839d015b186c5421ee5626f5559a7bfeb38ef5" dependencies = [ "serde", - "winnow 0.6.19", + "winnow 0.6.20", ] [[package]] name = "alloy-sol-types" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6520d427d4a8eb7aa803d852d7a52ceb0c519e784c292f64bb339e636918cf27" +checksum = "cff34e0682d6665da243a3e81da96f07a2dd50f7e64073e382b1a141f5a2a2f6" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -610,7 +610,7 @@ checksum = "91fd1a5d0827939847983b46f2f79510361f901dc82f8e3c38ac7397af142c6e" dependencies = [ "alloy-json-rpc", "alloy-transport", - "reqwest 0.12.7", + "reqwest 0.12.9", "serde_json", "tower 0.5.1", "tracing", @@ -627,12 +627,12 @@ dependencies = [ "alloy-pubsub", "alloy-transport", "bytes", - "futures 0.3.30", + "futures 0.3.31", "interprocess", "pin-project", "serde_json", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", ] @@ -644,9 +644,9 @@ checksum = "61f27837bb4a1d6c83a28231c94493e814882f0e9058648a97e908a5f3fc9fcf" dependencies = [ "alloy-pubsub", "alloy-transport", - "futures 0.3.30", + "futures 0.3.31", "http 1.1.0", - "rustls 0.23.13", + "rustls 0.23.19", "serde_json", "tokio", "tokio-tungstenite 0.24.0", @@ -671,57 +671,110 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.11" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" +checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.6" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "windows-sys 0.59.0", +] + +[[package]] +name = "anvil-zksync" +version = "0.1.0-alpha.34" +dependencies = [ + "alloy", + "alloy-signer", + "alloy-signer-local", + "anyhow", + "bigdecimal 0.3.1", + "chrono", + "clap", + "colored", + "ethabi 16.0.0", + "ethers", + "eyre", + "fs2", + "futures 0.3.31", + "hex", + "httptest", + "indexmap 2.6.0", + "itertools 0.10.5", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "jsonrpc-http-server", + "jsonschema", + "lazy_static", + "maplit", + "once_cell", + "openrpc-types", + "openssl-sys", + "rand 0.8.5", + "reqwest 0.11.27", + "rustc-hash 1.1.0", + "schemars", + "serde", + "serde_json", + "tempdir", + "test-case", + "test-log", + "time", + "tokio", + "tracing", + "tracing-subscriber", + "zksync-web3-rs", + "zksync_contracts", + "zksync_multivm", + "zksync_types", + "zksync_utils", + "zksync_web3_decl", ] [[package]] name = "anyhow" -version = "1.0.79" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" +checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775" [[package]] name = "ark-ff" @@ -757,7 +810,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "zeroize", ] @@ -849,9 +902,9 @@ dependencies = [ [[package]] name = "arrayref" -version = "0.3.7" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -861,9 +914,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "ascii-canvas" @@ -876,9 +929,9 @@ dependencies = [ [[package]] name = "async-stream" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" dependencies = [ "async-stream-impl", "futures-core", @@ -887,24 +940,24 @@ dependencies = [ [[package]] name = "async-stream-impl" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "async-trait" -version = "0.1.77" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -913,9 +966,9 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "pharos", - "rustc_version 0.4.0", + "rustc_version 0.4.1", ] [[package]] @@ -932,32 +985,31 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "autocfg" -version = "1.1.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "aws-lc-rs" -version = "1.9.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f95446d919226d587817a7d21379e6eb099b97b45110a7f272a444ca5c54070" +checksum = "f47bb8cc16b669d267eeccf585aea077d0882f4777b1c1f740217885d6e6e5a3" dependencies = [ "aws-lc-sys", - "mirai-annotations", "paste", "zeroize", ] [[package]] name = "aws-lc-sys" -version = "0.21.2" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3ddc4a5b231dd6958b140ff3151b6412b3f4321fab354f399eec8f14b06df62" +checksum = "a2101df3813227bbaaaa0b04cd61c534c7954b22bd68d399b440be937dc63ff7" dependencies = [ "bindgen", "cc", @@ -970,9 +1022,9 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.5" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" +checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", "axum-core", @@ -989,17 +1041,17 @@ dependencies = [ "pin-project-lite", "rustversion", "serde", - "sync_wrapper 1.0.1", - "tower 0.4.13", + "sync_wrapper 1.0.2", + "tower 0.5.1", "tower-layer", "tower-service", ] [[package]] name = "axum-core" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6b8ba012a258d63c9adfa28b9ddcf66149da6f986c5b5452e629d5ee64bf00" +checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" dependencies = [ "async-trait", "bytes", @@ -1010,24 +1062,24 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "tower-layer", "tower-service", ] [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", - "cc", "cfg-if 1.0.0", "libc", "miniz_oxide", "object", "rustc-demangle", + "windows-targets 0.52.6", ] [[package]] @@ -1095,9 +1147,9 @@ dependencies = [ [[package]] name = "bigdecimal" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d712318a27c7150326677b321a5fa91b55f6d9034ffd67f20319e147d40cee" +checksum = "8f850665a0385e070b64c38d2354e6c104c8479c59868d1e48a0c13ee2c7a1c1" dependencies = [ "autocfg", "libm", @@ -1123,9 +1175,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.69.4" +version = "0.69.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" +checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" dependencies = [ "bitflags 2.6.0", "cexpr", @@ -1140,7 +1192,7 @@ dependencies = [ "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.87", + "syn 2.0.89", "which", ] @@ -1285,7 +1337,7 @@ version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68ec2f007ff8f90cc459f03e9f30ca1065440170f013c868823646e2e48d0234" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bincode", "blake2", "const_format", @@ -1339,9 +1391,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" +checksum = "1a68f1f47cdf0ec8ee4b941b2eee2a80cb796db73118c0dd09ac63fbe405be22" dependencies = [ "memchr", "serde", @@ -1349,9 +1401,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -1373,9 +1425,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.2" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" +checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" dependencies = [ "serde", ] @@ -1418,18 +1470,18 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.6" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -1450,9 +1502,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.21" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" +checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ "jobserver", "libc", @@ -1629,9 +1681,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -1640,9 +1692,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.18" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" +checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f" dependencies = [ "clap_builder", "clap_derive", @@ -1650,39 +1702,39 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.18" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" +checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec" dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim", + "strsim 0.11.1", ] [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ - "heck 0.4.1", + "heck", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" [[package]] name = "cmake" -version = "0.1.51" +version = "0.1.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb1e43aa7fd152b1f968787f7dbcdeb306d1867ff373c69955211876c053f91a" +checksum = "c682c223677e0e5b6b7f63a64b9351844c3f1b1678a68b7ee617e30fb082620e" dependencies = [ "cc", ] @@ -1697,7 +1749,7 @@ dependencies = [ "coins-core 0.8.7", "digest 0.10.7", "hmac", - "k256 0.13.3", + "k256 0.13.4", "serde", "sha2 0.10.8", "thiserror", @@ -1713,7 +1765,7 @@ dependencies = [ "coins-core 0.12.0", "digest 0.10.7", "hmac", - "k256 0.13.3", + "k256 0.13.4", "serde", "sha2 0.10.8", "thiserror", @@ -1792,9 +1844,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" [[package]] name = "colored" @@ -1824,9 +1876,9 @@ checksum = "bed69047ed42e52c7e38d6421eeb8ceefb4f2a2b52eed59137f7bad7908f6800" [[package]] name = "const-hex" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0121754e84117e65f9d90648ee6aa4882a6e63110307ab73967a4c5e7e69e586" +checksum = "487981fa1af147182687064d0a2c336586d337a606595ced9ffb0c685c250c73" dependencies = [ "cfg-if 1.0.0", "cpufeatures", @@ -1843,18 +1895,18 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const_format" -version = "0.2.32" +version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3a214c7af3d04997541b18d432afaff4c455e79e2029079647e72fc2bd27673" +checksum = "50c655d81ff1114fb0dcdea9225ea9f0cc712a6f8d189378e82bdf62a473a64b" dependencies = [ "const_format_proc_macros", ] [[package]] name = "const_format_proc_macros" -version = "0.2.32" +version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f6ff08fd20f4f299298a28e2dfa8a8ba1036e6cd2460ac1de7b425d76f2500" +checksum = "eff1a44b93f47b1bac19a27932f5c591e43d1ba357ee4f61526c8a25603f0eb1" dependencies = [ "proc-macro2", "quote", @@ -1894,24 +1946,24 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.12" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if 1.0.0", ] @@ -1931,9 +1983,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.11" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176dc175b78f56c0f321911d9c8eb2b77a78a4860b9c19db83835fea1a46649b" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ "crossbeam-utils", ] @@ -1968,9 +2020,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" @@ -2014,12 +2066,12 @@ dependencies = [ [[package]] name = "ctor" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f" +checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" dependencies = [ "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2051,7 +2103,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim", + "strsim 0.10.0", "syn 1.0.109", ] @@ -2077,14 +2129,14 @@ dependencies = [ "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.10", ] [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "debugid" @@ -2093,7 +2145,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" dependencies = [ "serde", - "uuid 1.7.0", + "uuid 1.11.0", ] [[package]] @@ -2108,9 +2160,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "pem-rfc7468", @@ -2140,15 +2192,15 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "convert_case 0.4.0", "proc-macro2", "quote", - "rustc_version 0.4.0", - "syn 1.0.109", + "rustc_version 0.4.1", + "syn 2.0.89", ] [[package]] @@ -2168,7 +2220,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "unicode-xid", ] @@ -2249,7 +2301,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2266,9 +2318,9 @@ checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dunce" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dyn-clone" @@ -2294,7 +2346,7 @@ version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der 0.7.8", + "der 0.7.9", "digest 0.10.7", "elliptic-curve 0.13.8", "rfc6979 0.4.0", @@ -2304,9 +2356,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" @@ -2368,32 +2420,32 @@ dependencies = [ [[package]] name = "ena" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" +checksum = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5" dependencies = [ "log", ] [[package]] name = "encoding_rs" -version = "0.8.33" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ "cfg-if 1.0.0", ] [[package]] name = "enr" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe81b5c06ecfdbc71dd845216f225f53b62a10cb8a16c946836a3467f701d05b" +checksum = "2a3d8dc56e02f954cac8eb489772c552c473346fc34f67412bb6244fd647f7e4" dependencies = [ "base64 0.21.7", "bytes", "hex", - "k256 0.13.3", + "k256 0.13.4", "log", "rand 0.8.5", "rlp", @@ -2411,7 +2463,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2463,63 +2515,11 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[package]] -name = "era_test_node" -version = "0.1.0-alpha.34" -dependencies = [ - "alloy", - "alloy-signer", - "alloy-signer-local", - "anyhow", - "bigdecimal 0.3.1", - "chrono", - "clap", - "colored", - "ethabi 16.0.0", - "ethers", - "eyre", - "fs2", - "futures 0.3.30", - "hex", - "httptest", - "indexmap 2.5.0", - "itertools 0.10.5", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", - "jsonrpc-http-server", - "jsonschema", - "lazy_static", - "maplit", - "once_cell", - "openrpc-types", - "openssl-sys", - "rand 0.8.5", - "reqwest 0.11.24", - "rustc-hash 1.1.0", - "schemars", - "serde", - "serde_json", - "tempdir", - "test-case", - "test-log", - "time", - "tokio", - "tracing", - "tracing-subscriber", - "zksync-web3-rs", - "zksync_contracts", - "zksync_multivm", - "zksync_types", - "zksync_utils", - "zksync_web3_decl", -] - [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -2639,9 +2639,9 @@ dependencies = [ [[package]] name = "ethers" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c7cd562832e2ff584fa844cd2f6e5d4f35bbe11b28c7c9b8df957b2e1d0c701" +checksum = "816841ea989f0c69e459af1cf23a6b0033b19a55424a1ea3a30099becdb8dec0" dependencies = [ "ethers-addressbook", "ethers-contract", @@ -2655,9 +2655,9 @@ dependencies = [ [[package]] name = "ethers-addressbook" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35dc9a249c066d17e8947ff52a4116406163cf92c7f0763cb8c001760b26403f" +checksum = "5495afd16b4faa556c3bba1f21b98b4983e53c1755022377051a975c3b021759" dependencies = [ "ethers-core", "once_cell", @@ -2667,9 +2667,9 @@ dependencies = [ [[package]] name = "ethers-contract" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43304317c7f776876e47f2f637859f6d0701c1ec7930a150f169d5fbe7d76f5a" +checksum = "6fceafa3578c836eeb874af87abacfb041f92b4da0a78a5edd042564b8ecdaaa" dependencies = [ "const-hex", "ethers-contract-abigen", @@ -2686,9 +2686,9 @@ dependencies = [ [[package]] name = "ethers-contract-abigen" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f96502317bf34f6d71a3e3d270defaa9485d754d789e15a8e04a84161c95eb" +checksum = "04ba01fbc2331a38c429eb95d4a570166781f14290ef9fdb144278a90b5a739b" dependencies = [ "Inflector", "const-hex", @@ -2700,19 +2700,19 @@ dependencies = [ "proc-macro2", "quote", "regex", - "reqwest 0.11.24", + "reqwest 0.11.27", "serde", "serde_json", - "syn 2.0.87", - "toml 0.8.13", + "syn 2.0.89", + "toml 0.8.19", "walkdir", ] [[package]] name = "ethers-contract-derive" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "452ff6b0a64507ce8d67ffd48b1da3b42f03680dcf5382244e9c93822cbbf5de" +checksum = "87689dcabc0051cde10caaade298f9e9093d65f6125c14575db3fd8c669a168f" dependencies = [ "Inflector", "const-hex", @@ -2721,16 +2721,16 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "ethers-core" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aab3cef6cc1c9fd7f787043c81ad3052eff2b96a3878ef1526aa446311bdbfc9" +checksum = "82d80cc6ad30b14a48ab786523af33b37f28a8623fc06afd55324816ef18fb1f" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bytes", "cargo_metadata", "chrono", @@ -2738,16 +2738,16 @@ dependencies = [ "elliptic-curve 0.13.8", "ethabi 18.0.0", "generic-array", - "k256 0.13.3", - "num_enum 0.7.2", + "k256 0.13.4", + "num_enum 0.7.3", "once_cell", "open-fastrlp", "rand 0.8.5", "rlp", "serde", "serde_json", - "strum 0.25.0", - "syn 2.0.87", + "strum", + "syn 2.0.89", "tempfile", "thiserror", "tiny-keccak 2.0.2", @@ -2756,13 +2756,13 @@ dependencies = [ [[package]] name = "ethers-etherscan" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d45b981f5fa769e1d0343ebc2a44cfa88c9bc312eb681b676318b40cef6fb1" +checksum = "e79e5973c26d4baf0ce55520bd732314328cabe53193286671b47144145b9649" dependencies = [ "chrono", "ethers-core", - "reqwest 0.11.24", + "reqwest 0.11.27", "semver 1.0.23", "serde", "serde_json", @@ -2772,9 +2772,9 @@ dependencies = [ [[package]] name = "ethers-middleware" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "145211f34342487ef83a597c1e69f0d3e01512217a7c72cc8a25931854c7dca0" +checksum = "48f9fdf09aec667c099909d91908d5eaf9be1bd0e2500ba4172c1d28bfaa43de" dependencies = [ "async-trait", "auto_impl", @@ -2787,7 +2787,7 @@ dependencies = [ "futures-locks", "futures-util", "instant", - "reqwest 0.11.24", + "reqwest 0.11.27", "serde", "serde_json", "thiserror", @@ -2799,9 +2799,9 @@ dependencies = [ [[package]] name = "ethers-providers" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb6b15393996e3b8a78ef1332d6483c11d839042c17be58decc92fa8b1c3508a" +checksum = "6434c9a33891f1effc9c75472e12666db2fa5a0fec4b29af6221680a6fe83ab2" dependencies = [ "async-trait", "auto_impl", @@ -2814,12 +2814,12 @@ dependencies = [ "futures-timer", "futures-util", "hashers", - "http 0.2.11", + "http 0.2.12", "instant", "jsonwebtoken", "once_cell", "pin-project", - "reqwest 0.11.24", + "reqwest 0.11.27", "serde", "serde_json", "thiserror", @@ -2836,9 +2836,9 @@ dependencies = [ [[package]] name = "ethers-signers" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3b125a103b56aef008af5d5fb48191984aa326b50bfd2557d231dc499833de3" +checksum = "228875491c782ad851773b652dd8ecac62cda8571d3bc32a5853644dd26766c2" dependencies = [ "async-trait", "coins-bip32 0.8.7", @@ -2855,9 +2855,9 @@ dependencies = [ [[package]] name = "ethers-solc" -version = "2.0.13" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d21df08582e0a43005018a858cc9b465c5fff9cf4056651be64f844e57d1f55f" +checksum = "66244a771d9163282646dbeffe0e6eca4dda4146b6498644e678ac6089b11edd" dependencies = [ "cfg-if 1.0.0", "const-hex", @@ -2902,15 +2902,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298" dependencies = [ "bit-set 0.8.0", - "regex-automata 0.4.5", + "regex-automata 0.4.9", "regex-syntax 0.8.5", ] [[package]] name = "fastrand" -version = "2.0.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" [[package]] name = "fastrlp" @@ -2918,7 +2918,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "auto_impl", "bytes", ] @@ -2993,9 +2993,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" dependencies = [ "crc32fast", "miniz_oxide", @@ -3100,9 +3100,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -3115,9 +3115,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -3125,15 +3125,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -3143,9 +3143,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-locks" @@ -3159,32 +3159,32 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" dependencies = [ "gloo-timers", "send_wrapper 0.4.0", @@ -3192,9 +3192,9 @@ dependencies = [ [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures 0.1.31", "futures-channel", @@ -3248,9 +3248,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if 1.0.0", "libc", @@ -3259,9 +3259,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "glob" @@ -3271,14 +3271,14 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.14" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19" dependencies = [ "aho-corasick", - "bstr 1.9.0", + "bstr 1.11.0", "log", - "regex-automata 0.4.5", + "regex-automata 0.4.9", "regex-syntax 0.8.5", ] @@ -3292,7 +3292,7 @@ dependencies = [ "futures-core", "futures-sink", "gloo-utils", - "http 0.2.11", + "http 0.2.12", "js-sys", "pin-project", "serde", @@ -3352,28 +3352,28 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.24" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", "futures-core", "futures-sink", "futures-util", - "http 0.2.11", - "indexmap 2.5.0", + "http 0.2.12", + "indexmap 2.6.0", "slab", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", ] [[package]] name = "h2" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" +checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" dependencies = [ "atomic-waker", "bytes", @@ -3381,10 +3381,10 @@ dependencies = [ "futures-core", "futures-sink", "http 1.1.0", - "indexmap 2.5.0", + "indexmap 2.6.0", "slab", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", ] @@ -3408,9 +3408,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.0" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" dependencies = [ "allocator-api2", "equivalent", @@ -3429,21 +3429,21 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] -name = "heck" -version = "0.5.0" +name = "hermit-abi" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hermit-abi" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0c62115964e08cb8039170eb33c1d0e2388a256930279edca206fff675f82c3" +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "hex" @@ -3491,9 +3491,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -3518,7 +3518,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http 0.2.11", + "http 0.2.12", "pin-project-lite", ] @@ -3547,9 +3547,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" [[package]] name = "httpdate" @@ -3567,9 +3567,9 @@ dependencies = [ "bytes", "crossbeam-channel", "form_urlencoded", - "futures 0.3.30", - "http 0.2.11", - "hyper 0.14.28", + "futures 0.3.31", + "http 0.2.12", + "hyper 0.14.31", "log", "once_cell", "regex", @@ -3587,16 +3587,16 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "h2 0.3.24", - "http 0.2.11", + "h2 0.3.26", + "http 0.2.12", "http-body 0.4.6", "httparse", "httpdate", @@ -3611,14 +3611,14 @@ dependencies = [ [[package]] name = "hyper" -version = "1.4.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.6", + "h2 0.4.7", "http 1.1.0", "http-body 1.0.1", "httparse", @@ -3637,9 +3637,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http 0.2.11", - "hyper 0.14.28", - "rustls 0.21.10", + "http 0.2.12", + "hyper 0.14.31", + "rustls 0.21.12", "tokio", "tokio-rustls 0.24.1", ] @@ -3652,10 +3652,10 @@ checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", "http 1.1.0", - "hyper 1.4.1", + "hyper 1.5.1", "hyper-util", "log", - "rustls 0.23.13", + "rustls 0.23.19", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", @@ -3664,11 +3664,11 @@ dependencies = [ [[package]] name = "hyper-timeout" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" +checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" dependencies = [ - "hyper 1.4.1", + "hyper 1.5.1", "hyper-util", "pin-project-lite", "tokio", @@ -3682,7 +3682,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper 0.14.28", + "hyper 0.14.31", "native-tls", "tokio", "tokio-native-tls", @@ -3696,7 +3696,7 @@ checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.1", "hyper-util", "native-tls", "tokio", @@ -3706,16 +3706,16 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" +checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" dependencies = [ "bytes", "futures-channel", "futures-util", "http 1.1.0", "http-body 1.0.1", - "hyper 1.4.1", + "hyper 1.5.1", "pin-project-lite", "socket2", "tokio", @@ -3725,9 +3725,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -3861,7 +3861,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3872,24 +3872,23 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "0.5.0" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" dependencies = [ - "unicode-bidi", - "unicode-normalization", + "idna_adapter", + "smallvec", + "utf8_iter", ] [[package]] -name = "idna" -version = "1.0.2" +name = "idna_adapter" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd69211b9b519e98303c015e21a007e293db403b6c85b9b124e133d25e242cdd" +checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" dependencies = [ "icu_normalizer", "icu_properties", - "smallvec", - "utf8_iter", ] [[package]] @@ -3907,7 +3906,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" dependencies = [ - "parity-scale-codec 3.6.9", + "parity-scale-codec 3.7.0", ] [[package]] @@ -3939,13 +3938,13 @@ dependencies = [ [[package]] name = "impl-trait-for-tuples" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] @@ -3966,12 +3965,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" +checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "serde", ] @@ -3986,18 +3985,18 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if 1.0.0", ] [[package]] name = "interprocess" -version = "2.2.1" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f4e4a06d42fab3e85ab1b419ad32b09eab58b901d40c57935ff92db3287a13" +checksum = "894148491d817cb36b6f778017b8ac46b17408d522dd90f539d677ea938362eb" dependencies = [ "doctest-file", "futures-core", @@ -4010,21 +4009,27 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] name = "is-terminal" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" dependencies = [ - "hermit-abi", - "rustix", + "hermit-abi 0.4.0", + "libc", "windows-sys 0.52.0", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" + [[package]] name = "itertools" version = "0.10.5" @@ -4063,9 +4068,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "jni" @@ -4098,9 +4103,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.67" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" +checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" dependencies = [ "wasm-bindgen", ] @@ -4110,8 +4115,8 @@ name = "jsonrpc-client-transports" version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ - "derive_more 0.99.17", - "futures 0.3.30", + "derive_more 0.99.18", + "futures 0.3.31", "jsonrpc-core", "jsonrpc-pubsub", "log", @@ -4124,7 +4129,7 @@ name = "jsonrpc-core" version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "futures-executor", "futures-util", "log", @@ -4138,7 +4143,7 @@ name = "jsonrpc-core-client" version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "jsonrpc-client-transports", ] @@ -4158,8 +4163,8 @@ name = "jsonrpc-http-server" version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ - "futures 0.3.30", - "hyper 0.14.28", + "futures 0.3.31", + "hyper 0.14.31", "jsonrpc-core", "jsonrpc-server-utils", "log", @@ -4173,7 +4178,7 @@ name = "jsonrpc-pubsub" version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "jsonrpc-core", "lazy_static", "log", @@ -4188,7 +4193,7 @@ version = "18.0.0" source = "git+https://github.com/matter-labs/jsonrpc.git?branch=master#12c53e3e20c09c2fb9966a4ef1b0ea63de172540" dependencies = [ "bytes", - "futures 0.3.30", + "futures 0.3.31", "globset", "jsonrpc-core", "lazy_static", @@ -4230,14 +4235,14 @@ dependencies = [ "http 1.1.0", "jsonrpsee-core", "pin-project", - "rustls 0.23.13", + "rustls 0.23.19", "rustls-pki-types", "rustls-platform-verifier", "soketto", "thiserror", "tokio", "tokio-rustls 0.26.0", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", "url", ] @@ -4280,12 +4285,12 @@ dependencies = [ "async-trait", "base64 0.22.1", "http-body 1.0.1", - "hyper 1.4.1", + "hyper 1.5.1", "hyper-rustls 0.27.3", "hyper-util", "jsonrpsee-core", "jsonrpsee-types", - "rustls 0.23.13", + "rustls 0.23.19", "rustls-platform-verifier", "serde", "serde_json", @@ -4302,11 +4307,11 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7895f186d5921065d96e16bd795e5ca89ac8356ec423fafc6e3d7cf8ec11aee4" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -4320,7 +4325,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.1", "hyper-util", "jsonrpsee-core", "jsonrpsee-types", @@ -4332,7 +4337,7 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tower 0.4.13", "tracing", ] @@ -4376,9 +4381,9 @@ dependencies = [ [[package]] name = "jsonschema" -version = "0.26.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ae663abb3bb9e77538ee88a0eb69cbd3f62a8bf2018f848fbc60c2cdec024d" +checksum = "893d6229c7315763ca0df9b29ab7661ee419f286577a02847c5521b462e071af" dependencies = [ "ahash", "base64 0.22.1", @@ -4386,14 +4391,14 @@ dependencies = [ "email_address", "fancy-regex", "fraction", - "idna 1.0.2", + "idna", "itoa", "num-cmp", "once_cell", "percent-encoding", "referencing", "regex-syntax 0.8.5", - "reqwest 0.12.7", + "reqwest 0.12.9", "serde", "serde_json", "uuid-simd", @@ -4427,9 +4432,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ "cfg-if 1.0.0", "ecdsa 0.16.9", @@ -4460,31 +4465,33 @@ dependencies = [ [[package]] name = "lalrpop" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da4081d44f4611b66c6dd725e6de3169f9f63905421e8626fcb86b6a898998b8" +checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca" dependencies = [ "ascii-canvas", "bit-set 0.5.3", - "diff", "ena", - "is-terminal", - "itertools 0.10.5", + "itertools 0.11.0", "lalrpop-util", "petgraph", "regex", - "regex-syntax 0.7.5", + "regex-syntax 0.8.5", "string_cache", "term", "tiny-keccak 2.0.2", "unicode-xid", + "walkdir", ] [[package]] name = "lalrpop-util" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d" +checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" +dependencies = [ + "regex-automata 0.4.9", +] [[package]] name = "lazy_static" @@ -4500,54 +4507,53 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.153" +version = "0.2.166" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "c2ccc108bbc0b1331bd061864e7cd823c0cab660bbe6970e66e2c0614decde36" [[package]] name = "libloading" -version = "0.8.1" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" +checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if 1.0.0", - "windows-sys 0.48.0", + "windows-targets 0.52.6", ] [[package]] name = "libm" -version = "0.2.8" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" [[package]] name = "libredox" -version = "0.0.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.6.0", "libc", - "redox_syscall 0.4.1", ] [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "litemap" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" +checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -4579,7 +4585,7 @@ dependencies = [ "proc-macro2", "quote", "regex-syntax 0.6.29", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -4597,7 +4603,7 @@ version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "hashbrown 0.15.0", + "hashbrown 0.15.2", ] [[package]] @@ -4639,9 +4645,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "miette" @@ -4663,7 +4669,7 @@ checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -4680,43 +4686,37 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" dependencies = [ - "adler", + "adler2", ] [[package]] name = "mio" -version = "0.8.10" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi 0.3.9", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] -[[package]] -name = "mirai-annotations" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9be0862c1b3f26a88803c4a49de6889c10e608b3ee9344e6ef5b45fb37ad3d1" - [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" [[package]] name = "native-tls" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" dependencies = [ - "lazy_static", "libc", "log", "openssl", @@ -4741,9 +4741,9 @@ dependencies = [ [[package]] name = "new_debug_unreachable" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "nom" @@ -4870,7 +4870,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.9", "libc", ] @@ -4885,11 +4885,11 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" dependencies = [ - "num_enum_derive 0.7.2", + "num_enum_derive 0.7.3", ] [[package]] @@ -4901,35 +4901,35 @@ dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "num_enum_derive" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "num_threads" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" dependencies = [ "libc", ] [[package]] name = "object" -version = "0.32.2" +version = "0.36.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" dependencies = [ "memchr", ] @@ -4942,9 +4942,9 @@ checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "open-fastrlp" @@ -4952,7 +4952,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "auto_impl", "bytes", "ethereum-types 0.14.1", @@ -4986,9 +4986,9 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.63" +version = "0.10.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" +checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" dependencies = [ "bitflags 2.6.0", "cfg-if 1.0.0", @@ -5007,7 +5007,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -5018,18 +5018,18 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-src" -version = "300.2.2+3.2.1" +version = "300.4.1+3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bbfad0063610ac26ee79f7484739e2b07555a75c42453b89263830b5c8103bc" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" dependencies = [ "cc", ] [[package]] name = "openssl-sys" -version = "0.9.99" +version = "0.9.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" +checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", @@ -5074,7 +5074,7 @@ dependencies = [ "bytes", "http 1.1.0", "opentelemetry", - "reqwest 0.12.7", + "reqwest 0.12.9", ] [[package]] @@ -5091,7 +5091,7 @@ dependencies = [ "opentelemetry-proto", "opentelemetry_sdk", "prost 0.13.3", - "reqwest 0.12.7", + "reqwest 0.12.9", "thiserror", "tokio", "tonic", @@ -5153,13 +5153,13 @@ dependencies = [ [[package]] name = "os_info" -version = "3.7.0" +version = "3.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +checksum = "ae99c7fa6dd38c7cafe1ec085e804f8f555a2f8659b0dbe03f1f9963a9b51092" dependencies = [ "log", "serde", - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -5192,7 +5192,7 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec 0.20.4", "byte-slice-cast", "impl-trait-for-tuples", @@ -5202,15 +5202,16 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "8be4817d39f3272f69c59fe05d0535ae6456c2dc2fa1ba02910296c7e0a5c590" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec 1.0.1", "byte-slice-cast", "impl-trait-for-tuples", - "parity-scale-codec-derive 3.6.9", + "parity-scale-codec-derive 3.7.0", + "rustversion", "serde", ] @@ -5228,14 +5229,14 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "8781a75c6205af67215f382092b6e0a4ff3734798523e69073d4bcd294ec767b" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] @@ -5256,7 +5257,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.10", ] [[package]] @@ -5275,15 +5276,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.5.7", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -5299,9 +5300,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "path-slash" @@ -5368,12 +5369,12 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.5.0", + "indexmap 2.6.0", ] [[package]] @@ -5382,8 +5383,8 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" dependencies = [ - "futures 0.3.30", - "rustc_version 0.4.0", + "futures 0.3.31", + "rustc_version 0.4.1", ] [[package]] @@ -5416,7 +5417,7 @@ dependencies = [ "phf_shared 0.11.2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -5439,29 +5440,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.4" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" +checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.4" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" +checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" [[package]] name = "pin-utils" @@ -5485,15 +5486,15 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der 0.7.8", + "der 0.7.9", "spki 0.7.3", ] [[package]] name = "pkg-config" -version = "0.3.29" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "powerfmt" @@ -5503,9 +5504,12 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "precomputed-hash" @@ -5525,12 +5529,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.16" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" +checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -5588,15 +5592,6 @@ dependencies = [ "toml_edit 0.19.15", ] -[[package]] -name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.2", -] - [[package]] name = "proc-macro-crate" version = "3.2.0" @@ -5649,23 +5644,23 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus-client" -version = "0.22.2" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ca959da22a332509f2a73ae9e5f23f9dcfc31fd3a54d71f159495bd5909baa" +checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", @@ -5681,14 +5676,14 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "proptest" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" +checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" dependencies = [ "bit-set 0.5.3", "bit-vec 0.6.3", @@ -5706,12 +5701,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive 0.12.3", + "prost-derive 0.12.6", ] [[package]] @@ -5726,37 +5721,36 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes", - "heck 0.4.1", - "itertools 0.11.0", + "heck", + "itertools 0.12.1", "log", "multimap", "once_cell", "petgraph", "prettyplease", - "prost 0.12.3", + "prost 0.12.6", "prost-types", "regex", - "syn 2.0.87", + "syn 2.0.89", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -5769,7 +5763,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -5782,7 +5776,7 @@ dependencies = [ "logos", "miette", "once_cell", - "prost 0.12.3", + "prost 0.12.6", "prost-types", "serde", "serde-value", @@ -5790,11 +5784,11 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" dependencies = [ - "prost 0.12.3", + "prost 0.12.6", ] [[package]] @@ -5805,7 +5799,7 @@ checksum = "00bb76c5f6221de491fe2c8f39b106330bbd9762c6511119c07940e10eb9ff11" dependencies = [ "bytes", "miette", - "prost 0.12.3", + "prost 0.12.6", "prost-reflect", "prost-types", "protox-parse", @@ -5841,9 +5835,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -5948,7 +5942,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", ] [[package]] @@ -6015,20 +6009,20 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", ] [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", "libredox", "thiserror", ] @@ -6050,14 +6044,14 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "referencing" -version = "0.26.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c152a23ee0e5947ee31d9cfebc873a5aa3a249da9e59d2e76cd7416a13cc9a5d" +checksum = "eb853437e467c693ac1dc8c1520105a31b8c2588544ff2f3cfa5a7c706c6c069" dependencies = [ "ahash", "fluent-uri", @@ -6068,13 +6062,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.3" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.5", + "regex-automata 0.4.9", "regex-syntax 0.8.5", ] @@ -6089,9 +6083,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", @@ -6104,12 +6098,6 @@ version = "0.6.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" -[[package]] -name = "regex-syntax" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" - [[package]] name = "regex-syntax" version = "0.8.5" @@ -6127,19 +6115,19 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.24" +version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6920094eb85afde5e4a138be3f2de8bbdf28000f0029e72c45025a56b042251" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ "base64 0.21.7", "bytes", "encoding_rs", "futures-core", "futures-util", - "h2 0.3.24", - "http 0.2.11", + "h2 0.3.26", + "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.31", "hyper-rustls 0.24.2", "hyper-tls 0.5.0", "ipnet", @@ -6150,7 +6138,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "rustls 0.21.10", + "rustls 0.21.12", "rustls-pemfile 1.0.4", "serde", "serde_json", @@ -6171,9 +6159,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.7" +version = "0.12.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63" +checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" dependencies = [ "base64 0.22.1", "bytes", @@ -6181,11 +6169,11 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.4.6", + "h2 0.4.7", "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.1", "hyper-rustls 0.27.3", "hyper-tls 0.6.0", "hyper-util", @@ -6197,11 +6185,11 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "rustls-pemfile 2.1.2", + "rustls-pemfile 2.2.0", "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "system-configuration 0.6.1", "tokio", "tokio-native-tls", @@ -6251,16 +6239,17 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "getrandom 0.2.12", + "cfg-if 1.0.0", + "getrandom 0.2.15", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -6313,7 +6302,7 @@ dependencies = [ "fastrlp", "num-bigint", "num-traits", - "parity-scale-codec 3.6.9", + "parity-scale-codec 3.7.0", "primitive-types 0.12.2", "proptest", "rand 0.8.5", @@ -6332,9 +6321,9 @@ checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -6365,18 +6354,18 @@ dependencies = [ [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver 1.0.23", ] [[package]] name = "rustix" -version = "0.38.31" +version = "0.38.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" dependencies = [ "bitflags 2.6.0", "errno", @@ -6387,26 +6376,26 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-webpki 0.101.7", "sct", ] [[package]] name = "rustls" -version = "0.23.13" +version = "0.23.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8" +checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" dependencies = [ "aws-lc-rs", "log", "once_cell", - "ring 0.17.7", + "ring 0.17.8", "rustls-pki-types", "rustls-webpki 0.102.8", "subtle", @@ -6415,12 +6404,12 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.0" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" dependencies = [ "openssl-probe", - "rustls-pemfile 2.1.2", + "rustls-pemfile 2.2.0", "rustls-pki-types", "schannel", "security-framework", @@ -6437,19 +6426,18 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.1.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" dependencies = [ - "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.7.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" +checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" [[package]] name = "rustls-platform-verifier" @@ -6462,13 +6450,13 @@ dependencies = [ "jni", "log", "once_cell", - "rustls 0.23.13", + "rustls 0.23.19", "rustls-native-certs", "rustls-platform-verifier-android", "rustls-webpki 0.102.8", "security-framework", "security-framework-sys", - "webpki-roots 0.26.1", + "webpki-roots 0.26.7", "winapi", ] @@ -6484,7 +6472,7 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -6495,16 +6483,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "aws-lc-rs", - "ring 0.17.7", + "ring 0.17.8", "rustls-pki-types", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "rusty-fork" @@ -6520,9 +6508,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "salsa20" @@ -6544,35 +6532,35 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" dependencies = [ "cfg-if 1.0.0", - "derive_more 0.99.17", - "parity-scale-codec 3.6.9", + "derive_more 1.0.0", + "parity-scale-codec 3.7.0", "scale-info-derive", ] [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -6596,7 +6584,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6634,7 +6622,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -6659,7 +6647,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ "base16ct 0.2.0", - "der 0.7.8", + "der 0.7.9", "generic-array", "pkcs8 0.10.2", "subtle", @@ -6695,9 +6683,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ "bitflags 2.6.0", "core-foundation", @@ -6709,9 +6697,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.12.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" +checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2" dependencies = [ "core-foundation-sys", "libc", @@ -6737,9 +6725,9 @@ dependencies = [ [[package]] name = "semver-parser" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" dependencies = [ "pest", ] @@ -6764,7 +6752,7 @@ checksum = "6ce4b57f1b521f674df7a1d200be8ff5d74e3712020ee25b553146657b5377d5" dependencies = [ "httpdate", "native-tls", - "reqwest 0.11.24", + "reqwest 0.11.27", "sentry-backtrace", "sentry-contexts", "sentry-core", @@ -6796,7 +6784,7 @@ dependencies = [ "hostname", "libc", "os_info", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "sentry-core", "uname", ] @@ -6861,7 +6849,7 @@ dependencies = [ "thiserror", "time", "url", - "uuid 1.7.0", + "uuid 1.11.0", ] [[package]] @@ -6872,9 +6860,9 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.213" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" dependencies = [ "serde_derive", ] @@ -6891,13 +6879,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.213" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6908,14 +6896,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -6925,9 +6913,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -6969,11 +6957,11 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.32" +version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd075d994154d4a774f95b51fb96bdc2832b0ea48425c92546073816cda1f2f" +checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "itoa", "ryu", "serde", @@ -7085,9 +7073,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] @@ -7141,21 +7129,21 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" dependencies = [ "serde", ] [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7166,7 +7154,7 @@ checksum = "37468c595637c10857701c990f93a40ce0e357cedb0953d1c26c8d8027f9bb53" dependencies = [ "base64 0.22.1", "bytes", - "futures 0.3.30", + "futures 0.3.31", "http 1.1.0", "httparse", "log", @@ -7217,7 +7205,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der 0.7.8", + "der 0.7.9", ] [[package]] @@ -7252,13 +7240,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] -name = "strum" -version = "0.25.0" +name = "strsim" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" -dependencies = [ - "strum_macros 0.25.3", -] +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" @@ -7266,20 +7251,7 @@ version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ - "strum_macros 0.26.4", -] - -[[package]] -name = "strum_macros" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.87", + "strum_macros", ] [[package]] @@ -7288,18 +7260,18 @@ version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "rustversion", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "subtle" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "svm-rs" @@ -7311,7 +7283,7 @@ dependencies = [ "fs2", "hex", "once_cell", - "reqwest 0.11.24", + "reqwest 0.11.27", "semver 1.0.23", "serde", "serde_json", @@ -7334,9 +7306,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" dependencies = [ "proc-macro2", "quote", @@ -7345,14 +7317,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f76fe0a3e1476bdaa0775b9aec5b869ed9520c2b2fedfe9c6df3618f8ea6290b" +checksum = "6bdaa7b9e815582ba343a20c66627437cf45f1c6fba7f69772cbfd1358c7e197" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7363,9 +7335,9 @@ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" dependencies = [ "futures-core", ] @@ -7378,7 +7350,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7441,9 +7413,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.12.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" +checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" dependencies = [ "cfg-if 1.0.0", "fastrand", @@ -7490,7 +7462,7 @@ dependencies = [ "cfg-if 1.0.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7501,7 +7473,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "test-case-core", ] @@ -7524,7 +7496,7 @@ checksum = "5999e24eaa32083191ba4e425deb75cdf25efefabe5aaccb7446dd0d4122a3f5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7544,14 +7516,14 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if 1.0.0", "once_cell", @@ -7629,9 +7601,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -7644,32 +7616,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.36.0" +version = "1.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7688,7 +7659,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.10", + "rustls 0.21.12", "tokio", ] @@ -7698,21 +7669,21 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.13", + "rustls 0.23.19", "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", ] [[package]] @@ -7723,7 +7694,7 @@ checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ "futures-util", "log", - "rustls 0.21.10", + "rustls 0.21.12", "tokio", "tokio-rustls 0.24.1", "tungstenite 0.20.1", @@ -7738,12 +7709,12 @@ checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" dependencies = [ "futures-util", "log", - "rustls 0.23.13", + "rustls 0.23.19", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", "tungstenite 0.24.0", - "webpki-roots 0.26.1", + "webpki-roots 0.26.7", ] [[package]] @@ -7762,9 +7733,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", @@ -7772,7 +7743,6 @@ dependencies = [ "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] @@ -7786,9 +7756,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", @@ -7811,20 +7781,9 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.5.0", - "toml_datetime", - "winnow 0.5.37", -] - -[[package]] -name = "toml_edit" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" -dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "toml_datetime", - "winnow 0.5.37", + "winnow 0.5.40", ] [[package]] @@ -7833,29 +7792,29 @@ version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.19", + "winnow 0.6.20", ] [[package]] name = "tonic" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f6ba989e4b2c58ae83d862d3a3e27690b6e3ae630d0deb59f3697f32aa88ad" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" dependencies = [ "async-stream", "async-trait", "axum", "base64 0.22.1", "bytes", - "h2 0.4.6", + "h2 0.4.7", "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.1", "hyper-timeout", "hyper-util", "percent-encoding", @@ -7884,7 +7843,7 @@ dependencies = [ "rand 0.8.5", "slab", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tower-layer", "tower-service", "tracing", @@ -7918,9 +7877,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "log", "pin-project-lite", @@ -7930,20 +7889,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", "valuable", @@ -8035,11 +7994,11 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http 0.2.11", + "http 0.2.12", "httparse", "log", "rand 0.8.5", - "rustls 0.21.10", + "rustls 0.21.12", "sha1", "thiserror", "url", @@ -8059,7 +8018,7 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "rustls 0.23.13", + "rustls 0.23.19", "rustls-pki-types", "sha1", "thiserror", @@ -8107,51 +8066,33 @@ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" [[package]] name = "unicase" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" +checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-segmentation" -version = "1.10.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "unroll" @@ -8165,9 +8106,9 @@ dependencies = [ [[package]] name = "unsafe-libyaml" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab4c90930b95a82d00dc9e9ac071b4991924390d46cbd0dfe566148667605e4b" +checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" [[package]] name = "untrusted" @@ -8183,11 +8124,11 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "2.9.1" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cdd25c339e200129fe4de81451814e5228c9b771d57378817d6117cc2b3f97" +checksum = "b74fc6b57825be3373f7054754755f03ac3a8f5d70015ccad699ba2029956f4a" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "log", "native-tls", "once_cell", @@ -8196,12 +8137,12 @@ dependencies = [ [[package]] name = "url" -version = "2.5.0" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna", "percent-encoding", "serde", ] @@ -8226,9 +8167,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" @@ -8236,15 +8177,15 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", "serde", ] [[package]] name = "uuid" -version = "1.7.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" +checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" dependencies = [ "serde", ] @@ -8256,7 +8197,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b082222b4f6619906941c17eb2297fff4c2fb96cb60164170522942a200bd8" dependencies = [ "outref", - "uuid 1.7.0", + "uuid 1.11.0", "vsimd", ] @@ -8274,9 +8215,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vise" @@ -8298,7 +8239,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "671d3b894d5d0849f0a597f56bf071f42d4f2a1cbcf2f78ca21f870ab7c0cc2b" dependencies = [ - "hyper 0.14.28", + "hyper 0.14.31", "once_cell", "tokio", "tracing", @@ -8313,7 +8254,7 @@ checksum = "6a511871dc5de990a3b2a0e715facfbc5da848c0c0395597a1415029fb7c250a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -8333,9 +8274,9 @@ dependencies = [ [[package]] name = "walkdir" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -8364,34 +8305,35 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.90" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" dependencies = [ "cfg-if 1.0.0", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.90" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.40" +version = "0.4.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bde2032aeb86bdfaecc8b261eef3cba735cc426c1f3a3416d1e0791be95fc461" +checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -8401,9 +8343,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.90" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -8411,22 +8353,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.90" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.90" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" +checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasmtimer" @@ -8434,7 +8376,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7ed9d8b15c7fb594d72bfb4b5a276f3d2029333cd93a932f376f5937f6f80ee" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "js-sys", "parking_lot 0.12.3", "pin-utils", @@ -8444,9 +8386,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.67" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58cd2333b6e0be7a39605f0e255892fd7418a682d8da8fe042fe25128794d2ed" +checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112" dependencies = [ "js-sys", "wasm-bindgen", @@ -8470,9 +8412,9 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "webpki-roots" -version = "0.26.1" +version = "0.26.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3de34ae270483955a94f4b21bdaaeb83d508bb84a01435f393818edb0012009" +checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" dependencies = [ "rustls-pki-types", ] @@ -8513,11 +8455,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "winapi", + "windows-sys 0.59.0", ] [[package]] @@ -8715,18 +8657,18 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.5.37" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cad8365489051ae9f054164e459304af2e7e9bb407c958076c8bf4aef52da5" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" dependencies = [ "memchr", ] [[package]] name = "winnow" -version = "0.6.19" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c52ac009d615e79296318c1bcce2d422aaca15ad08515e344feeda07df67a587" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] @@ -8760,11 +8702,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7999f5f4217fe3818726b66257a4475f71e74ffd190776ad053fa159e50737f5" dependencies = [ "async_io_stream", - "futures 0.3.30", + "futures 0.3.31", "js-sys", "log", "pharos", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "send_wrapper 0.6.0", "thiserror", "wasm-bindgen", @@ -8801,9 +8743,9 @@ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" [[package]] name = "yoke" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5" +checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" dependencies = [ "serde", "stable_deref_trait", @@ -8813,13 +8755,13 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" +checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "synstructure", ] @@ -8829,6 +8771,7 @@ version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ + "byteorder", "zerocopy-derive", ] @@ -8840,35 +8783,35 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "zerofrom" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55" +checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" +checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "synstructure", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -8881,7 +8824,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -8903,7 +8846,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -9052,7 +8995,7 @@ version = "0.140.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3c365c801e0c6eda83fbd153df45575172beb406bfb663d386f9154b4325eda" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bincode", "boojum", "derivative", @@ -9074,7 +9017,7 @@ version = "0.141.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ccd0352e122a4e6f0046d2163b7e692e627b23fc3264faa77331a21b65833fd" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bincode", "boojum", "derivative", @@ -9096,7 +9039,7 @@ version = "0.150.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d06fb35b00699d25175a2ad447f86a9088af8b0bc698bb57086fb04c13e52eab" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "boojum", "derivative", "hex", @@ -9146,7 +9089,7 @@ dependencies = [ "bitflags 2.6.0", "blake2", "ethereum-types 0.14.1", - "k256 0.13.3", + "k256 0.13.4", "lazy_static", "sha2 0.10.8", "sha3 0.10.8", @@ -9161,7 +9104,7 @@ dependencies = [ "bitflags 2.6.0", "blake2", "ethereum-types 0.14.1", - "k256 0.13.3", + "k256 0.13.4", "lazy_static", "p256", "serde", @@ -9199,12 +9142,12 @@ dependencies = [ "chrono", "ethabi 18.0.0", "hex", - "num_enum 0.7.2", + "num_enum 0.7.3", "secrecy", "serde", "serde_json", "serde_with", - "strum 0.26.3", + "strum", "thiserror", "tiny-keccak 2.0.2", "url", @@ -9216,13 +9159,13 @@ version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ffa03efe9bdb137a4b36b97d1a74237e18c9ae42b755163d903a9d48c1a5d80" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bit-vec 0.6.3", "blake2s_simd", "byteorder", "cfg-if 1.0.0", "crossbeam", - "futures 0.3.30", + "futures 0.3.31", "hex", "lazy_static", "num_cpus", @@ -9261,8 +9204,8 @@ dependencies = [ "rand 0.8.5", "secrecy", "serde", - "strum 0.26.3", - "strum_macros 0.26.4", + "strum", + "strum_macros", "time", "url", "vise", @@ -9420,7 +9363,7 @@ dependencies = [ "anyhow", "bit-vec 0.6.3", "once_cell", - "prost 0.12.3", + "prost 0.12.6", "prost-reflect", "quick-protobuf", "rand 0.8.5", @@ -9439,14 +9382,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4121952bcaf711005dd554612fc6e2de9b30cb58088508df87f1d38046ce8ac8" dependencies = [ "anyhow", - "heck 0.5.0", + "heck", "prettyplease", "proc-macro2", "prost-build", "prost-reflect", "protox", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -9465,21 +9408,21 @@ version = "0.1.0" source = "git+https://github.com/matter-labs/zksync-era.git?rev=6c034f6e180cc92e99766f14c8840c90efa56cec#6c034f6e180cc92e99766f14c8840c90efa56cec" dependencies = [ "anyhow", - "bigdecimal 0.4.5", + "bigdecimal 0.4.6", "blake2", "chrono", "derive_more 1.0.0", "hex", "itertools 0.10.5", "num", - "num_enum 0.7.2", + "num_enum 0.7.3", "once_cell", - "prost 0.12.3", + "prost 0.12.6", "rlp", "serde", "serde_json", "serde_with", - "strum 0.26.3", + "strum", "thiserror", "tracing", "zksync_basic_types", @@ -9498,12 +9441,12 @@ version = "0.1.0" source = "git+https://github.com/matter-labs/zksync-era.git?rev=6c034f6e180cc92e99766f14c8840c90efa56cec#6c034f6e180cc92e99766f14c8840c90efa56cec" dependencies = [ "anyhow", - "bigdecimal 0.4.5", - "futures 0.3.30", + "bigdecimal 0.4.6", + "futures 0.3.31", "hex", "num", "once_cell", - "reqwest 0.12.7", + "reqwest 0.12.9", "serde", "serde_json", "thiserror", @@ -9584,11 +9527,11 @@ source = "git+https://github.com/matter-labs/zksync-era.git?rev=6c034f6e180cc92e dependencies = [ "anyhow", "async-trait", - "futures 0.3.30", + "futures 0.3.31", "jsonrpsee", "pin-project-lite", "rlp", - "rustls 0.23.13", + "rustls 0.23.19", "serde", "serde_json", "thiserror", @@ -9620,9 +9563,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.13+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index e0082dad..46f34545 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,14 @@ [package] -name = "era_test_node" +name = "anvil-zksync" version = "0.1.0-alpha.34" edition = "2018" authors = ["The Matter Labs Team "] homepage = "https://zksync.io/" -repository = "https://github.com/matter-labs/era-test-node" +repository = "https://github.com/matter-labs/anvil-zksync" license = "MIT OR Apache-2.0" keywords = ["blockchain", "zksync"] categories = ["cryptography"] -publish = false # We don't want to publish our binaries. +publish = false # We don't want to publish our binaries. [dependencies] zksync_multivm = { git = "https://github.com/matter-labs/zksync-era.git", rev = "6c034f6e180cc92e99766f14c8840c90efa56cec" } diff --git a/Dockerfile b/Dockerfile index 6a2a3e44..4320e3c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y && \ rustup install nightly-2024-08-01 && \ rustup default nightly-2024-08-01 -WORKDIR /usr/src/era-test-node +WORKDIR /usr/src/anvil-zksync COPY . . RUN cargo build --release @@ -31,6 +31,6 @@ RUN apt-get update && \ EXPOSE 8011 WORKDIR /usr/local/bin -COPY --from=builder /usr/src/era-test-node/target/release/era_test_node . +COPY --from=builder /usr/src/anvil-zksync/target/release/anvil-zksync . -ENTRYPOINT [ "era_test_node" ] +ENTRYPOINT [ "anvil-zksync" ] diff --git a/Makefile b/Makefile index 88d0d8b0..e82692f2 100644 --- a/Makefile +++ b/Makefile @@ -26,11 +26,11 @@ rust-build: # Run local after building everything run: all - ./target/release/era_test_node run + ./target/release/anvil-zksync run # Build the Rust project for a specific target. Primarily used for CI. build-%: - cross build --bin era_test_node --target $* --release + cross build --bin anvil-zksync --target $* --release # Build the Rust documentation rust-doc: @@ -40,7 +40,7 @@ rust-doc: lint: cd e2e-tests && yarn && yarn lint && yarn fmt && yarn typecheck cargo fmt --all -- --check - cargo clippy --tests -p era_test_node -Zunstable-options -- -D warnings --allow clippy::unwrap_used + cargo clippy --tests -p anvil-zksync -Zunstable-options -- -D warnings --allow clippy::unwrap_used # Fix lint errors for Rust code lint-fix: @@ -52,7 +52,7 @@ lint-fix: test: cargo test -# Run e2e tests against running era_test_node +# Run e2e tests against running anvil-zksync test-e2e: ./scripts/execute-e2e-tests.sh diff --git a/README.md b/README.md index d2c044ac..9c635993 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,25 @@ - - -# 🚀 zkSync Era In-Memory Node 🚀 +> [!IMPORTANT] +> This repository has been renamed from **era-test-node** to **anvil-zksync**. All references to the previous name have been updated to reflect this change. This crate provides an in-memory node that supports forking the state from other networks. The goal of this crate is to offer a fast solution for integration testing, bootloader and system contract testing, and prototyping. -🔗 For a detailed walkthrough, refer to the [official documentation](https://docs.zksync.io/build/test-and-debug/in-memory-node). +🔗 **For a detailed walkthrough, refer to the following resources:** + +- [Official documentation: Anvil-ZKsync](https://docs.zksync.io/build/test-and-debug/in-memory-node) +- [Foundry Book: Anvil for zkSync](https://foundry-book.zksync.io/reference/anvil-zksync/) +- [Rust Book: Anvil-ZKsync](https://matter-labs.github.io/era-test-node/era_test_node/index.html) ## 📌 Overview -The In-Memory Node is designed for local testing and uses an in-memory database for storing state information. It also employs simplified hashmaps for tracking blocks and transactions. When in fork mode, it fetches missing storage data from a remote source if not available locally. Additionally, it uses the remote server (openchain) to resolve the ABI and topics to human-readable names. +`anvil-zksync` is designed for local testing and uses an in-memory database for storing state information. It also employs simplified hashmaps for tracking blocks and transactions. When in fork mode, it fetches missing storage data from a remote source if not available locally. Additionally, it uses the remote server (openchain) to resolve the ABI and topics to human-readable names. ## ⚠️ Caution -Please note that `era-test-node` is still in its **alpha** stage. Some features might not be fully supported yet and may not work as intended. However, it is open-sourced, and contributions are welcome! +Please note that `anvil-zksync` is still in its **alpha** stage. Some features might not be fully supported yet and may not work as intended. However, it is open-sourced, and contributions are welcome! ## 📊 Limitations & Features @@ -37,7 +35,7 @@ Please note that `era-test-node` is still in its **alpha** stage. Some features ## 🛠 Prerequisites -1. **Rust**: `era-test-node` is written in Rust. Ensure you have Rust installed on your machine. [Download Rust here](https://www.rust-lang.org/tools/install). +1. **Rust**: `anvil-zksync` is written in Rust. Ensure you have Rust installed on your machine. [Download Rust here](https://www.rust-lang.org/tools/install). 2. **Other Dependencies**: This crate relies on rocksDB. If you face any compile errors due to rocksDB, install the necessary dependencies with: ```bash @@ -50,7 +48,7 @@ Please note that `era-test-node` is still in its **alpha** stage. Some features 1. Download the installation script and mark as executable: ```bash - curl --proto '=https' -sSf https://raw.githubusercontent.com/matter-labs/era-test-node/main/scripts/install.sh > install.sh + curl --proto '=https' -sSf https://raw.githubusercontent.com/matter-labs/anvil-zksync/main/scripts/install.sh > install.sh chmod +x install.sh ``` @@ -61,42 +59,24 @@ Please note that `era-test-node` is still in its **alpha** stage. Some features 3. Start the node: ```bash - era_test_node run + anvil-zksync run ``` ### Manually -1. Download `era-test-node` from latest [Release](https://github.com/matter-labs/era-test-node/releases/latest) +1. Download `anvil-zksync` from latest [Release](https://github.com/matter-labs/anvil-zksync/releases/latest) 2. Extract the binary and mark as executable: ```bash - tar xz -f era_test_node.tar.gz -C /usr/local/bin/ - chmod +x /usr/local/bin/era_test_node + tar xz -f anvil-zksync.tar.gz -C /usr/local/bin/ + chmod +x /usr/local/bin/anvil-zksync ``` 3. Start the node: ```bash - era_test_node run + anvil-zksync run ``` -## 🔧 Configuring - -The test node can optionally be configured via a TOML configuration file placed -at `$HOME/.era_test_node/config.toml` or supplied as a path via the `--config` CLI-argument. To start configuring the test node: - -1. Create the configuration directory: -```bash -mkdir $HOME/.era_test_node -``` - -2. Copy the example configuration file: -```bash -cp example/config.toml $HOME/.era_test_node -``` - -For all options that can be configured, -please refer to [examples/config.toml](examples/config.toml) - ## 🧑‍💻 Running Locally 1. Compile Rust project and start the node: @@ -116,12 +96,12 @@ It can take one of the following options: The node may be started in either of `debug`, `info`, `warn` or `error` logging levels via the `--log` option: ```bash -era_test_node --log=error run +anvil-zksync --log=error run ``` -Additionally, the file path can be provided via the `--log-file-path` option (defaults to `./era_test_node.log`): +Additionally, the file path can be provided via the `--log-file-path` option (defaults to `./anvil-zksync.log`): ```bash -era_test_node --log=error --log-file-path=run.log run +anvil-zksync --log=error --log-file-path=run.log run ``` The logging can be configured during runtime via the [`config_setLogLevel`](./SUPPORTED_APIS.md#config_setloglevel) and [`config_setLogging`](./SUPPORTED_APIS.md#config_setlogging) methods. @@ -132,17 +112,17 @@ The node will cache certain network request by default to disk in the `.cache` d via the `--cache=none|memory|disk` parameter. ```bash -era_test_node --cache=none run +anvil-zksync --cache=none run ``` ```bash -era_test_node --cache=memory run +anvil-zksync --cache=memory run ``` Additionally when using `--cache=disk`, the cache directory may be specified via `--cache-dir` and the cache may be reset on startup via `--reset-cache` parameters. ```bash -era_test_node --cache=disk --cache-dir=/tmp/foo --reset-cache run +anvil-zksync --cache=disk --cache-dir=/tmp/foo --reset-cache run ``` ## 🌐 Network Details @@ -157,17 +137,17 @@ era_test_node --cache=disk --cache-dir=/tmp/foo --reset-cache run To fork the mainnet: ```bash -era_test_node fork mainnet +anvil-zksync fork fork-url mainnet ``` -> Tip: You can also fork the zkSync Sepolia testnet with `era_test_node fork sepolia-testnet`. +> Tip: You can also fork the zkSync Sepolia testnet with `anvil-zksync fork fork-url sepolia-testnet`. ## 🔄 Replay Remote Transactions Locally If you wish to replay a remote transaction locally for deep debugging, use the following command: ```bash -era_test_node replay_tx +anvil-zksync replay_tx ``` ## Replacing bytecodes @@ -185,7 +165,7 @@ cargo run -- --override-bytecodes-dir=example_override --show-storage-logs all f ## 📞 Sending Network Calls -You can send network calls against a running `era-test-node`. For example, to check the testnet LINK balance or mainnet USDT, use `curl` or `foundry-zksync`. +You can send network calls against a running `anvil-zksync`. For example, to check the testnet LINK balance or mainnet USDT, use `curl` or `foundry-zksync`. ```bash curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x40609141Db628BeEE3BfAB8034Fc2D8278D0Cc78", "data":"0x06fdde03"}, "latest"],"id":1}' http://localhost:8011 @@ -198,7 +178,7 @@ By default, the tool is just printing the basic information about the executed t But with --show-calls flag, it can print more detailed call traces, and with --resolve-hashes, it will ask openchain for ABI names. ```bash -era_test_node --show-calls=user --resolve-hashes replay_tx sepolia-testnet 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac +anvil-zksync --show-calls=user --resolve-hashes replay_tx sepolia-testnet 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac Executing 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac ┌─────────────────────────┐ @@ -237,33 +217,34 @@ You can use the following options to get more granular information during transa Example: ```bash -era_test_node --show-storage-logs=all --show-vm-details=all --show-gas-details=all run +anvil-zksync --show-storage-logs=all --show-vm-details=all --show-gas-details=all run ``` This is now even easier with a single flag (`--debug-mode` or `-d`): ```bash -era_test_node -d +anvil-zksync -d ``` ## 💰 Using Rich Wallets -For testing and development purposes, the `era-test-node` comes pre-configured with a set of 'rich' wallets. These wallets are loaded with test funds, allowing you to simulate transactions and interactions without the need for real assets. +For testing and development purposes, the `anvil-zksync` comes pre-configured with a set of 'rich' wallets. These wallets are loaded with test funds, allowing you to simulate transactions and interactions without the need for real assets. Here's a list of the available rich wallets: - -| Account Address | Private Key | -| -------------------------------------------- | -------------------------------------------------------------------- | -| `0x36615Cf349d7F6344891B1e7CA7C72883F5dc049` | `0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110` | -| `0xa61464658AfeAf65CccaaFD3a512b69A83B77618` | `0xac1e735be8536c6534bb4f17f06f6afc73b2b5ba84ac2cfb12f7461b20c0bbe3` | -| `0x0D43eB5B8a47bA8900d84AA36656c92024e9772e` | `0xd293c684d884d56f8d6abd64fc76757d3664904e309a0645baf8522ab6366d9e` | -| `0xA13c10C0D5bd6f79041B9835c63f91de35A15883` | `0x850683b40d4a740aa6e745f889a6fdc8327be76e122f5aba645a5b02d0248db8` | -| `0x8002cD98Cfb563492A6fB3E7C8243b7B9Ad4cc92` | `0xf12e28c0eb1ef4ff90478f6805b68d63737b7f33abfa091601140805da450d93` | -| `0x4F9133D1d3F50011A6859807C837bdCB31Aaab13` | `0xe667e57a9b8aaa6709e51ff7d093f1c5b73b63f9987e4ab4aa9a5c699e024ee8` | -| `0xbd29A1B981925B94eEc5c4F1125AF02a2Ec4d1cA` | `0x28a574ab2de8a00364d5dd4b07c4f2f574ef7fcc2a86a197f65abaec836d1959` | -| `0xedB6F5B4aab3dD95C7806Af42881FF12BE7e9daa` | `0x74d8b3a188f7260f67698eb44da07397a298df5427df681ef68c45b34b61f998` | -| `0xe706e60ab5Dc512C36A4646D719b889F398cbBcB` | `0xbe79721778b48bcc679b78edac0ce48306a8578186ffcb9f2ee455ae6efeace1` | -| `0xE90E12261CCb0F3F7976Ae611A29e84a6A85f424` | `0x3eb15da85647edd9a1159a4a13b9e7c56877c4eb33f614546d4db06a51868b1c` | +``` +18:02:50 INFO Rich Accounts +18:02:50 INFO ======================== +18:02:50 INFO (0) 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 (10000 ETH) +18:02:50 INFO (1) 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 (10000 ETH) +18:02:50 INFO (2) 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC (10000 ETH) +18:02:50 INFO (3) 0x90F79bf6EB2c4f870365E785982E1f101E93b906 (10000 ETH) +18:02:50 INFO (4) 0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65 (10000 ETH) +18:02:50 INFO (5) 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc (10000 ETH) +18:02:50 INFO (6) 0x976EA74026E726554dB657fA54763abd0C3a0aa9 (10000 ETH) +18:02:50 INFO (7) 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955 (10000 ETH) +18:02:50 INFO (8) 0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f (10000 ETH) +18:02:50 INFO (9) 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720 (10000 ETH) +``` Feel free to use these wallets in your tests, but remember, they are for development purposes only and should not be used in production or with real assets. @@ -273,16 +254,16 @@ See our list of [Supported APIs here](SUPPORTED_APIS.md). ## 🤖 CI/CD Testing with GitHub Actions -A GitHub Action is available for integrating `era-test-node` into your CI/CD environments. This action offers high configurability and streamlines the process of testing your applications in an automated way. +A GitHub Action is available for integrating `anvil-zksync` into your CI/CD environments. This action offers high configurability and streamlines the process of testing your applications in an automated way. -You can find this GitHub Action in the marketplace [here](https://github.com/marketplace/actions/era-test-node-action). +You can find this GitHub Action in the marketplace [here](https://github.com/marketplace/actions/anvil-zksync-action). ### 📝 Example Usage -Below is an example `yaml` configuration to use the `era-test-node` GitHub Action in your workflow: +Below is an example `yaml` configuration to use the `anvil-zksync` GitHub Action in your workflow: ```yml -name: Run Era Test Node Action +name: Run anvil-zksync Action on: push: @@ -296,12 +277,12 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Run Era Test Node - uses: dutterbutter/era-test-node-action@latest + - name: Run anvil-zksync + uses: dutterbutter/anvil-zksync-action@latest ``` ## 🤝 Contributing -We welcome contributions from the community! If you're interested in contributing to the zkSync Era In-Memory Node, please take a look at our [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for guidelines and details on the process. +We welcome contributions from the community! If you're interested in contributing to the anvil-zksync, please take a look at our [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for guidelines and details on the process. -Thank you for making zkSync Era In-Memory Node better! 🙌 +Thank you for making anvil-zksync better! 🙌 diff --git a/SUPPORTED_APIS.md b/SUPPORTED_APIS.md index 2f43b03f..d7d7fc8f 100644 --- a/SUPPORTED_APIS.md +++ b/SUPPORTED_APIS.md @@ -1,6 +1,6 @@ -# 🔧 Supported APIs for In-Memory Node 🔧 +# 🔧 Supported APIs for anvil-zksync 🔧 -> ⚠️ **WORK IN PROGRESS**: This list is non-comprehensive and being updated. If there is an API that requires additional support, please start by [creating a GitHub Issue](https://github.com/matter-labs/era-test-node/issues/new/choose). +> ⚠️ **WORK IN PROGRESS**: This list is non-comprehensive and being updated. If there is an API that requires additional support, please start by [creating a GitHub Issue](https://github.com/matter-labs/anvil-zksync/issues/new/choose). ## Key @@ -127,7 +127,7 @@ The `status` options are: | `HARDHAT` | `hardhat_addCompilationResult` | `NOT IMPLEMENTED` | Add information about compiled contracts | | `HARDHAT` | `hardhat_dropTransaction` | `NOT IMPLEMENTED` | Remove a transaction from the mempool | | [`HARDHAT`](#hardhat-namespace) | [`hardhat_impersonateAccount`](#hardhat_impersonateaccount) | `SUPPORTED` | Impersonate an account | -| [`HARDHAT`](#hardhat-namespace) | [`hardhat_getAutomine`](#hardhat_getautomine) | `PARTIAL` | Currently always returns `true` as era-test-node by default mines new blocks with each new transaction. | +| [`HARDHAT`](#hardhat-namespace) | [`hardhat_getAutomine`](#hardhat_getautomine) | `PARTIAL` | Currently always returns `true` as anvil-zksync by default mines new blocks with each new transaction. | | `HARDHAT` | `hardhat_metadata` | `NOT IMPLEMENTED` | Returns the metadata of the current network | | [`HARDHAT`](#hardhat-namespace) | [`hardhat_mine`](#hardhat_mine) | Mine any number of blocks at once, in constant time | | [`HARDHAT`](#hardhat-namespace) | [`hardhat_reset`](#hardhat_reset) | `PARTIALLY` | Resets the state of the network; cannot revert to past block numbers, unless they're in a fork | @@ -502,7 +502,7 @@ The directive format is comma-separated `module=level` for any number of modules curl --request POST \ --url http://localhost:8011/ \ --header 'content-type: application/json' \ - --data '{"jsonrpc": "2.0","id": "1","method": "config_setLogging","params": ["era_test_node=trace,hyper=debug"]}' + --data '{"jsonrpc": "2.0","id": "1","method": "config_setLogging","params": ["anvil-zksync=trace,hyper=debug"]}' ``` ## `DEBUG NAMESPACE` diff --git a/docs/rustbook/book.toml b/docs/rustbook/book.toml index 8c5f4029..c68b8dff 100644 --- a/docs/rustbook/book.toml +++ b/docs/rustbook/book.toml @@ -3,4 +3,4 @@ authors = ["matter-labs"] language = "en" multilingual = false src = "src" -title = "Era Test Node" +title = "Anvil ZKsync" diff --git a/docs/rustbook/src/installation.md b/docs/rustbook/src/installation.md index e969f722..778699d3 100644 --- a/docs/rustbook/src/installation.md +++ b/docs/rustbook/src/installation.md @@ -7,9 +7,9 @@ You can set up In-Memory Node quickly with `npx zksync-cli dev start`. > *Note:* at the moment this method won't allow you to use additional features like forking networks or replaying transactions. ## Release binary -Download `era-test-node`` from latest [Release](https://github.com/matter-labs/era-test-node/releases/latest) +Download `anvil-zksync` from latest [Release](https://github.com/matter-labs/anvil-zksync/releases/latest) ## Build from source -The project can be built from [source](https://github.com/matter-labs/era-test-node/releases/latest). Please note that you may -require some [prerequisites](https://github.com/matter-labs/era-test-node/tree/v0.1.0-alpha.6#-prerequisites) including the rust toolchain +The project can be built from [source](https://github.com/matter-labs/anvil-zksync/releases/latest). Please note that you may +require some [prerequisites](https://github.com/matter-labs/anvil-zksync/tree/v0.1.0-alpha.6#-prerequisites) including the rust toolchain to build the project from scratch. \ No newline at end of file diff --git a/docs/rustbook/src/introduction.md b/docs/rustbook/src/introduction.md index 9af4b5ac..d4388282 100644 --- a/docs/rustbook/src/introduction.md +++ b/docs/rustbook/src/introduction.md @@ -1,10 +1,10 @@ # Introduction The In-memory node uses an in-memory database for storing state information and simplified hashmaps for tracking blocks and transactions. -In fork mode, it retrieves missing storage data from a remote source when not available locally. +In fork mode, it retrieves missing storage data from a remote source when not available locally. Moreover it also uses the remote server (openchain) to resolve the ABI and topics to human readable names. -You can visit the `era-test-node` repository [here](https://github.com/matter-labs/era-test-node) to learn more. +You can visit the `anvil-zksync` repository [here](https://github.com/matter-labs/anvil-zksync) to learn more. -Please keep in mind that `era-test-node` is still in its **alpha** stage, so some features might not be fully supported yet and may not work as fully intended. -It is [open-sourced](https://github.com/matter-labs/era-test-node) and contributions are welcomed. \ No newline at end of file +Please keep in mind that `anvil-zksync` is still in its **alpha** stage, so some features might not be fully supported yet and may not work as fully intended. +It is [open-sourced](https://github.com/matter-labs/anvil-zksync) and contributions are welcomed. \ No newline at end of file diff --git a/docs/rustbook/src/usage/README.md b/docs/rustbook/src/usage/README.md index f61d7b51..ff7f9762 100644 --- a/docs/rustbook/src/usage/README.md +++ b/docs/rustbook/src/usage/README.md @@ -4,7 +4,7 @@ In-Memory node can be utilized for a variety of reasons. ## Network Details -The `era_test_node` has the following default network configurations: +The `anvil-zksync` has the following default network configurations: * **L2 RPC:** `http://localhost:8011` * **Network Id:** 260 @@ -19,17 +19,17 @@ The node will cache certain network request by default to disk in the `.cache` d via the `--cache=none|memory|disk` parameter. ```bash -era_test_node --cache=none run +anvil-zksync --cache=none run ``` ```bash -era_test_node --cache=memory run +anvil-zksync --cache=memory run ``` Additionally when using `--cache=disk`, the cache directory may be specified via `--cache-dir` and the cache may be reset on startup via `--reset-cache` parameters. ```bash -era_test_node --cache=disk --cache-dir=/tmp/foo --reset-cache run +anvil-zksync --cache=disk --cache-dir=/tmp/foo --reset-cache run ``` ## Pre-configured Rich Wallets diff --git a/docs/rustbook/src/usage/basic.md b/docs/rustbook/src/usage/basic.md index c6b03545..49ff709a 100644 --- a/docs/rustbook/src/usage/basic.md +++ b/docs/rustbook/src/usage/basic.md @@ -3,7 +3,7 @@ Start the node: ```sh -era_test_node run +anvil-zksync run ``` The expected output will be as follows: @@ -29,5 +29,5 @@ The expected output will be as follows: 12:34:56 [INFO] ======================================== ``` -> *Note:* When utilizing `era-test-node` with MetaMask, it's essential to note that any restart of the in-memory node will necessitate a reset of MetaMask's +> *Note:* When utilizing `anvil-zksync` with MetaMask, it's essential to note that any restart of the in-memory node will necessitate a reset of MetaMask's cached account data (nonce, etc). To do this, navigate to `Settings`, then `Advanced`, and finally, select `Clear activity tab data`. diff --git a/docs/rustbook/src/usage/fork.md b/docs/rustbook/src/usage/fork.md index 344d2bc2..202c0013 100644 --- a/docs/rustbook/src/usage/fork.md +++ b/docs/rustbook/src/usage/fork.md @@ -2,12 +2,12 @@ To fork the `sepolia-testnet`, use the following command: ```sh -era_test_node fork sepolia-testnet +anvil-zksync fork sepolia-testnet ``` You can also fork `mainnet` with ```sh -era_test_node fork mainnet +anvil-zksync fork mainnet ``` The expected output will be similar to the following: @@ -42,17 +42,17 @@ This command starts the node, forking it from the latest block on the zkSync Sep You also have the option to specify a custom http endpoint and a custom forking height, like so: ```sh -# Usage: era_test_node fork --fork-block-number -era_test_node fork --fork-block-number 7000000 mainnet http://172.17.0.3:3060 +# Usage: anvil-zksync fork --fork-block-number +anvil-zksync fork --fork-block-number 7000000 mainnet http://172.17.0.3:3060 ``` ## Sending network calls -You can send network calls against a running `era-test-node`. You can check the Goerli testnet LINK balance or mainnet USDT using `curl` or [foundry-zksync](https://github.com/matter-labs/foundry-zksync). +You can send network calls against a running `anvil-zksync`. You can check the Goerli testnet LINK balance or mainnet USDT using `curl` or [foundry-zksync](https://github.com/matter-labs/foundry-zksync). To get started, launch the local in-memory node: ```sh -era_test_node fork goerli-testnet +anvil-zksync fork sepolia-testnet ``` Next, use curl to send a network call: diff --git a/docs/rustbook/src/usage/remote-tx.md b/docs/rustbook/src/usage/remote-tx.md index b976a16a..d5835ed5 100644 --- a/docs/rustbook/src/usage/remote-tx.md +++ b/docs/rustbook/src/usage/remote-tx.md @@ -3,21 +3,21 @@ If you wish to replay a remote transaction locally for deep debugging, use the following command: ```sh -# Usage: era_test_node replay_tx -era_test_node replay_tx sepolia-testnet 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac +# Usage: anvil-zksync replay_tx +anvil-zksync replay_tx sepolia-testnet 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac ``` For more detailed transaction information, such as call traces, add the `--show-calls` flag. If you want to see ABI names, add the `--resolve-hashes` flag. Here's an example: ```sh -# Usage: era_test_node replay_tx -era_test_node --show-calls=user --resolve-hashes replay_tx sepolia-testnet 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac +# Usage: anvil-zksync replay_tx +anvil-zksync --show-calls=user --resolve-hashes replay_tx sepolia-testnet 0x7119045573862797257e4441ff48bf5a3bc4d133a00d167c18dc955eda12cfac ``` Alternatively (if your node is already running) you can use `config_setShowCalls` and `config_setResolveHashes` RPC endpoints to configure these values. Here's an example: ```sh -# era_test_node already running... +# anvil-zksync already running... # Set show-calls to User curl --request POST \ diff --git a/docs/rustbook/src/usage/testing.md b/docs/rustbook/src/usage/testing.md index 0531fb89..38ee95da 100644 --- a/docs/rustbook/src/usage/testing.md +++ b/docs/rustbook/src/usage/testing.md @@ -8,11 +8,11 @@ In-memory node allows testing of the currently compiled bootloader and system co This makes it possible to examine the effects of changes on already deployed contracts. > *Note:* These commands assume you have set `$ZKSYNC_HOME` in your shell profile file (e.g. `~/.bash_profile`, `~/.zshrc`) -to target your local copy of `era-test-node`. For instance: +to target your local copy of `anvil-zksync`. For instance: ```sh # Add path here: -export ZKSYNC_HOME=/path/to/era-test-node +export ZKSYNC_HOME=/path/to/anvil-zksync export PATH=$ZKSYNC_HOME/bin:$PATH ``` @@ -25,11 +25,11 @@ yarn preprocess && yarn hardhat run ./scripts/compile-yul.ts To use the locally compiled bootloader and system contracts, run: ```sh -RUST_LOG=vm=trace era_test_node --dev-use-local-contracts fork sepolia-testnet +RUST_LOG=vm=trace anvil-zksync --dev-use-local-contracts fork sepolia-testnet ``` ## Writing and running tests locally -This section demonstrates how to author and execute tests locally against `era-test-node` using the `mocha` and `chai` testing frameworks. +This section demonstrates how to author and execute tests locally against `anvil-zksync` using the `mocha` and `chai` testing frameworks. ### Project configuration Start by creating a new Hardhat project. If you need guidance, follow the [getting started guide](https://era.zksync.io/docs/tools/hardhat/getting-started.html). @@ -50,7 +50,7 @@ This script makes it possible to run tests in a Hardhat environment with the `NO ### Configuring tests Adjust `hardhat.config.ts` to use the local node for testing: -> *Note:* Ensure `era-test-node` is running in another process before executing `yarn test`. +> *Note:* Ensure `anvil-zksync` is running in another process before executing `yarn test`. ```ts import "@matterlabs/hardhat-zksync-deploy"; @@ -115,18 +115,18 @@ To run the test file, execute: yarn test ``` -Well done! You've successfully run your first local tests with zkSync Era and `era-test-node`. +Well done! You've successfully run your first local tests with zkSync Era and `anvil-zksync`. ## CI/CD Testing with GitHub Actions -A GitHub Action is available for integrating era-test-node into your CI/CD environments. +A GitHub Action is available for integrating anvil-zksync into your CI/CD environments. This action offers high configurability and streamlines the process of testing your applications in an automated way. -You can find this GitHub Action in the marketplace [here](https://github.com/marketplace/actions/era-test-node-action). +You can find this GitHub Action in the marketplace [here](https://github.com/marketplace/actions/anvil-zksync-action). ### Example Usage -Below is an example yaml configuration to use the era-test-node GitHub Action in your workflow: +Below is an example yaml configuration to use the anvil-zksync GitHub Action in your workflow: ```yml -name: Run Era Test Node Action +name: Run anvil-zksync Action on: push: @@ -140,6 +140,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Run Era Test Node - uses: dutterbutter/era-test-node-action@latest + - name: Run anvil-zksync + uses: dutterbutter/anvil-zksync-action@latest ``` \ No newline at end of file diff --git a/e2e-tests-rust/Cargo.toml b/e2e-tests-rust/Cargo.toml index eea8ee59..3bda75f8 100644 --- a/e2e-tests-rust/Cargo.toml +++ b/e2e-tests-rust/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "era_test_node_e2e_tests" +name = "anvil-zksync_e2e_tests" edition = "2021" authors = ["The Matter Labs Team "] homepage = "https://zksync.io/" -repository = "https://github.com/matter-labs/era-test-node" +repository = "https://github.com/matter-labs/anvil-zksync" license = "MIT OR Apache-2.0" keywords = ["blockchain", "zksync"] categories = ["cryptography"] diff --git a/e2e-tests-rust/src/lib.rs b/e2e-tests-rust/src/lib.rs index 362ce039..90ed7d60 100644 --- a/e2e-tests-rust/src/lib.rs +++ b/e2e-tests-rust/src/lib.rs @@ -7,7 +7,7 @@ use alloy_zksync::network::Zksync; pub mod utils; -pub trait EraTestNodeApiProvider: Provider +pub trait AnvilZKsyncApiProvider: Provider where T: Transport + Clone, { @@ -27,7 +27,7 @@ where } } -impl EraTestNodeApiProvider for P +impl AnvilZKsyncApiProvider for P where T: Transport + Clone, P: Provider, diff --git a/e2e-tests-rust/src/utils.rs b/e2e-tests-rust/src/utils.rs index 0d605e84..d7c641f7 100644 --- a/e2e-tests-rust/src/utils.rs +++ b/e2e-tests-rust/src/utils.rs @@ -38,7 +38,7 @@ impl LockedPort { pub async fn acquire_unused() -> anyhow::Result { loop { let port = Self::pick_unused_port().await?; - let lockpath = std::env::temp_dir().join(format!("era-test-node-port{}.lock", port)); + let lockpath = std::env::temp_dir().join(format!("anvil-zksync-port{}.lock", port)); let lockfile = File::create(lockpath) .with_context(|| format!("failed to create lockfile for port={}", port))?; if lockfile.try_lock_exclusive().is_ok() { @@ -51,7 +51,7 @@ impl LockedPort { /// can take this lock). Lock lasts until the returned `LockedPort` instance is dropped. pub async fn acquire(port: u16) -> anyhow::Result { let port = Self::check_port_is_unused(port).await?; - let lockpath = std::env::temp_dir().join(format!("era-test-node-port{}.lock", port)); + let lockpath = std::env::temp_dir().join(format!("anvil-zksync-port{}.lock", port)); let lockfile = File::create(lockpath) .with_context(|| format!("failed to create lockfile for port={}", port))?; lockfile diff --git a/e2e-tests-rust/tests/lib.rs b/e2e-tests-rust/tests/lib.rs index 0e4f2aa5..60eaf716 100644 --- a/e2e-tests-rust/tests/lib.rs +++ b/e2e-tests-rust/tests/lib.rs @@ -9,8 +9,8 @@ use alloy_zksync::network::Zksync; use alloy_zksync::node_bindings::EraTestNode; use alloy_zksync::provider::{zksync_provider, ProviderBuilderExt}; use alloy_zksync::wallet::ZksyncWallet; -use era_test_node_e2e_tests::utils::LockedPort; -use era_test_node_e2e_tests::EraTestNodeApiProvider; +use anvil_zksync_e2e_tests::utils::LockedPort; +use anvil_zksync_e2e_tests::AnvilZKsyncApiProvider; use std::time::Duration; async fn init( @@ -24,13 +24,13 @@ async fn init( .on_era_test_node_with_wallet_and_config(|node| { f(node .path( - std::env::var("ERA_TEST_NODE_BINARY_PATH") - .unwrap_or("../target/release/era_test_node".to_string()), + std::env::var("ANVIL_ZKSYNC_BINARY_PATH") + .unwrap_or("../target/release/anvil-zksync".to_string()), ) .port(locked_port.port)) }); - // Wait for era-test-node to get up and be able to respond + // Wait for anvil-zksync to get up and be able to respond provider.get_accounts().await?; // Explicitly unlock the port to showcase why we waited above drop(locked_port); @@ -94,7 +94,7 @@ async fn test_finalize_two_txs_in_the_same_block( #[tokio::test] async fn interval_sealing_finalization() -> anyhow::Result<()> { - // Test that we can submit a transaction and wait for it to finalize when era-test-node is + // Test that we can submit a transaction and wait for it to finalize when anvil-zksync is // operating in interval sealing mode. let provider = init(|node| node.block_time(1)).await?; @@ -110,7 +110,7 @@ async fn interval_sealing_finalization() -> anyhow::Result<()> { #[tokio::test] async fn interval_sealing_multiple_txs() -> anyhow::Result<()> { // Test that we can submit two transactions and wait for them to finalize in the same block when - // era-test-node is operating in interval sealing mode. 3 seconds should be long enough for + // anvil-zksync is operating in interval sealing mode. 3 seconds should be long enough for // the entire flow to execute before the first block is produced. let provider = init(|node| node.block_time(3)).await?; @@ -126,7 +126,7 @@ async fn interval_sealing_multiple_txs() -> anyhow::Result<()> { #[tokio::test] async fn no_sealing_timeout() -> anyhow::Result<()> { // Test that we can submit a transaction and timeout while waiting for it to finalize when - // era-test-node is operating in no sealing mode. + // anvil-zksync is operating in no sealing mode. let provider = init(|node| node.no_mine()).await?; let tx = TransactionRequest::default() diff --git a/e2e-tests/README.md b/e2e-tests/README.md index 67728364..a060e5fa 100644 --- a/e2e-tests/README.md +++ b/e2e-tests/README.md @@ -1,6 +1,6 @@ -# Era Test Node E2E Tests project +# anvil-zksync E2E Tests project -This project is used for running e2e tests against `era_test_node` +This project is used for running e2e tests against `anvil-zksync` ## Project structure diff --git a/e2e-tests/package.json b/e2e-tests/package.json index 88ef6bee..548cc0e8 100644 --- a/e2e-tests/package.json +++ b/e2e-tests/package.json @@ -1,5 +1,5 @@ { - "name": "era-test-node-e2e-tests", + "name": "anvil-zksync-e2e-tests", "private": true, "version": "1.0.0", "main": "index.js", diff --git a/e2e-tests/test/anvil-apis.test.ts b/e2e-tests/test/anvil-apis.test.ts index 61cf0d20..545b13fc 100644 --- a/e2e-tests/test/anvil-apis.test.ts +++ b/e2e-tests/test/anvil-apis.test.ts @@ -98,13 +98,13 @@ describe("anvil_setLoggingEnabled", function () { // Act await provider.send("anvil_setLoggingEnabled", [false]); - const logSizeBefore = fs.statSync("../era_test_node.log").size; + const logSizeBefore = fs.statSync("../anvil-zksync.log").size; await wallet.sendTransaction({ to: userWallet.address, value: ethers.utils.parseEther("0.1"), }); - const logSizeAfter = fs.statSync("../era_test_node.log").size; + const logSizeAfter = fs.statSync("../anvil-zksync.log").size; // Reset await provider.send("anvil_setLoggingEnabled", [true]); diff --git a/example_override/README.md b/example_override/README.md index 02939393..d5f3239e 100644 --- a/example_override/README.md +++ b/example_override/README.md @@ -3,4 +3,4 @@ This directory is an example on how to use the `override-bytecodes-dir` flag. You put your bytecodes in this directory, under a proper file name - that should match the address that you're overriding, and run -the era-test-node with `--override-bytecodes-dir=example_override` flag. \ No newline at end of file +the anvil-zksync with `--override-bytecodes-dir=example_override` flag. \ No newline at end of file diff --git a/scripts/install.sh b/scripts/install.sh index 59248017..59096865 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,15 +2,15 @@ set -e -ERA_TEST_NODE_REPO="https://github.com/matter-labs/era-test-node" +ANVIL_ZKSYNC_REPO="https://github.com/matter-labs/anvil-zksync" function script_usage() { cat << EOF -Era Test Node Installer v0.1.0 +anvil-zksync Installer v0.1.0 USAGE: -h | --help Display help information - -v | --version Downloads a specific version of Era Test Node (default: latest release) + -v | --version Downloads a specific version of anvil-zksync (default: latest release) -d | --destination The path to the folder where the binary will be installed (default: /usr/local/bin) EOF } @@ -46,13 +46,13 @@ function parse_args() { function main() { parse_args "$@" - echo "Running install script for Era Test Node..." + echo "Running install script for anvil-zksync..." get_os_info download_binary prepare_binary - echo "Era Test Node has been successfully installed!" + echo "anvil-zksync has been successfully installed!" } function prepare_binary() { @@ -60,20 +60,20 @@ function prepare_binary() { tar xz -f "$file_name" rm "$file_name" - mv era_test_node "$destination/era_test_node" - chmod +x "$destination/era_test_node" + mv anvil-zksync "$destination/anvil-zksync" + chmod +x "$destination/anvil-zksync" echo "Succesfully prepared binary!" } function download_binary() { - file_name="era_test_node-$version-$architecture-$os.tar.gz" - url="$ERA_TEST_NODE_REPO/releases/download/$version/$file_name" + file_name="anvil-zksync-$version-$architecture-$os.tar.gz" + url="$ANVIL_ZKSYNC_REPO/releases/download/$version/$file_name" - echo "Downloading Era Test Node binary from: $url..." + echo "Downloading anvil-zksync binary from: $url..." wget $url - echo "Successfully downloaded Era Test Node Binary!" + echo "Successfully downloaded anvil-zksync Binary!" } function get_os_info() { @@ -88,7 +88,7 @@ function get_os_info() { arch=$(arch) ;; *) - echo "ERROR: Era Test Node only supports Linux and MacOS! Detected OS: $unamestr" + echo "ERROR: anvil-zksync only supports Linux and MacOS! Detected OS: $unamestr" exit 1 ;; esac @@ -111,7 +111,8 @@ function get_os_info() { } function get_latest_version() { - echo v$(curl --proto '=https' -sSf https://raw.githubusercontent.com/matter-labs/era-test-node/main/Cargo.toml | \ + # TODO: update repo name when it's created + echo v$(curl --proto '=https' -sSf https://raw.githubusercontent.com/matter-labs/anvil-zksync/main/Cargo.toml | \ grep "version" -m 1 | \ awk '{print $3}' | \ sed 's/"//g') diff --git a/spec-tests/Cargo.toml b/spec-tests/Cargo.toml index d486a236..105ab219 100644 --- a/spec-tests/Cargo.toml +++ b/spec-tests/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "era_test_node_spec_tests" +name = "anvil-zksync_spec_tests" edition = "2021" authors = ["The Matter Labs Team "] homepage = "https://zksync.io/" -repository = "https://github.com/matter-labs/era-test-node" +repository = "https://github.com/matter-labs/anvil-zksync" license = "MIT OR Apache-2.0" keywords = ["blockchain", "zksync"] categories = ["cryptography"] diff --git a/spec-tests/src/patch.rs b/spec-tests/src/patch.rs index 2bae86f9..333ec4e5 100644 --- a/spec-tests/src/patch.rs +++ b/spec-tests/src/patch.rs @@ -63,7 +63,7 @@ impl EthSpecPatchBuilder { impl EthSpecPatch { pub fn for_block() -> Self { // ZKsync introduces two extra L1 batch-related properties for block objects. Along with an - // empty `sealFields` property (TODO: remove from core and era-test-node). + // empty `sealFields` property (TODO: remove from core and anvil-zksync). EthSpecPatchBuilder::new("Block object".to_string()) .additional_property( "l1BatchNumber".to_string(), @@ -77,7 +77,7 @@ impl EthSpecPatch { ) .additional_property( "sealFields".to_string(), - // Always empty (both core and era-test-node) + // Always empty (both core and anvil-zksync) serde_json::from_value(json!({"const": []})).unwrap(), ) .build() diff --git a/spec-tests/src/process.rs b/spec-tests/src/process.rs index e8365d2e..6a9c1641 100644 --- a/spec-tests/src/process.rs +++ b/spec-tests/src/process.rs @@ -6,8 +6,8 @@ use tokio::process::{Child, Command}; use crate::utils::LockedPort; -const ERA_TEST_NODE_BINARY_DEFAULT_PATH: &str = "../target/release/era_test_node"; -const ERA_TEST_NODE_SRC_PATH: &str = "../src"; +const ANVIL_ZKSYNC_BINARY_DEFAULT_PATH: &str = "../target/release/anvil-zksync"; +const ANVIL_ZKSYNC_SRC_PATH: &str = "../src"; pub struct EraRunConfig { pub rpc_port: u16, @@ -21,9 +21,9 @@ pub struct EraRunHandle { impl Drop for EraRunHandle { fn drop(&mut self) { if let Some(mut process) = self.process.take() { - tracing::info!("Cleaning up era-test-node process: pid={:?}", process.id()); + tracing::info!("Cleaning up anvil-zksync process: pid={:?}", process.id()); - process.start_kill().expect("failed to kill era-test-node"); + process.start_kill().expect("failed to kill anvil-zksync"); let _ = process.try_wait(); } } @@ -37,60 +37,60 @@ pub fn run + Clone + Display>( options.push(format!("--port={}", config.rpc_port)); // TODO: parametrize log file, cache file etc so simultaneous nodes don't compete options.push("run".to_string()); - tracing::info!(bin_path = %bin_path, rpc_port = config.rpc_port, "Starting era-test-node"); + tracing::info!(bin_path = %bin_path, rpc_port = config.rpc_port, "Starting anvil-zksync"); let process = Command::new(bin_path.clone()) .args(options) .spawn() - .with_context(|| format!("failed to run era-test-node using '{}'", bin_path))?; + .with_context(|| format!("failed to run anvil-zksync using '{}'", bin_path))?; Ok(EraRunHandle { config, process: Some(process), }) } -/// Ensures that the era-test-node binary was built after the last source file got modified. +/// Ensures that the anvil-zksync binary was built after the last source file got modified. fn ensure_binary_is_fresh() -> anyhow::Result<()> { - if !Path::new(ERA_TEST_NODE_BINARY_DEFAULT_PATH).exists() { + if !Path::new(ANVIL_ZKSYNC_BINARY_DEFAULT_PATH).exists() { anyhow::bail!( - "Expected era-test-node binary to be built and present at '{}'. Please run `make all` in the root directory.", - ERA_TEST_NODE_BINARY_DEFAULT_PATH + "Expected anvil-zksync binary to be built and present at '{}'. Please run `make all` in the root directory.", + ANVIL_ZKSYNC_BINARY_DEFAULT_PATH ); } - let metadata = std::fs::metadata(ERA_TEST_NODE_BINARY_DEFAULT_PATH)?; + let metadata = std::fs::metadata(ANVIL_ZKSYNC_BINARY_DEFAULT_PATH)?; match metadata.modified() { Ok(binary_mod_time) => { let binary_mod_time = DateTime::::from(binary_mod_time); tracing::info!( %binary_mod_time, - path = ERA_TEST_NODE_BINARY_DEFAULT_PATH, + path = ANVIL_ZKSYNC_BINARY_DEFAULT_PATH, "Resolved when binary file was last modified" ); - let source_mod_time = std::fs::read_dir(ERA_TEST_NODE_SRC_PATH) - .context("couldn't access era-test-node source directory")? + let source_mod_time = std::fs::read_dir(ANVIL_ZKSYNC_SRC_PATH) + .context("couldn't access anvil-zksync source directory")? .map(|entry| entry.and_then(|f| f.metadata()).and_then(|f| f.modified())) .collect::>>() - .context("couldn't get one of the era-test-node source file's metadata")? + .context("couldn't get one of the anvil-zksync source file's metadata")? .into_iter() .max(); if let Some(source_mod_time) = source_mod_time { let source_mod_time = DateTime::::from(source_mod_time); tracing::info!( %source_mod_time, - path = ERA_TEST_NODE_SRC_PATH, + path = ANVIL_ZKSYNC_SRC_PATH, "Resolved when source files were last modified" ); if binary_mod_time < source_mod_time { // TODO: invoke `make all` for the user automatically? anyhow::bail!( "Source files have been recently modified (source last modified at '{}', binary last modified at '{}'). \ - Please re-build era-test-node binary by running `make all` in the root directory.", + Please re-build anvil-zksync binary by running `make all` in the root directory.", source_mod_time, binary_mod_time, ); } } else { tracing::warn!( - path = ERA_TEST_NODE_SRC_PATH, + path = ANVIL_ZKSYNC_SRC_PATH, "No files found under the source directory" ); } @@ -98,7 +98,7 @@ fn ensure_binary_is_fresh() -> anyhow::Result<()> { Err(error) => { tracing::warn!( %error, - path = ERA_TEST_NODE_BINARY_DEFAULT_PATH, + path = ANVIL_ZKSYNC_BINARY_DEFAULT_PATH, "Could not get modification time from file (your platform might not support it, refer to the attached error). \ Make sure that your binary has been built against the code you are working with." ); @@ -108,12 +108,12 @@ fn ensure_binary_is_fresh() -> anyhow::Result<()> { } #[derive(Default)] -pub struct EraTestNodeRunner { +pub struct AnvilZKsyncRunner { path: Option, rpc_port: Option, } -impl EraTestNodeRunner { +impl AnvilZKsyncRunner { pub fn path(mut self, path: String) -> Self { self.path = Some(path); self @@ -128,21 +128,21 @@ impl EraTestNodeRunner { let path = match self.path { Some(path) => path, None => { - if let Some(path) = std::env::var("ERA_TEST_NODE_BINARY_PATH").ok() { + if let Some(path) = std::env::var("ANVIL_ZKSYNC_BINARY_PATH").ok() { path } else { // Default to the binary taken from the target directory ensure_binary_is_fresh()?; - ERA_TEST_NODE_BINARY_DEFAULT_PATH.to_string() + ANVIL_ZKSYNC_BINARY_DEFAULT_PATH.to_string() } } }; let rpc_port_lock = match self.rpc_port { Some(rpc_port) => LockedPort::acquire(rpc_port).await?, None => { - if let Some(rpc_port) = std::env::var("ERA_TEST_NODE_RPC_PORT").ok() { + if let Some(rpc_port) = std::env::var("ANVIL_ZKSYNC_RPC_PORT").ok() { LockedPort::acquire(rpc_port.parse().context( - "failed to parse `ERA_TEST_NODE_RPC_PORT` var as a valid port number", + "failed to parse `ANVIL_ZKSYNC_RPC_PORT` var as a valid port number", )?) .await? } else { @@ -156,7 +156,7 @@ impl EraTestNodeRunner { }; let handle = run(path, config)?; - // TODO: Wait for era-test-node healthcheck instead + // TODO: Wait for anvil-zksync healthcheck instead tokio::time::sleep(Duration::from_secs(1)).await; Ok(handle) diff --git a/spec-tests/src/utils.rs b/spec-tests/src/utils.rs index 3db9fdf0..8ba96c20 100644 --- a/spec-tests/src/utils.rs +++ b/spec-tests/src/utils.rs @@ -37,7 +37,7 @@ impl LockedPort { pub async fn acquire_unused() -> anyhow::Result { loop { let port = Self::pick_unused_port().await?; - let lockpath = std::env::temp_dir().join(format!("era-test-node-port{}.lock", port)); + let lockpath = std::env::temp_dir().join(format!("anvil-zksync-port{}.lock", port)); let lockfile = File::create(lockpath) .with_context(|| format!("failed to create lockfile for port={}", port))?; if lockfile.try_lock_exclusive().is_ok() { @@ -50,7 +50,7 @@ impl LockedPort { /// can take this lock). Lock lasts until the returned `LockedPort` instance is dropped. pub async fn acquire(port: u16) -> anyhow::Result { let port = Self::check_port_is_unused(port).await?; - let lockpath = std::env::temp_dir().join(format!("era-test-node-port{}.lock", port)); + let lockpath = std::env::temp_dir().join(format!("anvil-zksync-port{}.lock", port)); let lockfile = File::create(lockpath) .with_context(|| format!("failed to create lockfile for port={}", port))?; lockfile diff --git a/spec-tests/tests/lib.rs b/spec-tests/tests/lib.rs index bde549e9..c133426b 100644 --- a/spec-tests/tests/lib.rs +++ b/spec-tests/tests/lib.rs @@ -1,7 +1,7 @@ -//! Validation that zkSync Era In-Memory Node conforms to the official Ethereum Spec +//! Validation that anvil-zksync conforms to the official Ethereum Spec -use era_test_node_spec_tests::process::EraTestNodeRunner; -use era_test_node_spec_tests::{EraApi, EthSpecPatch}; +use anvil_zksync_spec_tests::process::AnvilZKsyncRunner; +use anvil_zksync_spec_tests::{EraApi, EthSpecPatch}; use jsonschema::Validator; use openrpc_types::resolved::{Method, OpenRPC}; use schemars::visit::Visitor; @@ -59,8 +59,8 @@ fn validate_schema(validator: Validator, result: Value) { #[test_log::test(tokio::test)] async fn validate_eth_get_block_genesis() -> anyhow::Result<()> { - // Start era-test-node as an OS process with a randomly selected RPC port - let node_handle = EraTestNodeRunner::default().run().await?; + // Start anvil-zksync as an OS process with a randomly selected RPC port + let node_handle = AnvilZKsyncRunner::default().run().await?; // Connect to it via JSON-RPC API let era_api = EraApi::local(node_handle.config.rpc_port)?; @@ -75,7 +75,7 @@ async fn validate_eth_get_block_genesis() -> anyhow::Result<()> { EthSpecPatch::for_block().visit_schema(&mut result_schema); // Build JSON Schema validator based on the resulting schema. let validator = jsonschema::options().build(&serde_json::to_value(result_schema)?)?; - // Make a real request to the running era-test-node and get its response as a JSON value. + // Make a real request to the running anvil-zksync and get its response as a JSON value. let result = era_api .make_request("eth_getBlockByNumber", vec![json!("0x0"), json!(false)]) .await?; @@ -87,7 +87,7 @@ async fn validate_eth_get_block_genesis() -> anyhow::Result<()> { #[test_log::test(tokio::test)] async fn validate_eth_get_block_with_txs_legacy() -> anyhow::Result<()> { - let node_handle = EraTestNodeRunner::default().run().await?; + let node_handle = AnvilZKsyncRunner::default().run().await?; let era_api = EraApi::local(node_handle.config.rpc_port)?; era_api.transfer_eth_legacy(U256::from("100")).await?; diff --git a/src/config/cli.rs b/src/config/cli.rs index 9f0e1e29..81a80316 100644 --- a/src/config/cli.rs +++ b/src/config/cli.rs @@ -22,7 +22,7 @@ use std::net::IpAddr; author = "Matter Labs", version, about = "A fast and extensible local ZKsync test node.", - long_about = "Era Test Node\n\nA developer-friendly ZKsync local node for testing." + long_about = "anvil-zksync\n\nA developer-friendly ZKsync local node for testing." )] pub struct Cli { #[command(subcommand)] @@ -39,7 +39,7 @@ pub struct Cli { /// The endpoint will return 200 OK if the node is healthy. pub health_check_endpoint: bool, - /// Writes output of `era-test-node` as json to user-specified file. + /// Writes output of `anvil-zksync` as json to user-specified file. #[arg(long, value_name = "OUT_FILE", help_heading = "General Options")] pub config_out: Option, @@ -157,7 +157,7 @@ pub struct Cli { pub log: Option, #[arg(long, help_heading = "Logging Configuration")] - /// Log file path (default: era_test_node.log). + /// Log file path (default: anvil-zksync.log). pub log_file_path: Option, #[arg(long, alias = "quiet", default_missing_value = "true", num_args(0..=1), help_heading = "Logging Configuration")] @@ -442,11 +442,11 @@ mod tests { #[test] fn can_parse_host() { // Test adapted from https://github.com/foundry-rs/foundry/blob/398ef4a3d55d8dd769ce86cada5ec845e805188b/crates/anvil/src/cmd.rs#L895 - let args = Cli::parse_from(["era_test_node"]); + let args = Cli::parse_from(["anvil-zksync"]); assert_eq!(args.host, vec![IpAddr::V4(Ipv4Addr::LOCALHOST)]); let args = Cli::parse_from([ - "era_test_node", + "anvil-zksync", "--host", "::1", "--host", @@ -461,7 +461,7 @@ mod tests { .to_vec() ); - let args = Cli::parse_from(["era_test_node", "--host", "::1,1.1.1.1,2.2.2.2"]); + let args = Cli::parse_from(["anvil-zksync", "--host", "::1,1.1.1.1,2.2.2.2"]); assert_eq!( args.host, ["::1", "1.1.1.1", "2.2.2.2"] @@ -470,11 +470,11 @@ mod tests { ); env::set_var("ANVIL_ZKSYNC_IP_ADDR", "1.1.1.1"); - let args = Cli::parse_from(["era_test_node"]); + let args = Cli::parse_from(["anvil-zksync"]); assert_eq!(args.host, vec!["1.1.1.1".parse::().unwrap()]); env::set_var("ANVIL_ZKSYNC_IP_ADDR", "::1,1.1.1.1,2.2.2.2"); - let args = Cli::parse_from(["era_test_node"]); + let args = Cli::parse_from(["anvil-zksync"]); assert_eq!( args.host, ["::1", "1.1.1.1", "2.2.2.2"] diff --git a/src/config/constants.rs b/src/config/constants.rs index fa3cb2d7..36ad3fda 100644 --- a/src/config/constants.rs +++ b/src/config/constants.rs @@ -17,7 +17,7 @@ pub const TEST_NODE_NETWORK_ID: u32 = 260; /// Default derivation path for the test node pub const DERIVATION_PATH: &str = "m/44'/60'/0'/0/0"; /// Default log file path for the test node -pub const DEFAULT_LOG_FILE_PATH: &str = "era_test_node.log"; +pub const DEFAULT_LOG_FILE_PATH: &str = "anvil-zksync.log"; /// Default mnemonic phrase for the test node pub const DEFAULT_MNEMONIC: &str = "test test test test test test test test test test test junk"; /// Timestamp of the first block (if not running in fork mode). diff --git a/src/config/mod.rs b/src/config/mod.rs index 58bc84ad..39a3a416 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -55,7 +55,7 @@ pub struct ForkPrintInfo { /// Defines the configuration parameters for the [InMemoryNode]. #[derive(Debug, Clone)] pub struct TestNodeConfig { - /// Filename to write era-test-node output as json + /// Filename to write anvil-zksync output as json pub config_out: Option, /// Port the node will listen on pub port: u16, @@ -202,7 +202,7 @@ impl TestNodeConfig { let config_out = self.config_out.as_deref().unwrap(); to_writer( &File::create(config_out) - .expect("Unable to create era-test-node config description file"), + .expect("Unable to create anvil-zksync config description file"), &self.as_json(fork_details), ) .expect("Failed writing json"); @@ -215,10 +215,11 @@ impl TestNodeConfig { let color = CustomColor::new(13, 71, 198); println!("{}", BANNER.custom_color(color)); + println!("testing"); tracing::info!("Version: {}", VERSION_MESSAGE.green()); tracing::info!( "Repository: {}", - "https://github.com/matter-labs/era-test-node".green() + "https://github.com/matter-labs/anvil-zksync".green() ); println!("\n"); @@ -417,7 +418,7 @@ impl TestNodeConfig { } } - /// Sets the file path to write the Era-test-node's config info to. + /// Sets the file path to write the anvil-zksync config info to. #[must_use] pub fn set_config_out(mut self, config_out: Option) -> Self { self.config_out = config_out; @@ -930,7 +931,7 @@ impl TestNodeConfig { } /// Account Generator -/// Manages the generation of accounts for era-test-node +/// Manages the generation of accounts for anvil-zksync #[derive(Clone, Debug, Deserialize)] pub struct AccountGenerator { chain_id: u32, diff --git a/src/fork.rs b/src/fork.rs index 691bfc25..fcf6c101 100644 --- a/src/fork.rs +++ b/src/fork.rs @@ -539,7 +539,7 @@ impl ForkDetails { estimate_gas_price_scale_factor, estimate_gas_scale_factor, fee_params, - cache_config: cache_config.clone(), // TODO: This is a temporary solution, we should avoid cloning the cache config here. We should look to refactor how cache is being configured / used as it currently feels a bit too rigid. See: https://github.com/matter-labs/era-test-node/issues/387 + cache_config: cache_config.clone(), // TODO: This is a temporary solution, we should avoid cloning the cache config here. We should look to refactor how cache is being configured / used as it currently feels a bit too rigid. See: https://github.com/matter-labs/anvil-zksync/issues/387 }) } /// Create a fork from a given network at a given height. diff --git a/src/lib.rs b/src/lib.rs index c997e2d2..591af031 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ -//! zkSync Era In-Memory Node +//! anvil-zksync //! -//! The `era-test-node` crate provides an in-memory node designed primarily for local testing. +//! The `anvil-zksync` crate provides an in-memory node designed primarily for local testing. //! It supports forking the state from other networks, making it a valuable tool for integration testing, //! bootloader and system contract testing, and prototyping. //! @@ -34,12 +34,12 @@ //! //! ## Usage //! -//! To start the node, use the command `era_test_node run`. For more advanced functionalities like forking or -//! replaying transactions, refer to the [official documentation](https://era.zksync.io/docs/tools/testing/era-test-node.html). +//! To start the node, use the command `anvil-zksync run`. For more advanced functionalities like forking or +//! replaying transactions, refer to the [official documentation](https://era.zksync.io/docs/tools/testing/anvil-zksync.html). //! //! ## Contributions //! -//! Contributions to improve `era-test-node` are welcome. Please refer to the [contribution guidelines](https://github.com/matter-labs/era-test-node/blob/main/.github/CONTRIBUTING.md) for more details. +//! Contributions to improve `anvil-zksync` are welcome. Please refer to the [contribution guidelines](https://github.com/matter-labs/anvil-zksync/blob/main/.github/CONTRIBUTING.md) for more details. pub mod bootloader_debug; pub mod config; diff --git a/src/main.rs b/src/main.rs index 43b554dc..f88d2e16 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,6 +111,7 @@ async fn build_json_http< async fn main() -> anyhow::Result<()> { // Check for deprecated options Cli::deprecated_config_option(); + tracing::info!(target: "anvil-zksync", "This is a test log with explicit target"); let opt = Cli::parse(); let command = opt.command.clone(); @@ -122,7 +123,7 @@ async fn main() -> anyhow::Result<()> { // Initialize the tracing subscriber let observability = Observability::init( - vec!["era_test_node".into()], + vec!["anvil_zksync".into()], log_level_filter, log_file, config.silent, diff --git a/src/namespaces/anvil.rs b/src/namespaces/anvil.rs index 880f9091..7efeff2d 100644 --- a/src/namespaces/anvil.rs +++ b/src/namespaces/anvil.rs @@ -232,7 +232,7 @@ pub trait AnvilNamespaceT { #[rpc(name = "anvil_reset")] fn reset_network(&self, reset_spec: Option) -> RpcResult; - /// Era Test Node allows transactions impersonating specific account and contract addresses. + /// anvil-zksync allows transactions impersonating specific account and contract addresses. /// To impersonate an account use this method, passing the address to impersonate as its parameter. /// After calling this method, any transactions with this sender will be executed without verification. /// Multiple addresses can be impersonated at once. diff --git a/src/node/mod.rs b/src/node/mod.rs index 5b004900..10ec1126 100644 --- a/src/node/mod.rs +++ b/src/node/mod.rs @@ -1,4 +1,4 @@ -//! In-memory node, that supports forking other networks. +//! anvil-zksync, that supports forking other networks. mod anvil; mod block_producer; diff --git a/src/observability.rs b/src/observability.rs index ef9fae79..bd7d4f87 100644 --- a/src/observability.rs +++ b/src/observability.rs @@ -70,7 +70,7 @@ impl Observability { } else { Self::parse_filter(&directives)? }; - let (filter, reload_handle) = reload::Layer::new(filter); + let (filter, reload_handle) = reload::Layer::::new(filter); let timer_format = time::format_description::parse("[hour]:[minute]:[second]").expect("Cataplum"); diff --git a/test_endpoints.http b/test_endpoints.http index a62c061f..715d3529 100644 --- a/test_endpoints.http +++ b/test_endpoints.http @@ -865,7 +865,7 @@ content-type: application/json "jsonrpc": "2.0", "id": "1", "method": "config_setLogging", - "params": ["era_test_node=trace,multivm=trace"] + "params": ["anvil-zksync=trace,multivm=trace"] } ###