Skip to content

Commit

Permalink
feat: implement kurtosis package to run subzero parachain locally (#34)
Browse files Browse the repository at this point in the history
* feat: implement kurtosis package to run subzero parachain locally

* refactor: change port key to ws

---------

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
shanithkk and shreyasbhat0 authored Oct 31, 2023
1 parent d72e409 commit eeca518
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions parachain/subzero.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
def run_subzero(plan, args):
exec_command = [
"bin/sh",
"-c",
"/usr/local/bin/subzero --dev --tmp --ws-external --rpc-external --rpc-cors all --rpc-methods unsafe -- --execution wasm --chain /app/rococo-local.json",
]
plan.add_service(
name = "subzero",
config = ServiceConfig(
image = "playzero/subzero:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
},
entrypoint = exec_command,
),
)

0 comments on commit eeca518

Please sign in to comment.