Zombienet TOML file error when setting up a local relaychain
Closed this issue · 4 comments
I followed the instructions from the latest Getting Started step in the README file and got an error: Error thrown when running pop up parachain -f ./zombienet-config.toml
with zombienet-config.toml
is a generated toml
config file for Zombienet after running pop new parachain my-app fpt
◇ Sourcing complete.
│
◐ 🚀 Launching local network... └ Could not spawn network: TOML parse error at line 30, column 11
|
30 | args = [""]
| ^^
the provided argument is invalid and doesn't match Arg::Option or Arg::Flag
Thanks for trying pop-cli
and reporting the issue.
We are not parsing property the Zombienet config file of the Frontier Parachain Template: https://github.com/paritytech/frontier-parachain-template/blob/main/zombienet-config.toml
I am going to fix it, but in the meantime if you remove the line args = [""]
in the /zombienet-config.toml
should work
@AlexD10S After removing that line and I did try to create the contract node instead of evm compatible chain with the command pop new parachain cpt
but both returning this bug below:
┌ Pop CLI : Deploy a parachain
│
Error: error decoding response body: invalid type: map, expected a sequence at line 1 column 0
Caused by:
invalid type: map, expected a sequence at line 1 column 0
Seems like another issue with the file parser.
I wasn't able to replicate your issue, can you share the .toml file?.
For fpt
parachain, it worked for me removing args = [""]
. I opened an issue in Zombienet-SDK repository paritytech/zombienet-sdk#202 and the decision was to create a PR to remove args = [""]
in the template parity repository, so hopefully will be fixed soon.
For the cpt
parachain I am getting a different error:
Could not spawn network: Orchestrator error: Provider error: File generation failed: Error: Input("Error opening spec file `contracts-parachain-local`: No such file or directory (os error 2)")
I am investigating it, but the repository, seems to be unmantained, so we will deprecate this parachains soon in favour of new EVM and Contracts templates chains.
We are deprecating Parity templates in favor of Pop ones:
To generate a contracts parachain and run it:
pop new parachain my_parachain -t contracts`
cd my_parachain
pop up parachain -f ./zombienet-config.toml
For evm parachain and run it:
pop new parachain evm_parachain -t evm`
cd evm_parachain
pop up parachain -f ./zombienet-config.toml
Both works !