You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running zkstack chain init, to initialize a chain on an init'd ecosystem on Sepolia testnet, we get this error
🔄 Reproduction Steps
After running zkstack ecosystem init, it failed to initialize my chain because I accidentally removed the wallets.yaml file in my chains/chain_name/configs/ folder. I attempted to recover by going into the chain's directory and running zkstack chain init, which led to this error.
🤔 Expected Behavior
We expect it to initialize the chain
😯 Current Behavior
Doesn't initialize, seems unable to genesis the database
🖥️ Environment
Ubuntu on x86_64
📎 Log Output
2024-11-18T23:01:13.890009Z ERROR zksync_node_framework::service: Task oneshot_runner
│ failed: Oneshot task node_storage_initializer failed
│
│ Caused by:
│ 0: Failed to save SetChainId upgrade transaction
│ 1: JSON-RPC request get_logs(filter=Filter { from_block: Some(Number(7055260)), to_block: Some(Latest), block_hash:
│ None, address: Some(ValueOrArray([0x6bbfbb73b27a1bf0d2141377859b99c5d984b37b])), topics:
│ Some([Some(ValueOrArray([0x6cddf65a8ecde9818f721d40492026200e10a08f5057291c5cc77eb7d020d617])),
│ Some(ValueOrArray([0x000000000000000000000000b12f71233b12ab8bb91957a85bd884a003e08291]))]), limit: None }) failed:
│ Request rejected `413`
│ 2: Request rejected `413`
│ 3: Request rejected `413`
│ 2024-11-18T23:01:13.890036Z INFO zksync_node_framework::service: One of the task has
│ exited, shutting down the node
│ 2024-11-18T23:01:13.890080Z INFO zksync_node_framework::service: Exiting the service
│
│
│ Stderr:
│ Finished `release` profile [optimized] target(s) in 0.63s
│ Running `target/release/zksync_server --genesis-path /root/finisher/chains/finisher/configs/genesis.yaml --wallets-path
│ /root/finisher/chains/finisher/configs/wallets.yaml --config-path /root/finisher/chains/finisher/configs/general.yaml
│ --secrets-path /root/finisher/chains/finisher/configs/secrets.yaml --contracts-config-path
│ /root/finisher/chains/finisher/configs/contracts.yaml --genesis`
│ Error: One or more tasks failed: ["Task oneshot_runner failed: Oneshot task node_storage_initializer failed: Failed to
│ save SetChainId upgrade transaction: JSON-RPC request get_logs(filter=Filter { from_block: Some(Number(7055260)),
│ to_block: Some(Latest), block_hash: None, address: Some(ValueOrArray([0x6bbfbb73b27a1bf0d2141377859b99c5d984b37b])),
│ topics: Some([Some(ValueOrArray([0x6cddf65a8ecde9818f721d40492026200e10a08f5057291c5cc77eb7d020d617])),
│ Some(ValueOrArray([0x000000000000000000000000b12f71233b12ab8bb91957a85bd884a003e08291]))]), limit: None }) failed:
│ Request rejected `413`: Request rejected `413`: Request rejected `413`"]
│
│
■ Unable to perform genesis on the database
│
▲ 0: Failed to start server
│ 1: Command failed to run: cargo run --release --bin zksync_server -- --genesis-path /root/finisher/chains/finisher/configs/genesis.yaml --wallets-path /root/finisher/chains/finisher/configs/wallets.yaml --config-path /root/finisher/chains/finisher/configs/general.yaml --secrets-path /root/finisher/chains/finisher/configs/secrets.yaml --contracts-config-path /root/finisher/chains/finisher/configs/contracts.yaml --genesis
│ Finished `release` profile [optimized] target(s) in 0.63s
│ Running `target/release/zksync_server --genesis-path /root/finisher/chains/finisher/configs/genesis.yaml --wallets-path /root/finisher/chains/finisher/configs/wallets.yaml --config-path /root/finisher/chains/finisher/configs/general.yaml --secrets-path /root/finisher/chains/finisher/configs/secrets.yaml --contracts-config-path /root/finisher/chains/finisher/configs/contracts.yaml --genesis`
│ Error: One or more tasks failed: ["Task oneshot_runner failed: Oneshot task node_storage_initializer failed: Failed to save SetChainId upgrade transaction: JSON-RPC request get_logs(filter=Filter { from_block: Some(Number(7055260)), to_block: Some(Latest), block_hash: None, address: Some(ValueOrArray([REDACTED_ADDRESS])), topics: Some([Some(ValueOrArray([REDACTED_ADDRESS])), Some(ValueOrArray([0x000000000000000000000000b12f71233b12ab8bb91957a85bd884a003e08291]))]), limit: None }) failed: Request rejected `413`: Request rejected `413`: Request rejected `413`"]
│
│ 2: Command failed to run: cargo run --release --bin zksync_server -- --genesis-path /root/finisher/chains/finisher/configs/genesis.yaml --wallets-path /root/finisher/chains/finisher/configs/wallets.yaml --config-path /root/finisher/chains/finisher/configs/general.yaml --secrets-path /root/finisher/chains/finisher/configs/secrets.yaml --contracts-config-path /root/finisher/chains/finisher/configs/contracts.yaml --genesis
│
└ Failed to run command
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
📝 Description
After running
zkstack chain init
, to initialize a chain on an init'd ecosystem on Sepolia testnet, we get this error🔄 Reproduction Steps
After running
zkstack ecosystem init
, it failed to initialize my chain because I accidentally removed thewallets.yaml
file in mychains/chain_name/configs/
folder. I attempted to recover by going into the chain's directory and runningzkstack chain init
, which led to this error.🤔 Expected Behavior
We expect it to initialize the chain
😯 Current Behavior
Doesn't initialize, seems unable to genesis the database
🖥️ Environment
Ubuntu on x86_64
📎 Log Output
The text was updated successfully, but these errors were encountered: