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

feat(state-keeper): Disable some seal criteria for boojum #390

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

perekopskiy
Copy link
Contributor

What ❔

Disables InitialWritesCriterion, RepeatedWritesCriterion, L2ToL1LogsCriterion for post-boojum blocks by setting limit to usize::max.

Why ❔

Some circuits are no longer single-instance in boojum

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.

@perekopskiy perekopskiy requested a review from a team as a code owner November 2, 2023 14:09
koloz193
koloz193 previously approved these changes Nov 2, 2023
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (568bf5e) 35.85% compared to head (78944f6) 35.83%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #390      +/-   ##
==========================================
- Coverage   35.85%   35.83%   -0.03%     
==========================================
  Files         519      519              
  Lines       27812    27823      +11     
==========================================
- Hits         9973     9969       -4     
- Misses      17839    17854      +15     
Files Coverage Δ
core/lib/types/src/storage/writes/mod.rs 68.57% <ø> (ø)
core/lib/zksync_core/src/gas_tracker/mod.rs 58.82% <100.00%> (+8.82%) ⬆️
core/lib/zksync_core/src/state_keeper/keeper.rs 71.86% <ø> (ø)
...ore/src/state_keeper/seal_criteria/criteria/gas.rs 100.00% <ø> (ø)
...ate_keeper/seal_criteria/criteria/pubdata_bytes.rs 66.66% <ø> (ø)
...e/src/state_keeper/seal_criteria/criteria/slots.rs 100.00% <ø> (ø)
..._keeper/seal_criteria/criteria/tx_encoding_size.rs 71.42% <ø> (ø)
.../zksync_core/src/state_keeper/seal_criteria/mod.rs 31.81% <ø> (ø)
...c/state_keeper/seal_criteria/conditional_sealer.rs 55.00% <0.00%> (ø)
...re/lib/zksync_core/src/api_server/tx_sender/mod.rs 6.09% <0.00%> (-0.04%) ⬇️
... and 1 more

... and 9 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@perekopskiy perekopskiy dismissed stale reviews from Deniallugo and koloz193 via 78944f6 November 2, 2023 15:58
@perekopskiy perekopskiy added this pull request to the merge queue Nov 2, 2023
Merged via the queue into main with commit 2343532 Nov 2, 2023
24 checks passed
@perekopskiy perekopskiy deleted the disable-some-criterion-for-boojum branch November 2, 2023 18:27
github-merge-queue bot pushed a commit that referenced this pull request Nov 3, 2023
🤖 I have created a release *beep* *boop*
---


##
[17.1.0](core-v16.2.0...core-v17.1.0)
(2023-11-03)


### ⚠ BREAKING CHANGES

* Update to protocol version 17
([#384](#384))

### Features

* **en:** Cache blocks in `fetch_l2_block`
([#403](#403))
([b94c845](b94c845))
* Port boojum eth-sender changes
([#293](#293))
([8027326](8027326))
* **state-keeper:** Disable some seal criteria for boojum
([#390](#390))
([2343532](2343532))
* Update to protocol version 17
([#384](#384))
([ba271a5](ba271a5))
* **vm:** Make calculation for pubdata a bit more percise
([#392](#392))
([6d0e61c](6d0e61c))


### Bug Fixes

* bump zksolc from yanked version to 1.3.16
([#348](#348))
([c32b88f](c32b88f))
* **db-index:** Add missing index from FRI prover jobs
([#334](#334))
([730447f](730447f))
* **db-query:** use join instead of nested query for FRI prover
extracting
([#364](#364))
([f9cc831](f9cc831))
* **db-query:** use nested query for requeuing FRI prover jobs
([#399](#399))
([3890542](3890542))
* incorrect directory of intrinsic.rs generated.
([#332](#332))
([#336](#336))
([eefaad0](eefaad0))

---
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: perekopskiy <[email protected]>
toni-calvin pushed a commit to lambdaclass/zksync-era that referenced this pull request Aug 8, 2024
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.

3 participants