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

Fix typos #1583

Merged
merged 5 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/book/searchindex.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Object.assign(window.search, {
title: "Download and install needed artifacts",
},
13: {
body: 'One of the goal of ZombieNet is easily spawn ephemeral networks, providing a simple but poweful cli that allow you to declare the desired network in toml or json format. You can check the definition spec to view the available options. A minimal configuration example with two validators and one parachain: [settings]\ntimeout = 1000 [relaychain]\ndefault_image = "paritypr/polkadot-debug:master"\nchain = "rococo-local" [[relaychain.nodes]] name = "alice" [[relaychain.nodes]] name = "bob" [[parachains]]\nid = 100 [parachains.collator] name = "collator01" image = "paritypr/colander:4131-ccd09bbf" command = "adder-collator" Then you can spwan the network by running the following command: ./zombienet-macos spawn examples/0001-small-network.toml You can follow the output of the steps to spawn the network and once the network is launched a message with the nodes information like this one is show ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────┐\n│ Network launched 🚀🚀 │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Namespace │ zombie-0c26e3512b222b8cd7053d4f632f0b62 │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Provider │ native │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Node Information │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Name │ alice │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Direct Link │ https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:43185#/explorer │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Prometheus Link │ http://127.0.0.1:44521/metrics │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Node Information │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Name │ bob │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Direct Link │ https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:45645#/explorer │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Prometheus Link │ http://127.0.0.1:38901/metrics │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Parachain ID │ 100 │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ ChainSpec Path │ /tmp/zombie-0c26e3512b222b8cd7053d4f632f0b62_-20554-cMuCmVc8OQ7f/rococo-local-100.json │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Node Information │\n├─────────────────────────-─────────────────────────────────────────────────────────────────────────────────────┤\n│ Name │ collator01 │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Direct Link │ https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:37543#/explorer │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Prometheus Link │ http://127.0.0.1:44807/metrics │\n└─────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────┘ Both the prometheus and the node links are accesibles in your local machine to get the metrics or connect to the node.',
body: 'One of the goal of ZombieNet is easily spawn ephemeral networks, providing a simple but powerful cli that allow you to declare the desired network in toml or json format. You can check the definition spec to view the available options. A minimal configuration example with two validators and one parachain: [settings]\ntimeout = 1000 [relaychain]\ndefault_image = "paritypr/polkadot-debug:master"\nchain = "rococo-local" [[relaychain.nodes]] name = "alice" [[relaychain.nodes]] name = "bob" [[parachains]]\nid = 100 [parachains.collator] name = "collator01" image = "paritypr/colander:4131-ccd09bbf" command = "adder-collator" Then you can spwan the network by running the following command: ./zombienet-macos spawn examples/0001-small-network.toml You can follow the output of the steps to spawn the network and once the network is launched a message with the nodes information like this one is show ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────┐\n│ Network launched 🚀🚀 │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Namespace │ zombie-0c26e3512b222b8cd7053d4f632f0b62 │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Provider │ native │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Node Information │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Name │ alice │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Direct Link │ https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:43185#/explorer │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Prometheus Link │ http://127.0.0.1:44521/metrics │\n├─────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┤\n│ Node Information │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Name │ bob │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Direct Link │ https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:45645#/explorer │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Prometheus Link │ http://127.0.0.1:38901/metrics │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Parachain ID │ 100 │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ ChainSpec Path │ /tmp/zombie-0c26e3512b222b8cd7053d4f632f0b62_-20554-cMuCmVc8OQ7f/rococo-local-100.json │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Node Information │\n├─────────────────────────-─────────────────────────────────────────────────────────────────────────────────────┤\n│ Name │ collator01 │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Direct Link │ https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:37543#/explorer │\n├─────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤\n│ Prometheus Link │ http://127.0.0.1:44807/metrics │\n└─────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────┘ Both the prometheus and the node links are accesibles in your local machine to get the metrics or connect to the node.',
breadcrumbs: "Cli usage » Spawning » Spawning",
id: "13",
title: "Spawning",
Expand All @@ -136,7 +136,7 @@ Object.assign(window.search, {
title: "Teardown",
},
16: {
body: "The other goal of ZombieNet is provide a way to perform test/assertions agins the spawned network, using a set of natural language expressions that allow to make assertions based on metrics, logs and some built-in function that query the network using polkadot.js. Those assertions should be defined in a feature test , and the dsl and format is documented in here . The following is an small example to spawn a network (using the previos simple network definition) and assert that: Both nodes are running The definded parachain is registered The defined parachain is producing blocks and produced at least 10 within 200 seconds. Description: Simple Network Smoke Test\nNetwork: ./0001-small-network.toml\nCreds: config alice: is up\nbob: is up\nalice: parachain 100 is registered within 225 seconds\nalice: parachain 100 block height is at least 10 within 200 seconds Another examples are provided in the examples directory.",
body: "The other goal of ZombieNet is provide a way to perform test/assertions agins the spawned network, using a set of natural language expressions that allow to make assertions based on metrics, logs and some built-in function that query the network using polkadot.js. Those assertions should be defined in a feature test , and the dsl and format is documented in here . The following is an small example to spawn a network (using the previous simple network definition) and assert that: Both nodes are running The definded parachain is registered The defined parachain is producing blocks and produced at least 10 within 200 seconds. Description: Simple Network Smoke Test\nNetwork: ./0001-small-network.toml\nCreds: config alice: is up\nbob: is up\nalice: parachain 100 is registered within 225 seconds\nalice: parachain 100 block height is at least 10 within 200 seconds Another examples are provided in the examples directory.",
breadcrumbs: "Cli usage » Testing » Testing",
id: "16",
title: "Testing",
Expand Down
Loading
Loading