Skip to content

Commit

Permalink
chore: implement the kurtosis package to run interlay parachain local
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk committed Oct 26, 2023
1 parent 30382db commit 9baf9f3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions parachain/polkadot_parachain.star
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,19 @@ def run_acala(plan, args):
)
plan.add_service(name="acala-node", config=acala_service_config)

def interrelay_run(plan,args):

exec_command = [ "bin/sh","-c","/usr/local/bin/interbtc-parachain --chain=dev --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json"]
parachain = plan.add_service(
name="interrelay",
config= ServiceConfig(
image = "interlayhq/interbtc:latest",
files={
"/app":"output"
},
ports = {
"parachain" : PortSpec(9944, transport_protocol="TCP"),
},
entrypoint=exec_command
)
)

0 comments on commit 9baf9f3

Please sign in to comment.