-
Notifications
You must be signed in to change notification settings - Fork 1
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
Da eigen merged main #291
Commits on Sep 18, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for dab1eb2 - Browse repository at this point
Copy the full SHA dab1eb2View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 20442f6 - Browse repository at this point
Copy the full SHA 20442f6View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ba21c6e - Browse repository at this point
Copy the full SHA ba21c6eView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 5cb04ed - Browse repository at this point
Copy the full SHA 5cb04edView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 8729270 - Browse repository at this point
Copy the full SHA 8729270View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 86299e7 - Browse repository at this point
Copy the full SHA 86299e7View commit details
Commits on Sep 19, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for 8363c1d - Browse repository at this point
Copy the full SHA 8363c1dView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 36e5340 - Browse repository at this point
Copy the full SHA 36e5340View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for abe0440 - Browse repository at this point
Copy the full SHA abe0440View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 55f1605 - Browse repository at this point
Copy the full SHA 55f1605View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 6acd606 - Browse repository at this point
Copy the full SHA 6acd606View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for eda70b4 - Browse repository at this point
Copy the full SHA eda70b4View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 1b06409 - Browse repository at this point
Copy the full SHA 1b06409View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ab898e7 - Browse repository at this point
Copy the full SHA ab898e7View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 174dcf5 - Browse repository at this point
Copy the full SHA 174dcf5View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f6d68da - Browse repository at this point
Copy the full SHA f6d68daView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6ec528e - Browse repository at this point
Copy the full SHA 6ec528eView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 209ac10 - Browse repository at this point
Copy the full SHA 209ac10View commit details -
feat(nix): use precompiled
rocksdb
andsnappy
(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>
Configuration menu - View commit details
-
Copy full SHA for 633bca4 - Browse repository at this point
Copy the full SHA 633bca4View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 2cec83f - Browse repository at this point
Copy the full SHA 2cec83fView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 38fc824 - Browse repository at this point
Copy the full SHA 38fc824View commit details
Commits on Sep 20, 2024
-
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>
Configuration menu - View commit details
-
Copy full SHA for e9d1d90 - Browse repository at this point
Copy the full SHA e9d1d90View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 7aa5721 - Browse repository at this point
Copy the full SHA 7aa5721View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 1cf959d - Browse repository at this point
Copy the full SHA 1cf959dView commit details -
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. :/
Configuration menu - View commit details
-
Copy full SHA for 48317e6 - Browse repository at this point
Copy the full SHA 48317e6View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for d997041 - Browse repository at this point
Copy the full SHA d997041View commit details
Commits on Sep 23, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for a2d4126 - Browse repository at this point
Copy the full SHA a2d4126View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 44a8f79 - Browse repository at this point
Copy the full SHA 44a8f79View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 878dab3 - Browse repository at this point
Copy the full SHA 878dab3View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7a53cd1 - Browse repository at this point
Copy the full SHA 7a53cd1View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2224f8f - Browse repository at this point
Copy the full SHA 2224f8fView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 93bc66f - Browse repository at this point
Copy the full SHA 93bc66fView commit details
Commits on Sep 24, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for 9b63817 - Browse repository at this point
Copy the full SHA 9b63817View commit details -
feat(zk_toolbox): Add zk toolbox unit tests to zks test (matter-labs#…
…2935) ## What ❔ Add zk toolbox unit tests to zks test
Configuration menu - View commit details
-
Copy full SHA for 7026637 - Browse repository at this point
Copy the full SHA 7026637View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1095ae7 - Browse repository at this point
Copy the full SHA 1095ae7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e2218 - Browse repository at this point
Copy the full SHA 72e2218View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 9340480 - Browse repository at this point
Copy the full SHA 9340480View commit details
Commits on Sep 25, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for 6313c7d - Browse repository at this point
Copy the full SHA 6313c7dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 2edd8a2 - Browse repository at this point
Copy the full SHA 2edd8a2View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1fdbb30 - Browse repository at this point
Copy the full SHA 1fdbb30View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 218646a - Browse repository at this point
Copy the full SHA 218646aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e214dd0 - Browse repository at this point
Copy the full SHA e214dd0View commit details
Commits on Sep 26, 2024
-
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>
Configuration menu - View commit details
-
Copy full SHA for aa72d84 - Browse repository at this point
Copy the full SHA aa72d84View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for df68762 - Browse repository at this point
Copy the full SHA df68762View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 191e81a - Browse repository at this point
Copy the full SHA 191e81aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 3f406c7 - Browse repository at this point
Copy the full SHA 3f406c7View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3010a19 - Browse repository at this point
Copy the full SHA 3010a19View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for c3d4bc1 - Browse repository at this point
Copy the full SHA c3d4bc1View commit details -
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).
Configuration menu - View commit details
-
Copy full SHA for 692ea73 - Browse repository at this point
Copy the full SHA 692ea73View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 57b99d4 - Browse repository at this point
Copy the full SHA 57b99d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc954c4 - Browse repository at this point
Copy the full SHA cc954c4View commit details
Commits on Sep 27, 2024
-
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>
Configuration menu - View commit details
-
Copy full SHA for 2dc65f0 - Browse repository at this point
Copy the full SHA 2dc65f0View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 4ffbf42 - Browse repository at this point
Copy the full SHA 4ffbf42View commit details -
feat(eth-sender): add a cap to time_in_mempool (matter-labs#2978)
Signed-off-by: tomg10 <lemures64@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 650d42f - Browse repository at this point
Copy the full SHA 650d42fView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 7ad0425 - Browse repository at this point
Copy the full SHA 7ad0425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3150e0d - Browse repository at this point
Copy the full SHA 3150e0dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f4631e4 - Browse repository at this point
Copy the full SHA f4631e4View commit details
Commits on Sep 30, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for 79b6fcf - Browse repository at this point
Copy the full SHA 79b6fcfView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e7ead76 - Browse repository at this point
Copy the full SHA e7ead76View commit details -
feat: Expose http debug page (matter-labs#2952)
## What ❔ Exposes the consensus http debug on port 5000. Fixes BFT-508
Configuration menu - View commit details
-
Copy full SHA for e0b6488 - Browse repository at this point
Copy the full SHA e0b6488View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 802b4e1 - Browse repository at this point
Copy the full SHA 802b4e1View commit details
Commits on Oct 1, 2024
-
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.
Configuration menu - View commit details
-
Copy full SHA for ba03a4b - Browse repository at this point
Copy the full SHA ba03a4bView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 8b79b9a - Browse repository at this point
Copy the full SHA 8b79b9aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for cdc1288 - Browse repository at this point
Copy the full SHA cdc1288View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 3b69e37 - Browse repository at this point
Copy the full SHA 3b69e37View commit details
Commits on Oct 2, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for b249827 - Browse repository at this point
Copy the full SHA b249827View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for af782ba - Browse repository at this point
Copy the full SHA af782baView commit details -
feat(zk_toolbox): Add SQL format for zk supervisor (matter-labs#2950)
## What ❔ Add SQL format for zk supervisor
Configuration menu - View commit details
-
Copy full SHA for 540e5d7 - Browse repository at this point
Copy the full SHA 540e5d7View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 4870d8f - Browse repository at this point
Copy the full SHA 4870d8fView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for f57719c - Browse repository at this point
Copy the full SHA f57719cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for eed8198 - Browse repository at this point
Copy the full SHA eed8198View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 8c9b332 - Browse repository at this point
Copy the full SHA 8c9b332View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8d24eb5 - Browse repository at this point
Copy the full SHA 8d24eb5View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 057705e - Browse repository at this point
Copy the full SHA 057705eView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b7ba428 - Browse repository at this point
Copy the full SHA b7ba428View commit details -
Configuration menu - View commit details
-
Copy full SHA for b108adc - Browse repository at this point
Copy the full SHA b108adcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1286def - Browse repository at this point
Copy the full SHA 1286defView commit details
Commits on Oct 3, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for a5ac9c1 - Browse repository at this point
Copy the full SHA a5ac9c1View commit details
Commits on Oct 4, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for 092eed9 - Browse repository at this point
Copy the full SHA 092eed9View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 2a7e72b - Browse repository at this point
Copy the full SHA 2a7e72bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a21329 - Browse repository at this point
Copy the full SHA 3a21329View commit details -
Configuration menu - View commit details
-
Copy full SHA for d963287 - Browse repository at this point
Copy the full SHA d963287View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2394dd5 - Browse repository at this point
Copy the full SHA 2394dd5View commit details
Commits on Oct 7, 2024
-
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`.
Configuration menu - View commit details
-
Copy full SHA for e984bfb - Browse repository at this point
Copy the full SHA e984bfbView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 4640c42 - Browse repository at this point
Copy the full SHA 4640c42View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 3140769 - Browse repository at this point
Copy the full SHA 3140769View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f6d86bd - Browse repository at this point
Copy the full SHA f6d86bdView commit details -
fix(zkstack_cli): Fix fmt --check (matter-labs#3027)
## What ❔ `fmt --check` wasn't returning an error code when failing
Configuration menu - View commit details
-
Copy full SHA for 57d658e - Browse repository at this point
Copy the full SHA 57d658eView commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 9636e01 - Browse repository at this point
Copy the full SHA 9636e01View commit details -
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).
Configuration menu - View commit details
-
Copy full SHA for f0bfd2a - Browse repository at this point
Copy the full SHA f0bfd2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e40c06b - Browse repository at this point
Copy the full SHA e40c06bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4726372 - Browse repository at this point
Copy the full SHA 4726372View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for b51c530 - Browse repository at this point
Copy the full SHA b51c530View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b7659 - Browse repository at this point
Copy the full SHA a5b7659View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 741b77e - Browse repository at this point
Copy the full SHA 741b77eView commit details -
Configuration menu - View commit details
-
Copy full SHA for eeb1c2a - Browse repository at this point
Copy the full SHA eeb1c2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for df6d952 - Browse repository at this point
Copy the full SHA df6d952View commit details -
feat: add metric to track current cbt ratio (matter-labs#3020)
Add a new metric to track custom base token to ETH ratio
Configuration menu - View commit details
-
Copy full SHA for 3fd2fb1 - Browse repository at this point
Copy the full SHA 3fd2fb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d2395 - Browse repository at this point
Copy the full SHA 04d2395View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a0ed94 - Browse repository at this point
Copy the full SHA 8a0ed94View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb3a82 - Browse repository at this point
Copy the full SHA bdb3a82View commit details