-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix(configs): [DO NOT MERGE] Custom branch for v25 genesis #3350
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sanekmelnikov
changed the title
Custom branch for v25 genesis
fix(configs): Custom branch for v25 genesis
Dec 1, 2024
sanekmelnikov
force-pushed
the
v25-chain-genesis
branch
from
December 2, 2024 17:06
4b2c88d
to
0043d53
Compare
sanekmelnikov
changed the title
fix(configs): Custom branch for v25 genesis
fix(configs): [DO NOT MERGE] Custom branch for v25 genesis
Dec 2, 2024
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What ❔
This is custom branch for matterlabs/server-v2:v25.1.0.genesis Docker image.
Changes:
genesis.yaml
,sepolia.yaml
,mainnet.yaml
to match v25zkstack_cli
compile system contracts with hardhat instead of forgeWhy ❔
The v25 protocol upgrade was performed using system contracts compiled with Hardhat.
However, since both
zkstack
and genesis logic use Forge by default, running the process from the main branch results in system contracts being deployed with differing bytecodes. This discrepancy leads to mismatched genesis hashes and failure during the genesis step for the new chains.As a result, it is currently impossible to perform the genesis of new v25 chains on the ZKsync ecosystems (e.g., Sepolia, Mainnet) directly from the main branch. This branch has been created specifically to perform the genesis step for these environments.
Checklist
zkstack dev fmt
andzkstack dev lint
.