From 3670392ddf7baa3c14e0a4fdd66a683dec4ee791 Mon Sep 17 00:00:00 2001 From: Abhishek Harde <47945971+abhiyana@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:40:52 +0530 Subject: [PATCH] feat: implement the kurtosis package for kilt parachain testnet node setup (#47) Co-authored-by: Shreyas S Bhat <35568964+shreyasbhat0@users.noreply.github.com> --- parachain/testnet-setup/kilt.star | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 parachain/testnet-setup/kilt.star diff --git a/parachain/testnet-setup/kilt.star b/parachain/testnet-setup/kilt.star new file mode 100644 index 0000000..397df13 --- /dev/null +++ b/parachain/testnet-setup/kilt.star @@ -0,0 +1,27 @@ +def run_kilt(plan): + exec_command = [ + "--chain=/node/dev-specs/kilt-parachain/peregrine-kilt.json", + "--alice", + "--rpc-port=9933", + "--rpc-external", + "--rpc-cors=all", + "--unsafe-ws-external", + "--rpc-methods=unsafe", + "--execution=wasm", + "--tmp", + "--", + "--chain=/node/dev-specs/kilt-parachain/peregrine-relay.json" + ] + + kilt_service_config = ServiceConfig( + image = "kiltprotocol/kilt-node:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP") + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/node-executable"] + ) + plan.add_service(name = "kilt-node", config = kilt_service_config)