diff --git a/parachain/mangata.star b/parachain/mangata.star new file mode 100644 index 0000000..8bfd218 --- /dev/null +++ b/parachain/mangata.star @@ -0,0 +1,24 @@ +def run_mangata(plan): + exec_command = [ + "--chain=rococo-local", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-ws-external", + "--tmp", + "--", + "--chain=/app/rococo-local.json", + "--execution=wasm" + ] + mangata_service_config = ServiceConfig( + image = "mangatasolutions/mangata-node:ci-e2e-jobs-fix-MGX-785-fast", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "tcp": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + ) + plan.add_service(name = "mangata-node", config = mangata_service_config)