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

chore: Merge main into kl factory #1740

Merged
merged 10 commits into from
Apr 19, 2024

Conversation

StanislavBreadless
Copy link
Contributor

What ❔

Why ❔

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.
  • Spellcheck has been run via zk spellcheck.
  • Linkcheck has been run via zk linkcheck.

mm-zk and others added 9 commits April 17, 2024 13:44
## What ❔

* Fixing docker build and scripts for the local node/setup.


## Why ❔

* This will allow local node to work again - which is crucial before the
bridgehub udpate.
* This PR is only fixing it in the 'main' branch - there will be a
followup PR to the bridgehub branch coming later.
## What ❔

Extract `zksync_core::house_keeper` to separate crate in the `node`
folder

## Why ❔

Part of the "modularize the codebase" process, required for legolizer
and publishing on crates.io.

## Checklist

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
## What ❔
Updated the bytecode compression explanation example, to be valid and
working.

In the connecting contracts PR:
matter-labs/era-contracts#193 I added a test
that checks the bytecode and runs the `publishCompressBytecode` function
with the bytecode from this example.

## Why ❔
The previous example was not valid, it could confuse newcomers, because
the example had different bytecode compared to what was described.

## 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`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
## What ❔

- Allows to configure concurrency during DB recovery and restricts it to
10 by default.
- Sets the "affected" health status while the recovery is in progress.

## Why ❔

- DB recovery is very I/O-heavy, so having concurrency less than the DB
pool size can utilize node resources more efficiently.
- "Affected" health status is more idiomatic; the node with such a
status still passes readiness checks, but it signals that it isn't fully
functional.

## 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`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
## What ❔

Renames "miniblock" to "L2 block" in types, DAL and state keeper.

## Why ❔

- "Miniblock" is an internal term that is somewhat difficult to
understand; "L2 block" is better in this regard.
- It makes sense for renaming to be complete (i.e., not only concern
logs, but also the codebase), so that naming is reasonably consistent.

## 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`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
…s` (#1717)

## What ❔

don't panic in `BlockOutputWithProofs::verify_proofs` and rather return
a `Result`

## Why ❔

So `BlockOutputWithProofs::verify_proofs` can be used by other
components.

## 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`.
- [ ] Spellcheck has been run via `zk spellcheck`.
- [ ] Linkcheck has been run via `zk linkcheck`.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
## What ❔

Makes local-setup link properly formatted

## Why ❔

Link checker has been failing with below for the last couple of days,
e.g.
[here](https://github.com/matter-labs/zksync-era/actions/runs/8749278699/job/24010671980?pr=1734)
```
FILE: ./docker/local-node/README.md
  [✖] https://github.com/matter-labs/local-setup%5D

  ERROR: 1 dead links found!

  1 links checked.
  [✖] https://github.com/matter-labs/local-setup%5D → Status: 404
```

## 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`.
- [ ] Spellcheck has been run via `zk spellcheck`.
- [ ] Linkcheck has been run via `zk linkcheck`.
## What ❔

Removes all functionality and tests relating to enum index migration.

The only mention left is a reserved field in state keeper proto file.

## Why ❔

Not needed anymore and we keep introducing it to new components to keep
compatibility

## 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.
- [ ] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [ ] Linkcheck has been run via `zk linkcheck`.
@StanislavBreadless StanislavBreadless requested a review from a team as a code owner April 19, 2024 08:58
@StanislavBreadless StanislavBreadless requested review from yorik, alexandrst88, artmakh, hatemosphere, onyxet and otani88 and removed request for a team April 19, 2024 08:58
@StanislavBreadless StanislavBreadless changed the title Merge main into kl factory chore: Merge main into kl factory Apr 19, 2024
@StanislavBreadless StanislavBreadless merged commit 1160c68 into kl-factory Apr 19, 2024
42 checks passed
@StanislavBreadless StanislavBreadless deleted the sb-merge-main-into-kl-factory branch April 19, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants