Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup of mangata parachain (
Browse files Browse the repository at this point in the history
…#32)

* feat: implement kurtosis package for local setup of mangata parachain

* refactor: change runction name from run to run_mangata

* refactor: remove args from parameter of run_mangata function

* refactor: change file mount from output to configs

* refactor: change port key value

---------

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Oct 31, 2023
1 parent 0c3dc17 commit ba509c7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions parachain/mangata.star
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit ba509c7

Please sign in to comment.