From 7ea7ed54ddabde2045dac1a4599d9591e407f4bd Mon Sep 17 00:00:00 2001 From: abhiyana Date: Tue, 7 Nov 2023 01:47:18 +0530 Subject: [PATCH] feat: implement kurtosis package for acala testnet node --- parachain/testnet-setup/acala.star | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 parachain/testnet-setup/acala.star diff --git a/parachain/testnet-setup/acala.star b/parachain/testnet-setup/acala.star new file mode 100644 index 0000000..7fa6fc6 --- /dev/null +++ b/parachain/testnet-setup/acala.star @@ -0,0 +1,27 @@ +def run_acala(plan): + + exec_command = [ + "--chain=mandala-latest", + "--collator", + "--rpc-cors=all", + "--rpc-port=9933", + "--rpc-methods=unsafe", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "--tmp", + "--execution=wasm" + ] + + acala_service_config = ServiceConfig( + image = "acala/mandala-node:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "rpc": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint= ["/usr/local/bin/acala"] + ) + plan.add_service(name = "acala-node", config = acala_service_config)