Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup of turing parachain (#…
Browse files Browse the repository at this point in the history
…35)

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Nov 2, 2023
1 parent a3a93ab commit c559174
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions parachain/turing.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
def run_turing(plan):
exec_command = [
"--chain=turing-dev",
"--rpc-port=9933",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--execution=wasm",
"--tmp",
"--unsafe-ws-external",
"--",
"--chain=/app/rococo-local.json",
"--execution=wasm",
]
turing_service_config = ServiceConfig(
image = "oaknetwork/turing:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
"rpc": PortSpec(9933, transport_protocol = "TCP"),
},
cmd = exec_command,
)

service_details = plan.add_service(name = "turing-node", config = turing_service_config)

return service_details

0 comments on commit c559174

Please sign in to comment.