Skip to content

Commit

Permalink
polkadot launch
Browse files Browse the repository at this point in the history
  • Loading branch information
dharjeezy committed Aug 3, 2023
1 parent 1989822 commit 39d6bdd
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 2 deletions.
File renamed without changes.
115 changes: 115 additions & 0 deletions scripts/polkadot-launch/dev_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"relaychain": {
"bin": "../../../polkadot/target/release/polkadot",
"chain": "rococo-local",
"genesis": {
"runtime": {
"runtime_genesis_config": {
"configuration": {
"config": {
"validation_upgrade_frequency": 2,
"validation_upgrade_delay": 2
}
}
}
}
},
"nodes": [
{
"name": "alice",
"wsPort": 8944,
"port": 20444,
"basePath": "/tmp/polkadot-launch/relaychains/alice",
"flags": ["--rpc-cors=all", "--beefy", "--enable-offchain-indexing=true"]
},
{
"name": "bob",
"wsPort": 8955,
"port": 20555,
"basePath": "/tmp/polkadot-launch/relaychains/bob",
"flags": ["--beefy"]
},
{
"name": "charlie",
"wsPort": 8966,
"port": 20666,
"basePath": "/tmp/polkadot-launch/relaychains/charlie",
"flags": ["--rpc-cors=all", "--beefy"]
},
{
"name": "dave",
"wsPort": 8977,
"basePath": "/tmp/polkadot-launch/relaychains/dave",
"port": 20777,
"flags": ["--rpc-cors=all", "--beefy"]
},
{
"name": "eve",
"wsPort": 8377,
"basePath": "/tmp/polkadot-launch/relaychains/eve",
"port": 20778,
"flags": ["--rpc-cors=all", "--beefy"]
},
{
"name": "ferdie",
"basePath": "/tmp/polkadot-launch/relaychains/ferdie",
"wsPort": 8978,
"port": 20779,
"flags": ["--rpc-cors=all", "--beefy"]
}
]
},
"parachains": [
{
"bin": "../../target/release/hyperbridge",
"chain": "dev-2000",
"nodes": [
{
"wsPort": 8988,
"port": 21200,
"basePath": "/tmp/polkadot-launch/parachains/alice",
"flags": ["--alice", "--rpc-cors=all", "--execution=wasm", "--wasmtime-instantiation-strategy=recreate-instance-copy-on-write", "--log=runtime::mmr=trace,runtime::mmr::offchain=debug,runtime=trace", "--enable-offchain-indexing=true", "--pruning=archive", "--", "--base-path=/tmp/polkadot-launch/relaychains/alice-1"]
},
{
"wsPort": 8989,
"port": 21201,
"basePath": "/tmp/polkadot-launch/parachains/bob",
"flags": ["--bob", "--rpc-cors=all", "--execution=wasm", "--wasmtime-instantiation-strategy=recreate-instance-copy-on-write", "--enable-offchain-indexing=true", "--", "--base-path=/tmp/polkadot-launch/relaychains/bob-1"]
},
{
"wsPort": 8990,
"port": 21202,
"basePath": "/tmp/polkadot-launch/parachains/charlie",
"flags": ["--charlie", "--rpc-cors=all", "--execution=wasm", "--wasmtime-instantiation-strategy=recreate-instance-copy-on-write", "--enable-offchain-indexing=true", "--", "--base-path=/tmp/polkadot-launch/relaychains/charlie-1"]
}
]
},
{
"bin": "../../target/release/hyperbridge",
"chain": "dev-2001",
"nodes": [
{
"wsPort": 8188,
"port": 22200,
"basePath": "/tmp/polkadot-launch/parachains/prime-alice",
"flags": ["--alice", "--rpc-cors=all", "--execution=wasm", "--wasmtime-instantiation-strategy=recreate-instance-copy-on-write", "--log=runtime::mmr=trace,runtime::mmr::offchain=debug,runtime=trace", "--enable-offchain-indexing=true", "--pruning=archive", "--", "--base-path=/tmp/polkadot-launch/relaychains/prime-alice-1"]
},
{
"wsPort": 8189,
"port": 22201,
"basePath": "/tmp/polkadot-launch/parachains/prime-bob",
"flags": ["--bob", "--rpc-cors=all", "--execution=wasm", "--wasmtime-instantiation-strategy=recreate-instance-copy-on-write", "--enable-offchain-indexing=true", "--", "--base-path=/tmp/polkadot-launch/relaychains/prime-bob-1"]
},
{
"wsPort": 8190,
"port": 22202,
"basePath": "/tmp/polkadot-launch/parachains/prime-charlie",
"flags": ["--charlie", "--rpc-cors=all", "--execution=wasm", "--wasmtime-instantiation-strategy=recreate-instance-copy-on-write", "--enable-offchain-indexing=true", "--", "--base-path=/tmp/polkadot-launch/relaychains/prime-charlie-1"]
}
]
}
],
"types": {},
"finalization": false,
"simpleParachains": []
}
4 changes: 2 additions & 2 deletions scripts/polkadot-launch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"dev": "rm -rf /tmp/polkadot-launch && polkadot-launch dev.json --verbose"
"dev": "rm -rf /tmp/polkadot-launch && polkadot-launch dev_1.json dev_2.json --verbose"
},
"keywords": [],
"author": "",
Expand All @@ -14,4 +14,4 @@
"polkadot-launch": "^2.3.0",
"typescript": "^4.7.3"
}
}
}

0 comments on commit 39d6bdd

Please sign in to comment.