Skip to content
Snippets Groups Projects
Unverified Commit a5832f92 authored by Nikos Kontakis's avatar Nikos Kontakis
Browse files

Finalize example moved from polkadot-sdk

parent 21a1e570
Branches
No related merge requests found
[settings]
timeout = 1000
node_spawn_timeout = 1000
[relaychain]
default_image = "docker.io/parity/polkadot-sdk:latest"
command = "polkadot"
default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
chain = "rococo-local"
command = "polkadot"
[[relaychain.nodes]]
name = "alice"
......@@ -18,12 +17,10 @@ chain = "rococo-local"
[[parachains]]
id = 100
addToGenesis = false
balance = 200000000
chain="some"
[parachains.collator]
name = "collator01"
image = "docker.io/parity/polkadot-sdk:latest"
image = "{{COL_IMAGE}}"
command = "adder-collator"
args = [ "-lruntime=debug,parachain=trace" ]
......
use std::time::Duration;
// use std::time::Duration;
use configuration::NetworkConfig;
use orchestrator::Orchestrator;
......@@ -7,7 +7,8 @@ use support::fs::local::LocalFileSystem;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let config = NetworkConfig::load_from_toml("./crates/examples/examples/0001-simple.toml").expect("errored?");
let config = NetworkConfig::load_from_toml("./crates/examples/examples/0001-simple.toml")
.expect("errored?");
let fs = LocalFileSystem;
let provider = NativeProvider::new(fs.clone());
......@@ -19,5 +20,5 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
loop {}
// Ok(())
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment