3

I'm following this example but I always get an error:

enter image description here

My config.toml:

[settings]
timeout = 1000

[relaychain]
default_command = "./bin/polkadot"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"

  [[relaychain.nodes]]
  name = "alice"
  validator = true

  [[relaychain.nodes]]
  name = "bob"
  validator = true

  [[relaychain.nodes]]
  name = "charlie"
  validator = true

  [[relaychain.nodes]]
  name = "dave"
  validator = true

[[parachains]]
id = 2000
chain = "shibuya-dev"
cumulus_based = true

  [[parachains.collators]]
  name = "collator1"  
  command = "./bin/astar-collator"
  args = [ "-l=xcm=trace", "--enable-evm-rpc" ]

[[parachains]]
id = 2007
chain = "shiden-dev"
cumulus_based = true

  [[parachains.collators]]
  name = "collator2"  
  command = "./bin/astar-collator"
  args = [ "-l=xcm=trace", "--enable-evm-rpc" ]

[[hrmp_channels]]
  sender = 2000
  recipient = 2007
  max_capacity = 8
  max_message_size = 512
  
[[hrmp_channels]]
  sender = 2007
  recipient = 2000
  max_capacity = 8
  max_message_size = 512

My folder structure:

enter image description here

run-astar.sh:

./zombienet -p native spawn config-astart.toml

I'm using macbook pro M1. Do I need something else to configure?

3
  • 1
    Check this part of the Substrate docs, to check if you have the right set up for zombienet: docs.substrate.io/test/set-up-a-test-network/…
    – Alex Bean
    Apr 19, 2023 at 13:06
  • Thank you. I didn't know I had to change de parachaind Id
    – Ruben G
    Apr 19, 2023 at 13:18
  • 1
    Great, write your solution as an answer so can benefit other people that might experiment the same issue
    – Alex Bean
    Apr 19, 2023 at 14:04

1 Answer 1

3

I changed the first id to 2006 and It worked.

1
  • Thanks for the follow up answer :)
    – pepoviola
    Apr 20, 2023 at 18:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.