Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Da eigen merged main #291

Merged
merged 101 commits into from
Oct 8, 2024
Merged

Da eigen merged main #291

merged 101 commits into from
Oct 8, 2024

Commits on Sep 18, 2024

  1. feat(ci): Deprecate use of zk tool in docker-build process (matter-la…

    …bs#2901)
    
    ## What ❔
    
    Remove use of ZK tool in docker-build process
    
    ## Why ❔
    
    Improve readability of CI, speeds up building process
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    dab1eb2 View commit details
    Browse the repository at this point in the history
  2. test: Investigate L1 "nonce too low" errors (matter-labs#2848)

    ## What ❔
    
    - Resolves "nonce too low" errors on L1 by retrying transaction
    requests. This is a temporary measure until a new version of `reth` is
    released.
    - Reduces spammy logs for integration tests. Enables verbose output for
    integration tests in CI.
    - Fixes some other issues with tests (e.g., a data race in the snapshot
    recovery test).
    
    ## Why ❔
    
    Makes CI more stable.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    20442f6 View commit details
    Browse the repository at this point in the history
  3. fix(ci): vm perf to prometheus (matter-labs#2909)

    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    ba21c6e View commit details
    Browse the repository at this point in the history
  4. feat(ci): Add building base docker image (matter-labs#2913)

    ## What ❔
    
    Workflow to build base-image
    
    ## Why ❔
    
    Added ability to push to ghcr.io
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5cb04ed View commit details
    Browse the repository at this point in the history
  5. fix(ci): Fix multiarch for build-base CI (matter-labs#2914)

    ## What ❔
    
    Fix multiarch command for build-base-image CI
    
    ## Why ❔
    
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8729270 View commit details
    Browse the repository at this point in the history
  6. fix(ci): Switch build-base to ghcr.io (matter-labs#2912)

    ## What ❔
    
    Change build-base image location from dockerhub to ghcr.io
    
    ## Why ❔
    
    Workaround for dockerhub rate-limiting 
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    86299e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. feat: make to address optional for transaction data (matter-labs#2852)

    ## What ❔
    
    This PR is the first part of [this
    one](matter-labs#2631).
    
    We decided to separate it into smaller PRs to make it easier to read and
    review.
    
    This PR contains only the changes to the `TransactionData` structs for
    the different VM versions, modifying them for an optional field.
    
    The other parts are currently available in our repo fork, as they are
    based on this branch. The other PRs are:
    - [feat: evm simulator as base system
    contract](#256):
    integrates the EVM interpreter contract as a base system contract and
    includes all necessary updates for zksync-era to run with it.
    - [feat: make evm simulator optional for the
    server](#257): makes the
    evm simulator optional to run using a config file.
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    IAvecilla authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    8363c1d View commit details
    Browse the repository at this point in the history
  2. feat(prover): WitnessGenerator refactoring #2 (matter-labs#2899)

    ## What ❔
    
    Introduce WitnessGenerator trait
    Rename some methods
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    Artemka374 authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    36e5340 View commit details
    Browse the repository at this point in the history
  3. feat(tee): use hex serialization for RPC responses (matter-labs#2887)

    ## What ❔
    
    Following Anton's suggestion, we have switched to hex serialization for
    API/RPC requests and responses. Previously, we used default JSON
    serialization for Vec<u8>, which resulted in a lengthy comma-separated
    list of integers.
    
    This change standardizes serialization, making it more efficient and
    reducing the size of the responses. The previous format, with a series
    of comma-separated integers for pubkey-like fields, looked odd.
    
    Then:
    ```
    curl -X POST\
         -H "Content-Type: application/json" \
         --data '{"jsonrpc": "2.0", "id": 1, "method": "unstable_getTeeProofs", "params": [491882, "sgx"] }' \
            https://mainnet.era.zksync.io
    {"jsonrpc":"2.0","result":[{"attestation":[3,0,2,0,0,0,0,0,10,<dozens of comma-separated integers here>
    ```
    
    Now:
    ```
    $ curl -X POST \
           -H "Content-Type: application/json" \
           --data '{"jsonrpc": "2.0", "id": 1, "method": "unstable_getTeeProofs", "params": [1, "sgx"] }' \
              http://localhost:3050
    {"jsonrpc":"2.0","result":[{"l1BatchNumber":1,"teeType":"sgx","pubkey":"0506070809","signature":"0001020304","proof":"0a0b0c0d0e","provedAt":"2024-09-16T11:53:38.253033Z","attestation":"0403020100"}],"id":1}
    ```
    
    This change needs to be deployed in lockstep with:
    matter-labs/teepot#209.
    
    ## Why ❔
    
    To improve user experience (UX) and optimize the RPC response size.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    
    Co-authored-by: Artem Makhortov <13339874+artmakh@users.noreply.github.com>
    pbeza and artmakh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    abe0440 View commit details
    Browse the repository at this point in the history
  4. feat(ci): Add runtime-base image (matter-labs#2919)

    ## What ❔
    
    Adding image which will be used as runtime-base for services
    
    ## Why ❔
    
    As a workaround for dockerhub ratelimits
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    55f1605 View commit details
    Browse the repository at this point in the history
  5. fix(ci): Rename workflows for runner and builder base (matter-labs#2921)

    ## What ❔
    
    Rename workflows for runner and builder base
    
    ## Why ❔
    
    Easier to find =)
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6acd606 View commit details
    Browse the repository at this point in the history
  6. fix(ci): zksync-runtime-base proper platforms names (matter-labs#2923)

    ## What ❔
    
    Proper platform names for docker build action
    
    ## Why ❔
    
    Docker documentation (which is linked in docker-build-action docs)
    [points to non-working
    reference](https://docs.docker.com/reference/cli/docker/buildx/build/#platform)
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    eda70b4 View commit details
    Browse the repository at this point in the history
  7. fix(ci): Proper type of var for platforms in docker build action (mat…

    …ter-labs#2924)
    
    ## What ❔
    
    Proper type of var for platforms in docker build action
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    1b06409 View commit details
    Browse the repository at this point in the history
  8. fix(zk_toolbox): show readable log (matter-labs#2911)

    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ab898e7 View commit details
    Browse the repository at this point in the history
  9. feat(ci): Migrate to vendored image as a zksync-runtime-base (matter-…

    …labs#2926)
    
    ## What ❔
    
    Move building images to zksync-runtime-base
    
    ## Why ❔
    
    Workaround for dockerhub rate limits
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    174dcf5 View commit details
    Browse the repository at this point in the history
  10. chore(main): release core 24.25.0 (matter-labs#2816)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [24.25.0](matter-labs/zksync-era@core-v24.24.0...core-v24.25.0)
    (2024-09-19)
    
    
    ### Features
    
    * (DB migration) Rename recursion_scheduler_level_vk_hash to
    snark_wrapper_vk_hash
    ([matter-labs#2809](matter-labs#2809))
    ([64f9551](matter-labs@64f9551))
    * add da clients
    ([matter-labs#2743](matter-labs#2743))
    ([9218612](matter-labs@9218612))
    * attester committees data extractor (BFT-434)
    ([matter-labs#2684](matter-labs#2684))
    ([92dde03](matter-labs@92dde03))
    * emit errors in prover API metrics
    ([matter-labs#2890](matter-labs#2890))
    ([2ac7cc5](matter-labs@2ac7cc5))
    * **en:** Resume incomplete snapshot in snapshot creator in more cases
    ([matter-labs#2886](matter-labs#2886))
    ([f095b4a](matter-labs@f095b4a))
    * make `to` address optional for transaction data
    ([matter-labs#2852](matter-labs#2852))
    ([8363c1d](matter-labs@8363c1d))
    * **prover:** Optimize setup keys loading
    ([matter-labs#2847](matter-labs#2847))
    ([19887ef](matter-labs@19887ef))
    * Selector generator tool
    ([matter-labs#2844](matter-labs#2844))
    ([b359b08](matter-labs@b359b08))
    * **tee:** use hex serialization for RPC responses
    ([matter-labs#2887](matter-labs#2887))
    ([abe0440](matter-labs@abe0440))
    * **utils:** Rework locate_workspace, introduce Workspace type
    ([matter-labs#2830](matter-labs#2830))
    ([d256092](matter-labs@d256092))
    * **zk_toolbox:** Add external_node consensus support
    ([matter-labs#2821](matter-labs#2821))
    ([4a10d7d](matter-labs@4a10d7d))
    
    
    ### Bug Fixes
    
    * count SECP256 precompile to account validation gas limit as well
    ([matter-labs#2859](matter-labs#2859))
    ([fee0c2a](matter-labs@fee0c2a))
    * **en:** Fix connection starvation during snapshot recovery
    ([matter-labs#2836](matter-labs#2836))
    ([52f4f76](matter-labs@52f4f76))
    * **eth_watch:** fix `get_events_inner`
    ([matter-labs#2882](matter-labs#2882))
    ([c957dd8](matter-labs@c957dd8))
    * handling of HTTP 403 thrown by proxyd
    ([matter-labs#2835](matter-labs#2835))
    ([2d71c74](matter-labs@2d71c74))
    * **state-keeper:** Restore processed tx metrics in state keeper
    ([matter-labs#2815](matter-labs#2815))
    ([4d8862b](matter-labs@4d8862b))
    * **tee-prover:** fix deserialization of `std::time::Duration` in `envy`
    config ([matter-labs#2817](matter-labs#2817))
    ([df8641a](matter-labs@df8641a))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    ---------
    
    Co-authored-by: zksync-era-bot <zksync-era-bot@users.noreply.github.com>
    zksync-era-bot and zksync-era-bot authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    f6d68da View commit details
    Browse the repository at this point in the history
  11. docs: Update system requirements (matter-labs#2894)

    ## What ❔
    - 30 GB of free disk space are no longer sufficient to run a testnet EN.
    Upped the system requirements to 50 GB.
    - State growth is normally used to refer to the growth of the state
    tree, not of the historical state. What we have is historical state
    pruning, not state pruning.
    brunoffranca authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6ec528e View commit details
    Browse the repository at this point in the history
  12. chore(vm): Bump vm2 repo revision (matter-labs#2883)

    ## What ❔
    
    Bumps the `vm2` crate revision and updates new VM usage correspondingly.
    
    ## Why ❔
    
    To keep the `vm2` dependency up to date and track possible regressions.
    
    ## Checklist
    
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    209ac10 View commit details
    Browse the repository at this point in the history
  13. feat(nix): use precompiled rocksdb and snappy (matter-labs#2925)

    ## What ❔
    
    Use precompiled `rocksdb` and `snappy` in the nix build.
    
    ## Why ❔
    
    Speeds up compilation and is usually better maintained.
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
    haraldh authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    633bca4 View commit details
    Browse the repository at this point in the history
  14. feat(prover): Add endpoint to PJM to get queue reports (matter-labs#2918

    )
    
    ## What ❔
    
    Add `/queue_report` endpoint, which will get the data about queue and
    send it.
    
    ## Why ❔
    
    To work with new autoscaler
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Co-authored-by: EmilLuta <EmilLuta@users.noreply.github.com>
    Artemka374 and EmilLuta authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    2cec83f View commit details
    Browse the repository at this point in the history
  15. fix(eth-sender): print better error message in case of missing blob p…

    …rices (matter-labs#2927)
    
    Signed-off-by: tomg10 <lemures64@gmail.com>
    Co-authored-by: perekopskiy <mikeson.dp@gmail.com>
    tomg10 and perekopskiy authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    38fc824 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. feat: added seed_peers to consensus global config (matter-labs#2920)

    It will allow us to announce the recommended default list of peers to
    all ENs without manual intervention.
    Fixes BFT-509.
    
    ---------
    
    Co-authored-by: Bruno França <bruno@franca.xyz>
    pompon0 and brunoffranca authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    e9d1d90 View commit details
    Browse the repository at this point in the history
  2. feat(vm): Do not panic on VM divergence (matter-labs#2705)

    ## What ❔
    
    - Allows to continue batch execution on divergence via new
    `ShadowLenient` VM mode.
    - Dumps VM state to logs and optionally a file on divergence.
    
    ## Why ❔
    
    Allows to detect divergencies in multiple batches w/o blockers. The
    dumped VM state will hopefully allow investigating divergencies locally,
    although this logic isn't implemented yet.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    7aa5721 View commit details
    Browse the repository at this point in the history
  3. feat(prover): Use query macro instead string literals for queries (ma…

    …tter-labs#2930)
    
    ## What ❔
    
    In some places our sqlx queries are using string literals instead of
    query macros. This PR changes this behaviour in places it is possible.
    
    ## Why ❔
    
    To prevent possible SQL injections.
    It also will cache the queries, which should make them faster.
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    Artemka374 authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    1cf959d View commit details
    Browse the repository at this point in the history
  4. feat(circuit_prover): Add circuit prover (matter-labs#2908)

    ### Summary
    
    This PR introduces a new component `circuit_prover`, which is multiple
    WVGs & GPU prover running together, groupless. The changes are
    non-destructive, old setup and new setup must work together in-tandem.
    
    ### What?
    
    Circuit prover is a component that runs X WVGs alongside a GPU prover.
    Making full use of CPUs on the GPU machine, WVGs as a component can be
    removed altogether. Prover groups are not needed anymore. Based on
    empiric testing we can (almost -- there will be follow-up fixes to make
    it efficient) fully run everything on a single machine.
    
    The current implementation can sunset the old setup. Current metrics
    show that circuit prover is > 60% efficient than old one (but quirks are
    needed for node proofs to unlock it -- will be treated as a follow-up).
    
    The purpose is to have the `circuit_prover` deprecate old `prover_fri` &
    `witness_vector_generator`.
    
    ### Why?
    
    The changes will allow us to reduce our infrastructure footprint by ~2x
    and fix plenty of issues we had in the past. Namely:
    - fully decoupled of GCP
    - better resource utilization & reduce costs
    - reduce overall infrastructure needs (which solves the GPU
    unavailability we've been facing)
    - reduce complexity & other inefficiencies (no more prover groups!)
    - and more
    
    ### Ask
    
    We want to unblock folks running on AWS. This PR is done as is to speed
    up release process on DevOps side, as it's the longest pole.
    
    NOTE: This is the first PR out of a longer set of PRs.
    
    Comments are more than welcome, but the following concerns will be
    addressed in follow-up PRs and are out of scope for this PR:
    - tracing implementation is subpar; in fact, I'm confident that most
    metrics could be done via traces
    - there's a lot of code duplication (both old/new prover, but runner
    interface between new WVG & CP)
    - tests
    - concern separation between job scheduling & job execution
    - job priority based on resource consumption
    - other nits (such as no README, constants being hard-coded instead of
    configuration, etc.)
    
    ### Reviewer suggestion
    
    This is basically a merge between `prover_fri`,
    `witness_vector_generation` and `JobProcessor`. Checking code alongside
    should give you a better view of what's going on. Sorry for making this
    hard. :/
    EmilLuta authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    48317e6 View commit details
    Browse the repository at this point in the history
  5. refactor(vm): Refactor L1 batch params provider (matter-labs#2891)

    ## What ❔
    
    Refactors `L1BatchParamsProvider`, in particular its construction.
    
    ## Why ❔
    
    To have more intuitive DevEx.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    d997041 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. feat(vm): Extract oneshot VM executor – environment types (matter-lab…

    …s#2885)
    
    ## What ❔
    
    Continues oneshot VM executor extraction by moving generic environment
    types to the `zksync_vm_executor` crate.
    
    ## Why ❔
    
    Makes it possible to use the VM executor outside the API server. E.g.,
    it's now used in `zksync_node_consensus`.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    a2d4126 View commit details
    Browse the repository at this point in the history
  2. fix(api_server): fix blob_gas length (matter-labs#2673)

    Discovered during testing Gateway integration (our own asserts from
    query.rs started being triggered by our eth api implementation :D )
    
    ---------
    
    Co-authored-by: perekopskiy <mikeson.dp@gmail.com>
    tomg10 and perekopskiy authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    44a8f79 View commit details
    Browse the repository at this point in the history
  3. refactor: Improve EN Grafana dashboards (matter-labs#2931)

    ## What ❔
    Adding more information to the EN Grafana dashboards, which barely had
    any.
    
    ## Why ❔
    Better observability.
    
    Fixes BFT-507
    brunoffranca authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    878dab3 View commit details
    Browse the repository at this point in the history
  4. chore(main): release core 24.26.0 (matter-labs#2928)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [24.26.0](matter-labs/zksync-era@core-v24.25.0...core-v24.26.0)
    (2024-09-23)
    
    
    ### Features
    
    * added seed_peers to consensus global config
    ([matter-labs#2920](matter-labs#2920))
    ([e9d1d90](matter-labs@e9d1d90))
    * **circuit_prover:** Add circuit prover
    ([matter-labs#2908](matter-labs#2908))
    ([48317e6](matter-labs@48317e6))
    * **prover:** Add endpoint to PJM to get queue reports
    ([matter-labs#2918](matter-labs#2918))
    ([2cec83f](matter-labs@2cec83f))
    * **vm:** Do not panic on VM divergence
    ([matter-labs#2705](matter-labs#2705))
    ([7aa5721](matter-labs@7aa5721))
    * **vm:** Extract oneshot VM executor – environment types
    ([matter-labs#2885](matter-labs#2885))
    ([a2d4126](matter-labs@a2d4126))
    
    
    ### Bug Fixes
    
    * **api_server:** fix blob_gas length
    ([matter-labs#2673](matter-labs#2673))
    ([44a8f79](matter-labs@44a8f79))
    * **eth-sender:** print better error message in case of missing blob
    prices ([matter-labs#2927](matter-labs#2927))
    ([38fc824](matter-labs@38fc824))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    ---------
    
    Co-authored-by: zksync-era-bot <zksync-era-bot@users.noreply.github.com>
    zksync-era-bot and zksync-era-bot authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    7a53cd1 View commit details
    Browse the repository at this point in the history
  5. chore(ci): Fix CI building (matter-labs#2936)

    After new prover was introduced, a new flag is needed for code that
    touches GPU related code that has no CUDA available. This PR adds the
    flag to CI pipelines that were missed.
    [Sample](https://github.com/matter-labs/zksync-era/actions/runs/10958933706/job/30430256489)
    broken CI.
    EmilLuta authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    2224f8f View commit details
    Browse the repository at this point in the history
  6. feat(vm): Split old and new VM implementations (matter-labs#2915)

    ## What ❔
    
    Splits old and new VM implementations in the `multivm` crate:
    
    - Old VMs are encapsulated in the `LegacyVmInstance` enum, while new
    ones in the `FastVmInstance` enum (which includes plain and shadowed VM
    variants).
    - Fast VM and `FastVmInstance` now expose a tracer type.
    - Usage of the Fast VM in the batch executor are updated
    correspondingly.
    
    ## Why ❔
    
    It seems infeasible to unify the tracer model for old and new VMs, so
    keeping them all in a single enum makes little sense.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    93bc66f View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. feat(zk_toolbox): Add options for selective installation of zk_incept…

    …ion and zk_supervisor (matter-labs#2934)
    
    ## What ❔
    
    - Introduced `--inception` and `--supervisor` options to allow users to
    specify which binaries to install.
    - Removed the `ZKUP_SKIP_ZK_SUPERVISOR` option.
    
    ## Why ❔
    
    Make it clear what to install, focusing on what to include rather what
    to exclude
    matias-gonz authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    9b63817 View commit details
    Browse the repository at this point in the history
  2. feat(zk_toolbox): Add zk toolbox unit tests to zks test (matter-labs#…

    …2935)
    
    ## What ❔
    
    Add zk toolbox unit tests to zks test
    matias-gonz authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    7026637 View commit details
    Browse the repository at this point in the history
  3. feat(circuit-prover): Add circuit_prover Dockerfile and build rules (m…

    …atter-labs#2939)
    
    This will enable us to build images for circuit proving (new version).
    Not tested.
    
    ---------
    
    Co-authored-by: Yury Akudovich <ya@matterlabs.dev>
    EmilLuta and yorik authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    1095ae7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72e2218 View commit details
    Browse the repository at this point in the history
  5. ci: Copy setup_keys to docker/circuit-prover-gpu-gar (matter-labs#2951)

    ## What ❔
    
    Copy setup keys to be available for docker/circuit-prover-gpu-gar.
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    To build circuit-prover-gpu image with keys.
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    yorik authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    9340480 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. docs: fix invalid links to "namespaces/eth.rs" and "execution_sandbox…

    ….rs" (matter-labs#2945)
    
    ## What ❔
    
    This PR fixes 2 invalid links in the documents which was caused by
    refactor (refactor: Split the rest of the zksync_core
    (matter-labs#1940))
    
    ## Why ❔
    
    Unclarity in documentation
    
    ## Checklist
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    mtzsky authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    6313c7d View commit details
    Browse the repository at this point in the history
  2. chore(prover): Fixes broken non-GPU setup (matter-labs#2953)

    Previously, this was done via a compile flag. This was deemed poor taste
    and we've moved a specific env-var - `ZKSYNC_USE_CUDA_STUBS`. This is
    wired deep within crypto dependencies.
    
    This PR updates the dependencies, adds documentation on how to work with
    the flag and updates all workflows (fixing the broken ones from
    RUSTFLAGS time).
    
    ---------
    
    Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
    EmilLuta and popzxc authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2edd8a2 View commit details
    Browse the repository at this point in the history
  3. chore(prover-gateway): Speed up polling (matter-labs#2957)

    16 minutes is just ridiculous. This should've been done a long time ago,
    but has been avoided due to other priorities and always put on the
    back-burner/forgotten. Today we change it.
    EmilLuta authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    1fdbb30 View commit details
    Browse the repository at this point in the history
  4. fix(api): Return correct flat call tracer (matter-labs#2917)

    ## What ❔
    
    It was an inconsistency between call tracer results
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    218646a View commit details
    Browse the repository at this point in the history
  5. chore(main): release core 24.27.0 (matter-labs#2940)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [24.27.0](matter-labs/zksync-era@core-v24.26.0...core-v24.27.0)
    (2024-09-25)
    
    
    ### Features
    
    * **vm:** Split old and new VM implementations
    ([matter-labs#2915](matter-labs#2915))
    ([93bc66f](matter-labs@93bc66f))
    
    
    ### Bug Fixes
    
    * **api:** Return correct flat call tracer
    ([matter-labs#2917](matter-labs#2917))
    ([218646a](matter-labs@218646a))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    ---------
    
    Co-authored-by: zksync-era-bot <zksync-era-bot@users.noreply.github.com>
    zksync-era-bot and zksync-era-bot authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    e214dd0 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. feat(eth-watch): redesign to support multiple chains (matter-labs#2867)

    This PR contains code from sync-layer-stable + I removed old upgrades
    processor and updated unit-tests to use the new one
    
    ---------
    
    Signed-off-by: tomg10 <lemures64@gmail.com>
    tomg10 authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    aa72d84 View commit details
    Browse the repository at this point in the history
  2. feat(prover): WG refactoring #3 (matter-labs#2942)

    ## What ❔
    
    Create WG struct with generic round param.
    Implement generic JobProcessor for all types of WG.
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    Artemka374 authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    df68762 View commit details
    Browse the repository at this point in the history
  3. chore(eth-sender): remove deprecated proof loading (matter-labs#2958)

    ## What ❔
    
    Removes deprecated proof loading for eth-sender
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    perekopskiy authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    191e81a View commit details
    Browse the repository at this point in the history
  4. fix(eth-watch): add missing check that from_block is not larger than …

    …finalized_block (matter-labs#2969)
    
    Signed-off-by: tomg10 <lemures64@gmail.com>
    tomg10 authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3f406c7 View commit details
    Browse the repository at this point in the history
  5. refactor: Deleted unnecessary files (matter-labs#2959)

    ## What ❔
    
    - ~`.cargo/config.toml` is a remnant from when we used private repos. It
    should no longer be necessary.~
    - ~`configs/` doesn't seem to be used at all.~
    - `building-from-scratch` just contains an old docker file that was used
    for Coinbase. No longer used.
    brunoffranca authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3010a19 View commit details
    Browse the repository at this point in the history
  6. fix: cargo-deny advisory due to structopt (matter-labs#2972)

    ## What ❔
    Adds https://rustsec.org/advisories/RUSTSEC-2024-0375 to `deny.toml`,
    which is due to `StructOpt`.
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    * Currently it's impossible to migrate to clap as
    [zkevm_test_harness](https://github.com/matter-labs/era-zkevm_test_harness/blob/v1.5.0/Cargo.toml#L46)
    still depends on structopt.
    
    * This
    [unblocks](https://github.com/matter-labs/zksync-era/actions/runs/11054218994/job/30710479095)
    the CI
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    nbaztec authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c3d4bc1 View commit details
    Browse the repository at this point in the history
  7. fix: ignore unknown fields in rpc json response (matter-labs#2962)

    In some previous pr, I've added a field to json RPC response
    (consensusGlobalConfig) and it turned out to be incompatible due to the
    default parsing behavior: an error was returned when unknown fields were
    present. In general, for programmatic communications the recommended
    behaviour is to silently ignore unknown fields, so that adding new
    fields is compatible.
    
    I've also weakened the restriction on accepting new consensus genesis by
    external nodes - when the unknown fields are silently dropped, it is
    possible that the node will perceive genesis with the same fork number
    differently after a binary update (because it receives more fields).
    pompon0 authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    692ea73 View commit details
    Browse the repository at this point in the history
  8. fix(zk_toolbox): Do not panic if mint is not successful (matter-labs#…

    …2973)
    
    ## What ❔
    
    Use governor for minting process and do not panic if minting is not
    successful
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    57b99d4 View commit details
    Browse the repository at this point in the history
  9. initial commit

    juan518munoz committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    cc954c4 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. feat: zk_toolbox command for setting attester committee (matter-labs#…

    …2900)
    
    zk_toolbox command for setting attester committee in consensus registry
    contract.
    
    Fixes BFT-505
    
    ---------
    
    Co-authored-by: Bruno França <bruno@franca.xyz>
    pompon0 and brunoffranca authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    2dc65f0 View commit details
    Browse the repository at this point in the history
  2. fix: chainstack block limit exceeded (matter-labs#2974)

    ## What ❔
    
    Added support for chainstack developer and growth plan. 
    
    ## Why ❔
    
    I was getting the below error with chainstack's growth plan when I tried
    run self deployed zksync hyperchain. To fix this, I have added
    appropriate changes to the code.
    
    ```
    ERROR zksync_eth_watch: Failed to process new blocks: Eth client error: JSON-RPC request get_logs(filter=Filter { from_block: Some(Number(6732838)), to_block: Some(Number(6757429)), block_hash: None, address: Some(ValueOrArray([0xadd82b0c015be3fb7e8410061b4f15d577b4207f, 0xd6ee28b24f87c1d634540699b00e9c37fdc7b3bd, 0x41b75786db38a486c99972c8322fcb14c4f000a2, 0x5d300908338b85bee3f30f2e0ad196fc1587b70d])), topics: Some([Some(ValueOrArray([0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382, 0x23bc9f5dc037eb49c162fd08c2a4d43dfe70063149e140d502273168da0a0625, 0xd50ef21701c8ef211433b140724b8d6de471e7d822c8a616c3d424fe2d0e98a9]))]), limit: None }) failed: ErrorObject { code: InvalidParams, message: "Block range limit exceeded. See more details at https://docs.chainstack.com/docs/limits#evm-range-limits", data: None }
    ```
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    sachanayush47 authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4ffbf42 View commit details
    Browse the repository at this point in the history
  3. feat(eth-sender): add a cap to time_in_mempool (matter-labs#2978)

    Signed-off-by: tomg10 <lemures64@gmail.com>
    tomg10 authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    650d42f View commit details
    Browse the repository at this point in the history
  4. chore: update derive_more to stable version (matter-labs#2961)

    ## What ❔
    
    Updates `derive_more` to a stable version.
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    We're currently on beta and this is a requisite for supporting
    [foundry-zksync](https://github.com/matter-labs/foundry-zksync).
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    nbaztec authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    7ad0425 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3150e0d View commit details
    Browse the repository at this point in the history
  6. feat(da-clients): add secrets (matter-labs#2954)

    ## What ❔
    
    Add an opportunity to store the sensitive information of DA clients in
    the secrets.
    
    ## Why ❔
    
    Some sensitive info is currently stored as plaintext, which is not
    secure, we should use secrets for those values
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Co-authored-by: Danil <deniallugo@gmail.com>
    dimazhornyk and Deniallugo authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f4631e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. fix(api): Fix batch fee input for debug namespace (matter-labs#2948)

    ## What ❔
    
    Changes the `debug_traceCall` handler to use the fee provider for recent
    blocks (pending / latest / committed).
    
    ## Why ❔
    
    Previously, the `debug` namespace used a static batch fee input
    retrieved at the node initialization. This looks incorrect.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    79b6fcf View commit details
    Browse the repository at this point in the history
  2. feat(zk_toolbox): add fees integration test to toolbox (matter-labs#2898

    )
    
    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    Add fees integration test to toolbox and CI.
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Co-authored-by: Danil <deniallugo@gmail.com>
    manuelmauro and Deniallugo authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e7ead76 View commit details
    Browse the repository at this point in the history
  3. feat: Expose http debug page (matter-labs#2952)

    ## What ❔
    Exposes the consensus http debug on port 5000.
    Fixes BFT-508
    brunoffranca authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e0b6488 View commit details
    Browse the repository at this point in the history
  4. feat(zk_inception): Add ecosystem ports scanner (matter-labs#2849)

    ## What ❔
    Added `EcosystemPortsScanner` tool to scan ecosystem directory config
    and find all values for ports.
    Returns `EcosystemPorts` object with ports found and custom description
    of a service.
    `EcosystemPorts` also contains methods to: check whether the port is
    assigned, allocate a new port in range, etc.
    
    ## Why ❔
    With multiple chains and number of services (like explorer, etc.)
    growing - it is useful to have a tool (`EcosystemPorts`) that can be
    used to allocate new ports, thus, lowering the chance of port conflicts
    within created configuration.
    
    ## Checklist
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Co-authored-by: Matías Ignacio González <maigonzalez@fi.uba.ar>
    sanekmelnikov and matias-gonz authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    802b4e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. build: Set consensus and pruning as default for EN (matter-labs#2956)

    ## What ❔
    ENs, started from docker compose, now have consensus and pruning enabled
    as default. Also, the EN docs were updated.
    brunoffranca authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    ba03a4b View commit details
    Browse the repository at this point in the history
  2. fix(ci): Remove deprecated artifacts dir in contracts (matter-labs#2989)

    ## What ❔
    
    Removing deprecated `artifacts` dir from build process
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    8b79b9a View commit details
    Browse the repository at this point in the history
  3. chore(zk_toolbox): Use load current chain function (matter-labs#2990)

    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    cdc1288 View commit details
    Browse the repository at this point in the history
  4. perf(api): More efficient gas estimation (matter-labs#2937)

    ## What ❔
    
    Makes gas estimation more efficient by using heuristics similar to ones
    used by Ethereum clients:
    
    - Defines the lower gas limit bound as the gas consumed with an
    effectively infinite gas limit.
    - Defines an initial binary search pivot as a slightly larger value so
    that in the best / average case, most of the search space is immediately
    discarded.
    
    ## Why ❔
    
    Improves gas estimation latency in the best and average case.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    slowli authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3b69e37 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. test: Base token price client, fix: ratio calculation multiplicative …

    …inverse error (matter-labs#2970)
    
    ## What ❔
    
    - I introduce tests to external_price_api crate. Some work was taken
    from matter-labs#2315
    - fix multiplicative inverse ratio calculation bug
    - fix missing checks in get_fraction
    
    ## Why ❔
    
    - We want to make sure the flow of data from API response to token ratio
    is correct
    
    ## Checklist
    
    - [X] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [X] Tests for the changes have been added / updated.
    - [X] Documentation comments have been added / updated.
    - [X] Code has been formatted via `zk fmt` and `zk lint`.
    cytadela8 authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    b249827 View commit details
    Browse the repository at this point in the history
  2. chore(githooks): Use zk_toolbox in githooks (matter-labs#2895)

    ## What ❔
    
    Switch to zk_supervisor fmt in our githooks
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    af782ba View commit details
    Browse the repository at this point in the history
  3. feat(zk_toolbox): Add SQL format for zk supervisor (matter-labs#2950)

    ## What ❔
    Add SQL format for zk supervisor
    matias-gonz authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    540e5d7 View commit details
    Browse the repository at this point in the history
  4. feat(ci): Add Makefile for easy local build (matter-labs#2985)

    ## What ❔
    
    Add Makefile for easier local build of all components
    
    ## Why ❔
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    artmakh authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    4870d8f View commit details
    Browse the repository at this point in the history
  5. fix(zk_toolbox): wrong configs path for prover binaries (matter-labs#…

    …2922)
    
    ## What ❔
    
    Right now, while running prover binaries inside of zksync-era, config
    paths are specified as path to config from chain config(which is
    `./chain/configs` - relative path, but not absolute). This breaks,
    because to run prover binaries, shell enters prover directory of era.
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    Artemka374 authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f57719c View commit details
    Browse the repository at this point in the history
  6. feat(zk_toolbox): Migrate db during update (matter-labs#2995)

    ## What ❔
    
    Update databases during update process, now it's a universal receipt how
    to pull changes
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    eed8198 View commit details
    Browse the repository at this point in the history
  7. fix(ci): Bring back hack for contracts build till full migration to f…

    …oundry (matter-labs#3000)
    
    ## What ❔
    
    Creation of empty dirs, to support building from both new
    (foundry-built) and old contracts
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    artmakh authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8c9b332 View commit details
    Browse the repository at this point in the history
  8. chore(main): release core 24.28.0 (matter-labs#2968)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [24.28.0](matter-labs/zksync-era@core-v24.27.0...core-v24.28.0)
    (2024-10-02)
    
    
    ### Features
    
    * **da-clients:** add secrets
    ([matter-labs#2954](matter-labs#2954))
    ([f4631e4](matter-labs@f4631e4))
    * **eth-sender:** add a cap to time_in_mempool
    ([matter-labs#2978](matter-labs#2978))
    ([650d42f](matter-labs@650d42f))
    * **eth-watch:** redesign to support multiple chains
    ([matter-labs#2867](matter-labs#2867))
    ([aa72d84](matter-labs@aa72d84))
    * Expose http debug page
    ([matter-labs#2952](matter-labs#2952))
    ([e0b6488](matter-labs@e0b6488))
    * **zk_toolbox:** add fees integration test to toolbox
    ([matter-labs#2898](matter-labs#2898))
    ([e7ead76](matter-labs@e7ead76))
    * **zk_toolbox:** Add SQL format for zk supervisor
    ([matter-labs#2950](matter-labs#2950))
    ([540e5d7](matter-labs@540e5d7))
    
    
    ### Bug Fixes
    
    * **api:** Fix batch fee input for `debug` namespace
    ([matter-labs#2948](matter-labs#2948))
    ([79b6fcf](matter-labs@79b6fcf))
    * chainstack block limit exceeded
    ([matter-labs#2974](matter-labs#2974))
    ([4ffbf42](matter-labs@4ffbf42))
    * **eth-watch:** add missing check that from_block is not larger than
    finalized_block
    ([matter-labs#2969](matter-labs#2969))
    ([3f406c7](matter-labs@3f406c7))
    * ignore unknown fields in rpc json response
    ([matter-labs#2962](matter-labs#2962))
    ([692ea73](matter-labs@692ea73))
    
    
    ### Performance Improvements
    
    * **api:** More efficient gas estimation
    ([matter-labs#2937](matter-labs#2937))
    ([3b69e37](matter-labs@3b69e37))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    ---------
    
    Co-authored-by: zksync-era-bot <zksync-era-bot@users.noreply.github.com>
    zksync-era-bot and zksync-era-bot authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8d24eb5 View commit details
    Browse the repository at this point in the history
  9. feat(zk_toolbox): Add subcommands and flags for chain registration (m…

    …atter-labs#2946)
    
    ## What ❔
    Added subcommands:
    `zki chain init configs` - just creates configs with an intention to run
    chain initialization manually via subcommands
    `zki chain register-chain` - runs steps from `RegisterHyperchain.s.sol`
    `zki chain accept-chain-ownership` - accepts ownership for
    `DiamondProxy`
    `zki chain genesis database` - initializes database only, performs
    migration (uses values from args or `secrets.yaml`)
    `zki chain genesis server` - runs server --genesis
    
    Added flags:
    `zki ecosystem init --ecosystem-only` - runs `init` only for ecosystem
    (skips `init` for chain)
    
    Other changes:
    * Fixed issue with `--wallet_path` value ignored
    * Nullify database names if `zki ecosystem init` is used for multiple
    chains
    * Zeroify some addresses in `contracts.yaml` when copying from ecosystem
    during init
    
    ## Why ❔
    These changes allow us to run the chain registration process for
    externally hosted chains.
    Not ideal yet, but the process goes like this:
    L1 side:
    * Init ecosystem: `zki ecosystem create && zki ecosystem init
    --ecosystem-only && zki chain init configs`
    * Fill in wallets
    * Register chain: `zki chain register-chain`
    * Deploy L2 contracts: `zki chain deploy-l2-contracts`
    * Share `contracts.yaml`
    
    L2 side:
    * Init ecosystem: `zki ecosystem create && zki ecosystem init
    --ecosystem-only && zki chain init configs`
    * Fill in wallets
    * Copy `contracts.yaml`
    * Accept ownership: `zki chain accept-chain-ownership`
    * Initialize databases: `zki chain genesis database`
    * Run server genesis: `zki chain genesis server`
    
    ## Checklist
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    sanekmelnikov authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    057705e View commit details
    Browse the repository at this point in the history
  10. fix(zk_toolbox): Correct secrets (matter-labs#3004)

    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    
    Signed-off-by: Danil <deniallugo@gmail.com>
    Deniallugo authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    b7ba428 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b108adc View commit details
    Browse the repository at this point in the history
  12. move const to config

    juan518munoz committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1286def View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. feat(ci): Add external-node build to Makefile (matter-labs#3002)

    ## What ❔
    
    Add external-node build to Makefile
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    artmakh authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    a5ac9c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. fix(zk_toolbox): Remove prover db from server init (matter-labs#3009)

    ## What ❔
    Remove prover db from server init
    
    ## Why ❔
    
    prover db is not needed in server init since prover db is initialized
    with prover init
    matias-gonz authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    092eed9 View commit details
    Browse the repository at this point in the history
  2. fix(ci): Build zk-env with CUDA (matter-labs#3013)

    ## What ❔
    
    Ability to build zk-env with cuda not only from push to main branch
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    artmakh authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2a7e72b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a21329 View commit details
    Browse the repository at this point in the history
  4. Update contracts

    gianbelinche committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d963287 View commit details
    Browse the repository at this point in the history
  5. Finalize merge

    gianbelinche committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2394dd5 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. feat(en): periodically fetch bridge addresses (matter-labs#2949)

    ## What ❔
    
    Periodically fetch bridge addresses
    
    ## Why ❔
    
    Addresses will be changed during gateway upgrade
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk fmt` and `zk lint`.
    perekopskiy authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e984bfb View commit details
    Browse the repository at this point in the history
  2. feat(eth-watch): catch another reth error (matter-labs#3026)

    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [ ] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [ ] Tests for the changes have been added / updated.
    - [ ] Documentation comments have been added / updated.
    - [ ] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    perekopskiy authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    4640c42 View commit details
    Browse the repository at this point in the history
  3. test(api): Add more TxSender tests (matter-labs#3001)

    ## What ❔
    
    Covers more `TxSender` functionality with unit tests.
    
    ## Why ❔
    
    More test coverage is good. Also, it will help with new VM integration
    (by running the added tests with a shadowed VM).
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    slowli authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3140769 View commit details
    Browse the repository at this point in the history
  4. feat(eth-sender): add time_in_mempool_cap config (matter-labs#3018)

    Configuration parameter for time_in_mempool_cap, cap for time_in_mempool
    in eth-sender fee model + default values for parameter_a and parameter_b
    for GasAdjuster
    tomg10 authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    f6d86bd View commit details
    Browse the repository at this point in the history
  5. fix(zkstack_cli): Fix fmt --check (matter-labs#3027)

    ## What ❔
    
    `fmt --check` wasn't returning an error code when failing
    matias-gonz authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    57d658e View commit details
    Browse the repository at this point in the history
  6. docs(zk_toolbox): remove generate-sk subcommand references (matter-la…

    …bs#3016)
    
    ## What ❔
    
    <!-- What are the changes this PR brings about? -->
    <!-- Example: This PR adds a PR template to the repo. -->
    <!-- (For bigger PRs adding more context is appreciated) -->
    Remove `generate-sk` subcommand which doesn’t exist anymore.
    
    ## Why ❔
    
    <!-- Why are these changes done? What goal do they contribute to? What
    are the principles behind them? -->
    <!-- Example: PR templates ensure PR reviewers, observers, and future
    iterators are in context about the evolution of repos. -->
    
    ## Checklist
    
    <!-- Check your PR fulfills the following items. -->
    <!-- For draft PRs check the boxes as you complete them. -->
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    manuelmauro authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    9636e01 View commit details
    Browse the repository at this point in the history
  7. chore(vm): Remove tests for old VM versions (matter-labs#3015)

    ## What ❔
    
    Removes unit test files for old VM versions in the `multivm` crate.
    
    ## Why ❔
    
    These tests are not built (not included into the module tree of the
    crate), so they are just deadweight.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    slowli authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    f0bfd2a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e40c06b View commit details
    Browse the repository at this point in the history
  9. Update contracts

    gianbelinche committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    4726372 View commit details
    Browse the repository at this point in the history
  10. refactor(eth): Brush up eth_signer crate (matter-labs#3014)

    ## What ❔
    
    Brushes up the `eth_signer` crate so that its API is easier to use
    (e.g., it doesn't require an async runtime).
    
    ## Why ❔
    
    Improved DevEx.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
    lint`.
    slowli authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    b51c530 View commit details
    Browse the repository at this point in the history
  11. Update query jsons

    gianbelinche committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    a5b7659 View commit details
    Browse the repository at this point in the history
  12. fix(vm): Prepare new VM for use in API server and fix divergences (ma…

    …tter-labs#2994)
    
    ## What ❔
    
    Prepares the new VM for use in the API server (without tracers):
    
    - Fills in more statistics
    - Covers more statistic fields in divergence checks and fixes the
    corresponding divergence in `pubdata_published`
    - Fixes a divergence if revert reaches the bootloader call frame
    (happens in the call execution mode)
    - Fixes a panic in `ShadowVm` if the transaction hash is not set and
    makes `impl Debug for Transaction` non-panicking. (A hash is not set if
    a transaction is converted from a call.)
    
    ## Why ❔
    
    Part of preparations for integrating the new VM into the API server.
    
    ## Checklist
    
    - [x] PR title corresponds to the body of PR (we generate changelog
    entries from PRs).
    - [x] Tests for the changes have been added / updated.
    - [x] Documentation comments have been added / updated.
    - [x] Code has been formatted via `zk fmt` and `zk lint`.
    
    ---------
    
    Co-authored-by: Joonatan Saarhelo <joon.saar@gmail.com>
    slowli and joonazan authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    741b77e View commit details
    Browse the repository at this point in the history
  13. feat: Increased the timeout of waiting for db in tests (matter-labs#3007

    )
    
    I don't know about other people's setup, but for me it is very flaky
    with just 3s
    pompon0 authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    eeb1c2a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    df6d952 View commit details
    Browse the repository at this point in the history
  15. feat: add metric to track current cbt ratio (matter-labs#3020)

    Add a new metric to track custom base token to ETH ratio
    ischasny authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3fd2fb1 View commit details
    Browse the repository at this point in the history
  16. Format md

    gianbelinche committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    04d2395 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    8a0ed94 View commit details
    Browse the repository at this point in the history
  2. Refactor secrets

    gianbelinche committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    bdb3a82 View commit details
    Browse the repository at this point in the history