Skip to content

Commit

Permalink
Update README.md to add instructions of running the latest zombienet …
Browse files Browse the repository at this point in the history
…with polkadot 0.9.43 (#405)

* Added the latest tested zombinet version number to README.md

* Added zombienet-macos to .gitignore and commented in README.md
  • Loading branch information
chrisli30 committed Aug 7, 2023
1 parent 0a30ba9 commit 5da42e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
# Parachain registration files
genesis-state
genesis-wasm

# zombienet binary for MacOS to run scripts in the ./zombienets folder
zombienet-macos
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The binary file is located at ./target/release/mangata-node.
We have configured a network of 2 relay chain nodes, 1 Turing node and 1 Mangata node in [zombienets/turing/mangata.toml](https://github.com/OAK-Foundation/OAK-blockchain/blob/master/zombienets/turing/mangata.toml), so the easiest way to spin up a local network is through below steps.

1. Clone and build source of [Zombienet]
1. `git clone https://github.com/paritytech/zombienet.git`
1. `git clone https://github.com/paritytech/zombienet.git`. It’s recommended to check out a stable release version instead of using the code on master branch. For example, the latest stable version tested is [v1.3.63](https://github.com/paritytech/zombienet/releases/tag/v1.3.63), and you sync to the tip of by calling `git fetch --tags && git checkout v1.3.63`.
1. `cd zombienet/javascript`
1. Make sure your node version is compatible with that in [javascript/package.json](https://github.com/paritytech/zombienet/blob/main/javascript/package.json), for example `"node": ">=16"`.
1. `npm install`
Expand All @@ -110,6 +110,8 @@ We have configured a network of 2 relay chain nodes, 1 Turing node and 1 Mangata
5. Cd into OAK-blockchain folder, `cd ../../OAK-blockchain`.
6. Spawn zombienet with our config file, `zombienet spawn zombienets/turing/mangata.toml`.

> Note that if you encounter issue with the above source code build approach and running it on MacOS, try to download the `zombienet-macos` binary from its Release page and run `./zombienet-macos spawn zombienets/turing/mangata.toml`.
The zombie spawn will run 2 relay chain nodes, 1 Turing node and 1 Mangata node, and set up an HRMP channel between the parachains.

## Slo-mo - manually run local networks
Expand Down

2 comments on commit 5da42e6

@Lalsha40
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Lalsha40
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where are pr no

Please sign in to comment.