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

fix(configs): [DO NOT MERGE] Custom branch for v25 genesis (CI tests) #3352

Conversation

sanekmelnikov
Copy link
Collaborator

What ❔

  • updates the values in genesis.yaml, sepolia.yaml to match what's actually on a chain
  • makes zkstack_cli to compile system contracts with hardhat instead of forge

Why ❔

v25 upgrade was performed with system contracts compiled with hardhat
Since genesis code in main uses forge - that causes system contracts to be deployed with different bytecodes, thus resulting into different genesis hashes and failure on genesis step due to hash mismatch.
That makes genesis of new v25 chains on ZKsync ecosystems (sepolia, mainnet) impossible from main and this branch is created solely to perform genesis step for these.

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

@perekopskiy perekopskiy changed the base branch from main to core-v25.1.0-branch December 2, 2024 17:31
@perekopskiy perekopskiy marked this pull request as ready for review December 2, 2024 17:32
@perekopskiy perekopskiy requested a review from a team as a code owner December 2, 2024 17:32
@perekopskiy perekopskiy requested review from yorik, alexandrst88, artmakh and hatemosphere and removed request for a team December 2, 2024 17:32
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