From 9baf9f381f9c4b5b4ea3b5afa0710f3c0b55ac84 Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Fri, 27 Oct 2023 04:38:09 +0530 Subject: [PATCH 1/2] chore: implement the kurtosis package to run interlay parachain local --- parachain/polkadot_parachain.star | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/parachain/polkadot_parachain.star b/parachain/polkadot_parachain.star index a6c3bb7..5c48cb7 100644 --- a/parachain/polkadot_parachain.star +++ b/parachain/polkadot_parachain.star @@ -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 + ) + ) From 611751a680e42fda2e87717db20a196b5f6570d4 Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Fri, 27 Oct 2023 12:38:55 +0530 Subject: [PATCH 2/2] chore: implement the kurtosis package to run interlay btc parachain local --- parachain/interlay.star | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 parachain/interlay.star diff --git a/parachain/interlay.star b/parachain/interlay.star new file mode 100644 index 0000000..f521e14 --- /dev/null +++ b/parachain/interlay.star @@ -0,0 +1,16 @@ +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 + ) + )