diff --git a/parachain/manta.star b/parachain/manta.star index d7b07aa..a725df1 100644 --- a/parachain/manta.star +++ b/parachain/manta.star @@ -1,33 +1,31 @@ -def run_manta(plan,args): - - exec_command = [ "bin/sh","-c","/usr/local/bin/manta --chain=manta-local --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json"] +def run_manta(plan, args): + exec_command = ["bin/sh", "-c", "/usr/local/bin/manta --chain=manta-local --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json"] plan.add_service( - name="interrelay", - config= ServiceConfig( + name = "interrelay", + config = ServiceConfig( image = "mantanetwork/manta:latest", - files={ - "/app":"output" + files = { + "/app": "output", }, ports = { - "parachain" : PortSpec(9944, transport_protocol="TCP"), + "parachain": PortSpec(9944, transport_protocol = "TCP"), }, - entrypoint=exec_command - ) + entrypoint = exec_command, + ), ) -def run_calamari(plan,args): - - exec_command = [ "bin/sh","-c","/usr/local/bin/manta --chain=calamari-local --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json"] +def run_calamari(plan, args): + exec_command = ["bin/sh", "-c", "/usr/local/bin/manta --chain=calamari-local --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json"] plan.add_service( - name="interrelay", - config= ServiceConfig( + name = "interrelay", + config = ServiceConfig( image = "mantanetwork/manta:latest", - files={ - "/app":"output" + files = { + "/app": "output", }, ports = { - "parachain" : PortSpec(9944, transport_protocol="TCP"), + "parachain": PortSpec(9944, transport_protocol = "TCP"), }, - entrypoint=exec_command - ) - ) \ No newline at end of file + entrypoint = exec_command, + ), + )