Skip to content

Commit

Permalink
feat: implement kurtosis package localnet setup for robonomics kusama (
Browse files Browse the repository at this point in the history
…#31)

* feat: implement kurtosis package for local setup of robonomics parachain

* refactor: change port key value

* refactor: add unsafe-ws-external flag in command

---------

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Oct 31, 2023
1 parent ba509c7 commit ef14454
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parachain/ajuna.star
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def run_ajuna(plan, args):
"ws": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
),
)
)
)
26 changes: 26 additions & 0 deletions parachain/robonomics.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
def run_robonomics(plan):
exec_command = [
"robonomics",
"--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--unsafe-ws-external",
"--tmp",
"--",
"--chain=/app/rococo-local.json",
"--execution=wasm",
]
robonomics_service_config = ServiceConfig(
image = "robonomics/robonomics:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
"tcp": PortSpec(9933, transport_protocol = "TCP"),
},
cmd = exec_command,
)
plan.add_service(name = "robonomics-node", config = robonomics_service_config)

0 comments on commit ef14454

Please sign in to comment.