Skip to content

Commit

Permalink
feat: implement kurtosis package to run khala parachain local (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk authored Oct 30, 2023
1 parent 039b750 commit 86025cb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions parachain/khala.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
def run_khala(plan, args):
exec_command = [
"/bin/sh",
"-c",
"/usr/local/bin/khala-node --chain=khala-dev-2004 --ws-external --rpc-external --rpc-cors=all --name=parachain-2010-0 --collator --rpc-methods=unsafe --force-authoring --execution=wasm --alice -- --chain=/app/rococo-local.json --execution=wasm",
]
plan.add_service(
name = "khala",
config = ServiceConfig(
image = "phalanetwork/khala-node:latest",
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
files = {
"/app": "configs",
},
entrypoint = exec_command,
),
)

0 comments on commit 86025cb

Please sign in to comment.