-
Notifications
You must be signed in to change notification settings - Fork 280
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
Replace polkadot-launch
content with parachain-launch & zombinet
#1098
Comments
parachain-launch
use in a how-to guidepolkadot-launch
content with parachain-launch & zombinet
This is great that we are moving in favor of Zombienet. One update I would suggest would be to modify instructions on creating Docker images in respective repos (polkadot, cumulus) to add the cumulus (https://github.com/paritytech/cumulus#build--launch-rococo-collators) $ docker run --rm -it -w /shellhere/cumulus \
-v $(pwd):/shellhere/cumulus \
--platform=linux/amd64 paritytech/ci-linux:production cargo build --release --locked -p polkadot-parachain
sudo chown -R $(id -u):$(id -g) target/ polkadot (https://github.com/paritytech/polkadot#build-from-source-with-docker) git checkout <latest tagged release>
docker run --rm -it -w /shellhere/polkadot \
-v $(pwd):/shellhere/polkadot \
--platform=linux/amd64 paritytech/ci-linux:production cargo build --release
sudo chown -R $(id -u):$(id -g) target/ |
Created a PR on Cumulus: paritytech/cumulus#1336 |
Here is a working config for Zombienet with 4 validators, "rockmine" common goods chain, and contracts parachain. This config uses local binaries and is working: [relaychain]
default_command = "./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 = 1000
cumulus_based = true
chain="statemine-local"
[parachains.collator]
name = "statemine-local"
command = "./polkadot-parachain-rockmine"
args = ["-lparachain=debug"]
[[parachains]]
id = 1002
cumulus_based = true
chain="contracts-rococo-dev"
[parachains.collator]
name = "contracts"
command = "./polkadot-parachain"
args = ["-lparachain=debug"]
|
Motivation
launch is going away
We need to replace polkadot-launch throughout the docs, there is better tooling now, some community maintained and generally better UX tool to test things out in a similar fashion.
https://github.com/open-web3-stack/parachain-launch
https://github.com/paritytech/zombienet
https://hackmd.io/uJHjSDhvQICEvm87m9970A
Considerations
The text was updated successfully, but these errors were encountered: