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): Custom branch for v25 genesis #3296

Closed
wants to merge 25 commits into from

Conversation

sanekmelnikov
Copy link
Collaborator

@sanekmelnikov sanekmelnikov commented Nov 15, 2024

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.

@sanekmelnikov sanekmelnikov marked this pull request as draft November 15, 2024 16:37
@sanekmelnikov sanekmelnikov changed the title fix(configs): Set correct values in genesis.yaml and sepolia.yaml configs after v25 upgrade fix(configs): Custom branch for v25 genesis Nov 28, 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.

2 participants