matter-labs / zksync-era

zkSync era
Apache License 2.0
3.11k stars 2.08k forks source link

zkstack cli bug: unable to create ecosystem #3197

Open sachanayush47 opened 3 weeks ago

sachanayush47 commented 3 weeks ago

🐛 Bug Report

📝 Description

Installed latest zkstack cli and tried to create ecosystem but failed to do so. Then I tried the old zk_inception cli and it worked.

🔄 Reproduction Steps

cargo install --git https://github.com/matter-labs/zksync-era/ --locked zkstack --force zkstack ecosystem create

🤔 Expected Behavior

Ecosystem get created with all config files and zksync-era repo clone.

😯 Current Behavior

Unable to create ecosystem

🖥️ Environment

Fedora 40 rustc 1.82.0

📋 Additional Context

Add any other context about the problem here. If applicable, add screenshots to help explain.

📎 Log Output

(base) ayushsachan@ayush:~/CodeSode/Block$ zkstack ecosystem create

┌   ZK Stack CLI 
│
◇  What do you want to name the ecosystem?
│  ecosystem
│
◇  Select the origin of zksync-era repository
│  Clone for me (recommended) 
│
◇  Select the L1 network
│  Holesky 
│
◇  What do you want to name the chain?
│  sachan
│
◇  What's the chain id?
│  271
│
◇  Select how do you want to create the wallet
│  Empty 
│
◇  Select the prover mode
│  NoProofs 
│
◇  Select the commit data generator mode
│  Validium 
│
◇  Select the base token to use
│  Custom 
│
◇  What is the token address?
│  0xf2d41a7642d6f62bb3f927e1ba86f0b144ae92aa
│
◇  What is the base token price nominator?
│  1
│
◇  What is the base token price denominator?
│  1
│
■  Invalid arguments
│  
▲    0: failed reading genesis config
│    1: /home/ayushsachan/CodeSode/Block/etc/env/file_based/genesis.yaml
│    2: No such file or directory (os error 2)
│  
└  Failed to run command
lunark75 commented 1 week ago

The same error persists in the latest version.

DirectX commented 1 week ago

Temporary workaround:

cargo install --root ~/.local/ --git https://github.com/matter-labs/zksync-era --tag core-v25.0.0 --locked zkstack --force