From c4325e05aa447d4195d0ee825f94681ae6ca81df Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Mon, 30 Oct 2023 17:58:18 +0530 Subject: [PATCH] feat: implement kurtosis package to run encointer parachain local --- parachain/encointer.star | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 parachain/encointer.star diff --git a/parachain/encointer.star b/parachain/encointer.star new file mode 100644 index 0000000..f1169f6 --- /dev/null +++ b/parachain/encointer.star @@ -0,0 +1,19 @@ +def run_encointer(plan, args): + exec_command = [ + "bin/sh", + "-c", + "/usr/local/bin/encointer-collator --collator --tmp --chain encointer-rococo-local --rpc-port 9944 -- --execution=wasm --chain /app/rococo-local.json", + ] + plan.add_service( + name = "encointer", + config = ServiceConfig( + image = "encointer/parachain:1.5.1", + files = { + "/app": "configs", + }, + ports = { + "parachain": PortSpec(9944, transport_protocol = "TCP"), + }, + entrypoint = exec_command, + ), + )