-
Notifications
You must be signed in to change notification settings - Fork 767
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
Change the chain to Rococo in the parachain template Zombienet config #5279
Changes from 4 commits
339455e
d30a6f3
a6c0b86
263d088
f8cf477
403e4f4
7be12e5
2e3eb48
1dbddd9
406eb8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -63,14 +63,9 @@ You still need a relaychain node - you can download the `polkadot` | |||||
(and the accompanying `polkadot-prepare-worker` and `polkadot-execute-worker`) | ||||||
binaries from [Polkadot SDK releases](https://github.com/paritytech/polkadot-sdk/releases/latest). | ||||||
|
||||||
Make sure to bring the parachain node - as well as `polkadot`, `polkadot-prepare-worker`, `polkadot-execute-worker`, | ||||||
and `zombienet` - into `PATH` like so: | ||||||
|
||||||
```sh | ||||||
export PATH="./target/release/:$PATH" | ||||||
``` | ||||||
|
||||||
This way, we can conveniently use them in the following steps. | ||||||
Make sure to bring `zombienet` and the relaychain binaries | ||||||
(`polkadot`, `polkadot-prepare-worker`, `polkadot-execute-worker`) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe keeping the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. really though? seems super inconvenient? compared to just having the path in the zombienet config itself? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. better then imo to run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is one more argument supporting the PATH path. The user could be trying out the readme, having downloaded the Then, the hardcoded path in zombienet wouldn't make sense, but instructions to have it in PATH would still hold. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
OK, I've added a step with |
||||||
into `PATH`, so that they are available in the following steps. | ||||||
|
||||||
👥 The following command starts a local development chain, with a single relay chain node and a single parachain collator: | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
[relaychain] | ||
default_command = "polkadot" | ||
chain = "dev" | ||
chain = "rococo-local" | ||
|
||
[[relaychain.nodes]] | ||
name = "alice" | ||
validator = true | ||
ws_port = 9944 | ||
|
||
[[relaychain.nodes]] | ||
name = "bob" | ||
validator = true | ||
ws_port = 9955 | ||
|
||
[[parachains]] | ||
id = 1000 | ||
|
||
[parachains.collator] | ||
name = "alice" | ||
name = "charlie" | ||
ws_port = 9988 | ||
command = "parachain-template-node" | ||
command = "./target/release/parachain-template-node" | ||
rzadp marked this conversation as resolved.
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Download binaries (of polkadot) only works on linux (x86_64), we should add a comment to compile those in macOS or arm64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer we solve like this: #802
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally agree, we should push to include those as part of the release process to improve dx.