Skip to content

Commit

Permalink
style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk committed Oct 30, 2023
1 parent ed5043e commit 3819666
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions parachain/manta.star
Original file line number Diff line number Diff line change
@@ -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
)
)
entrypoint = exec_command,
),
)

0 comments on commit 3819666

Please sign in to comment.