Skip to content

Commit

Permalink
feat: implement kurtosis package to run bajun parachain local (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk authored Oct 30, 2023
1 parent 86025cb commit 7ba8280
Showing 1 changed file with 45 additions and 5 deletions.
50 changes: 45 additions & 5 deletions parachain/ajuna.star
Original file line number Diff line number Diff line change
@@ -1,14 +1,54 @@
def run_ajuna(plan, args):
exec_command = ["--base-path=/data", "--chain=/app/bajun-raw.json", "--port=40335", "--ws-port=8846", "--unsafe-ws-external", "--rpc-cors=all", "--", "--execution=wasm", "--chain=/app/rococo-local.json", "--port=30345", "--ws-port=9979"]
def run_bajun(plan, args):
exec_command = [
"--base-path=/data",
"--chain=/app/bajun-raw.json",
"--port=40335",
"--ws-port=9944",
"--unsafe-ws-external",
"--rpc-cors=all",
"--",
"--execution=wasm",
"--chain=/app/rococo-local.json",
"--port=30345",
"--ws-port=9979",
]
plan.add_service(
name = "ajun-node",
name = "bajun-node",
config = ServiceConfig(
image = "ajuna/parachain-bajun:latest",
files = {
"/app": "output",
"/app": "configs",
},
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
),
)

def run_ajuna(plan, args):
exec_command = [
"--base-path=/data",
"--chain=dev",
"--port=40335",
"--ws-port=9944",
"--unsafe-ws-external",
"--rpc-cors=all",
"--",
"--execution=wasm",
"--chain=/app/rococo-local.json",
"--port=30345",
"--ws-port=9979",
]
plan.add_service(
name = "ajuna",
config = ServiceConfig(
image = "ajuna/parachain-ajuna:latest",
files = {
"/app": "configs",
},
ports = {
"parachain": PortSpec(8846, transport_protocol = "TCP"),
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
),
Expand Down

0 comments on commit 7ba8280

Please sign in to comment.