From b913566437194379611468a0f812b37ece8d8ec3 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Tue, 31 Oct 2023 18:14:54 +0530 Subject: [PATCH] refactor: change port key value --- parachain/mangata.star | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/parachain/mangata.star b/parachain/mangata.star index c685989..8bfd218 100644 --- a/parachain/mangata.star +++ b/parachain/mangata.star @@ -1,17 +1,23 @@ def run_mangata(plan): - exec_command = ["--chain=rococo-local", "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", "--tmp", "--", "--chain=/app/rococo-local.json", "--execution=wasm"] + 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 = { - "9944": PortSpec(9944, transport_protocol = "TCP"), - "9933": PortSpec(9933, transport_protocol = "TCP"), - }, - public_ports = { - "9944": PortSpec(9432, transport_protocol = "TCP"), - "9933": PortSpec(9431, transport_protocol = "TCP"), + "ws": PortSpec(9944, transport_protocol = "TCP"), + "tcp": PortSpec(9933, transport_protocol = "TCP"), }, cmd = exec_command, )