From 7053da5e403d9d3e917cb6454bd3ecc78e5e9841 Mon Sep 17 00:00:00 2001 From: Abhishek Harde <47945971+abhiyana@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:01:07 +0530 Subject: [PATCH] feat: implement kurtosis package for zeitgeist parachain testnet node setup (#49) --- parachain/testnet-setup/zeitgeist.star | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 parachain/testnet-setup/zeitgeist.star diff --git a/parachain/testnet-setup/zeitgeist.star b/parachain/testnet-setup/zeitgeist.star new file mode 100644 index 0000000..2766a2a --- /dev/null +++ b/parachain/testnet-setup/zeitgeist.star @@ -0,0 +1,24 @@ +def run_zeitgeist(plan): + exec_command = [ + "--chain=battery_station", + "--rpc-port=9933", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-ws-external", + "--execution=wasm", + "--tmp" + ] + zeitgeist_service_config = ServiceConfig( + image = "zeitgeistpm/zeitgeist-node-parachain", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "rpc": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/zeitgeist"] + ) + plan.add_service(name = "zeitgeist-node", config = zeitgeist_service_config)