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!: V27 update #3580

Merged
merged 91 commits into from
Mar 7, 2025
Merged

feat!: V27 update #3580

merged 91 commits into from
Mar 7, 2025

Conversation

0xVolosnikov
Copy link
Contributor

@0xVolosnikov 0xVolosnikov commented Feb 7, 2025

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.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.
  • Documentation comments have been added / updated.

0xVolosnikov and others added 11 commits March 5, 2025 17:15
## What ❔

Support the new zksync foundry paths

## Why ❔

Foundry changed the compiled paths 

## Is this a breaking change?
- [ ] Yes
- [ ] No

## Operational changes
<!-- Any config changes? Any new flags? Any changes to any scripts? -->
<!-- Please add anything that non-Matter Labs entities running their own
ZK Chain may need to know -->

## 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 `zkstack dev fmt` and `zkstack dev
lint`.

Signed-off-by: Danil <[email protected]>
slowli
slowli previously approved these changes Mar 6, 2025
Copy link
Contributor

@slowli slowli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core workspace changes look good, but I may have blind spots since I've authored some of them.

Copy link
Contributor

github-actions bot commented Mar 6, 2025

Detected VM performance changes

Benchmark name Est. cycles Change in est. cycles
access_memory/legacy 13743933653 +8.7%
call_far/fast 3842365906 +445.9%
call_far/fast_no_sigs 3839262365 +447.8%
call_far/legacy 2542296697 +3.9%
decode_shl_sub/legacy 12884734726 +9.6%
deploy_simple_contract/fast 49366100 +3.2%
deploy_simple_contract/fast_no_sigs 46284099 +3.4%
deploy_simple_contract/legacy 56914559 +9.9%
event_spam/legacy 7681828741 +8.6%
finish_eventful_frames/legacy 3853414075 +5.0%
heap_read_write/legacy 11587342466 +9.4%
init/fast 14244294 +74.4%
init/fast_no_sigs 14278758 +74.1%
init/legacy 1923575 +41.4%
slot_hash_collision/legacy 13337323708 +9.3%
write_and_decode/legacy 13519370748 +9.0%

⚠ Detected differing instruction counts

Benchmark Old count New count
access_memory 4748374 4747741
call_far 319525 319501
decode_shl_sub 4748479 4747846
deploy_simple_contract 15422 15436
event_spam 2558512 2558180
finish_eventful_frames 786039 785949
heap_read_write 4252844 4252268
slot_hash_collision 4749388 4748744
write_and_decode 4749388 4748744

Changes in number of opcodes executed indicate that the gas price of the benchmark has changed, which causes it to run out of gas at a different time.

Copy link
Contributor

@EmilLuta EmilLuta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rereviewed only prover side, LGTM.

@mm-zk mm-zk added this pull request to the merge queue Mar 7, 2025
github-merge-queue bot pushed a commit that referenced this pull request Mar 7, 2025
## 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.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.
- [ ] Documentation comments have been added / updated.

---------

Signed-off-by: Danil <[email protected]>
Co-authored-by: Alex Ostrovski <[email protected]>
Co-authored-by: zksync-admin-bot2 <[email protected]>
Co-authored-by: Alex Ostrovski <[email protected]>
Co-authored-by: Joonatan Saarhelo <[email protected]>
Co-authored-by: Danil <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 7, 2025
@mm-zk mm-zk added this pull request to the merge queue Mar 7, 2025
Merged via the queue into main with commit 9e18550 Mar 7, 2025
42 checks passed
@mm-zk mm-zk deleted the evm-emulator/integration branch March 7, 2025 11:54
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.

10 participants