Skip to content

Commit

Permalink
Change the chain to Rococo in the parachain template Zombienet config (
Browse files Browse the repository at this point in the history
…#5279)

Following this:
paritytech/polkadot-sdk-parachain-template#11

---------

Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
3 people authored Aug 23, 2024
1 parent c66f7bd commit 9fecd89
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
13 changes: 10 additions & 3 deletions templates/parachain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,22 @@ docker build . -t polkadot-sdk-parachain-template
You can grab a [released binary](https://github.com/paritytech/zombienet/releases/latest) or use an [npm version](https://www.npmjs.com/package/@zombienet/cli).

This template produces a parachain node.
You can install it in your environment by running:

```sh
cargo install --path node
```

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:
In addition to the installed parachain node, make sure to bring
`zombienet`, `polkadot`, `polkadot-prepare-worker`, and `polkadot-execute-worker`
into `PATH`, for example:

```sh
export PATH="./target/release/:$PATH"
export PATH="<path-to-binaries>:$PATH"
```

This way, we can conveniently use them in the following steps.
Expand Down
9 changes: 7 additions & 2 deletions templates/parachain/zombienet.toml
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"

0 comments on commit 9fecd89

Please sign in to comment.