Skip to content

Commit

Permalink
feat: implement the kurtosis package for turing mainnet node setup (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana authored Nov 10, 2023
1 parent 08e0ce6 commit e0d4771
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions parachain/mainnet-setup/turing.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
def run_turing(plan):
exec_command = [
"--chain=turing",
"--rpc-port=9933",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--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,
entrypoint = ["./oak-collator"]
)

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

return service_details

0 comments on commit e0d4771

Please sign in to comment.