matter-labs / zksync-era

zkSync era
Apache License 2.0
3.07k stars 2.06k forks source link

[Deployment] `zk stack init` currently broken #1820

Open therealdannzor opened 4 months ago

therealdannzor commented 4 months ago

🐛 Bug Report

It errors when running the hyperchain wizard with zk stack init to deploy a remote network.

📝 Description

Setup reverts early due to missing config that the setup should create after completion.

🔄 Reproduction Steps

  1. zk stack init
  2. enter the name $HYPER_NAME.
  3. choose L1 network sepolia
  4. enter the RPC URL
  5. enter $DATABASE_1 url
  6. enter $DATABASE_2 url
  7. enter private keys for system addresses
  8. enter the etherscan API key

Observe the error message:

File configs/${HYPER_NAME}.toml not found

🤔 Expected Behavior

Successful zk stack deployment.

😯 Current Behavior

It errors and reverts with a missing config file.

📋 Additional Context

I understand the zk tool is being updated and refined to increase the dev experience. That said, if there's a known workaround for deploying a network based on your latest codebase (EIP-4844 support), it would be much appreciated.

therealdannzor commented 4 months ago

Maybe I should have opened this in https://github.com/zkSync-Community-Hub/zksync-developers/discussions @bxpana, let me know and I can move it

joshuacheong commented 4 months ago

I've also noticed this problem for the demo setup as well.

$ zk stack demo
File configs/demo.toml not found
joshuacheong commented 4 months ago
Screenshot 2024-05-07 at 12 49 14 PM

@zk-Lumi do you have any idea when the new CLI is coming?

See https://docs.zksync.io/zk-stack/running-a-hyperchain/locally.html

tgmp117 commented 4 months ago

Screenshot 2024-05-08 152625 Ummm????

Ebrahim1997r commented 4 months ago

!!!!!!!!!

zk-Lumi commented 4 months ago

Thanks for reaching out @therealdannzor @joshuacheong @tgmp117 @Ebrahim1997r. A new and improved ZK Stack CLI is coming very soon (internally tested currently, should be live end of month / start of June), which will fix this issue. The current version is deprecated and may not function as expected.

Apologies for the inconvenience, the new CLI will be a production-ready stable release.

zk-Lumi commented 4 months ago

Maybe I should have opened this in https://github.com/zkSync-Community-Hub/zksync-developers/discussions @bxpana, let me know and I can move it

This is indeed correct place to open ZK Stack related issues

joshuacheong commented 3 months ago

Quick check @zk-Lumi and @Deniallugo is this the PR addressing this?

feat(zkstack): init with new zk stack tooling #1941: https://github.com/matter-labs/zksync-era/pull/1941/

nborah924 commented 3 months ago

Zksync

joshuacheong commented 3 months ago

Quick check @zk-Lumi and @Deniallugo is this the PR addressing this?

feat(zkstack): init with new zk stack tooling #1941: #1941

Gentle reminder - is this the PR to address this?

zk-Lumi commented 3 months ago

Hi @joshuacheong,

This will be fixed with the new ZK CLI.

The new and improved ZK Stack CLI is comin soon (internally tested currently, should be live start of June)

Apologies for the inconvenience, the new CLI will be a production-ready stable release.

joshuacheong commented 3 months ago

Hi @joshuacheong,

This will be fixed with the new ZK CLI.

The new and improved ZK Stack CLI is comin soon (internally tested currently, should be live start of June)

Apologies for the inconvenience, the new CLI will be a production-ready stable release.

Thanks a million!

SergeevDmitry commented 2 months ago

Hello. Any updates on this? It's almost the end of June. I'm not rushing you. Just interested