-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from HugoByte/DIVE-198-Localnet-setup-for-Kylin…
…-Polkadot feat: implement the kurtosis package to run kylin parachain local
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
def run_kylin(plan, args): | ||
exec_command = [ | ||
"--base-path=/kylin/data", | ||
"--chain=dev", | ||
"--ws-external", | ||
"--rpc-external", | ||
"--rpc-cors=all", | ||
"--name=parachain-2010-0", | ||
"--collator", | ||
"--rpc-methods=unsafe", | ||
"--force-authoring", | ||
"--execution=wasm", | ||
"--alice", | ||
"--node-key=52194369e4c881e4157b74fd00dff4241e50b8100b823273e25c868a70e5cde8", | ||
"--", | ||
"--chain=/app/rococo-local.json", | ||
"--execution=wasm", | ||
] | ||
plan.add_service( | ||
name = "kylin", | ||
config = ServiceConfig( | ||
image = "kylinnetworks/kylin-collator:ro-v0.9.30", | ||
files = { | ||
"/app": "configs", | ||
}, | ||
ports = { | ||
"parachain": PortSpec(9944, transport_protocol = "TCP"), | ||
}, | ||
cmd = exec_command, | ||
), | ||
) |