zksync-era icon indicating copy to clipboard operation
zksync-era copied to clipboard

[Deployment] `zk stack init` currently broken

Open therealdannzor opened this issue 9 months ago • 13 comments

🐛 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 avatar Apr 29 '24 09:04 therealdannzor

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

therealdannzor avatar Apr 29 '24 09:04 therealdannzor

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

$ zk stack demo
File configs/demo.toml not found

joshuacheong avatar May 04 '24 11:05 joshuacheong

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

joshuacheong avatar May 07 '24 04:05 joshuacheong

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

tgmp117 avatar May 08 '24 09:05 tgmp117

!!!!!!!!!

Ebrahim1997r avatar May 12 '24 15:05 Ebrahim1997r

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 avatar May 14 '24 16:05 zk-Lumi

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

zk-Lumi avatar May 14 '24 16:05 zk-Lumi

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/

joshuacheong avatar May 19 '24 01:05 joshuacheong

Zksync

nborah924 avatar May 23 '24 09:05 nborah924

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?

joshuacheong avatar May 23 '24 09:05 joshuacheong

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.

zk-Lumi avatar May 24 '24 11:05 zk-Lumi

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!

joshuacheong avatar May 24 '24 12:05 joshuacheong

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

SergeevDmitry avatar Jun 25 '24 11:06 SergeevDmitry