Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility for Zombienet to collator bin #4

Closed
1 task
islami00 opened this issue Jul 5, 2022 · 4 comments
Closed
1 task

Add compatibility for Zombienet to collator bin #4

islami00 opened this issue Jul 5, 2022 · 4 comments
Labels
good first issue Good for newcomers nice to have Low priority features that would improve devX

Comments

@islami00
Copy link
Contributor

islami00 commented Jul 5, 2022

Follows from #3

Goal

To use Zombienet to start a local testnet.

Main issue is being compatible with the adder-collator . The target provider is native.

Todos

We need the following for the bin to be compatible with the adder-collator

  • Add parachain-id cli option from Polkadot adder-collator
@islami00 islami00 added the good first issue Good for newcomers label Jul 5, 2022
@islami00
Copy link
Contributor Author

islami00 commented Jul 5, 2022

@islami00 islami00 added the nice to have Low priority features that would improve devX label Jul 5, 2022
@islami00
Copy link
Contributor Author

A close alternative could be #11

@pepoviola
Copy link
Contributor

Hi 👋 , I try to reproduce this issue and in order to make zombienet works you should add the cumulus_based flag to the parachain

[settings]
timeout = 1000

[relaychain]
default_image = "chocnet/polkadot-debug:latest"
default_command = "/home/gitpod/relay/polkadot/target/release/polkadot"
chain = "rococo-local"

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

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

[[parachains]]
id = 2000
cumulus_based = true

  [parachains.collator]
  name = "collator01"
  image = "chocnet/parachain-collator:latest"
  command = "./target/debug/parachain-collator"
  args = ["-lparachain=debug"]

And also, the parachain-collator command is not output the RPC log that zombienet use to check if the node is up. I think that issue is related to the branch version you are using polkadot-v0.9.24. Is possible to bump to polkadot-v0.9.28?

Thanks!!

@islami00
Copy link
Contributor Author

islami00 commented Sep 18, 2022

Hi @pepoviola ,

I've upgraded to polkadot-v0.9.28 and can confirm that the version lock is no longer needed. Also, the cumulus_based flag
works!

Thanks for looking into this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers nice to have Low priority features that would improve devX
Projects
None yet
Development

No branches or pull requests

2 participants