Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement kurtosis package for local setup of mangata parachain #32

Merged
merged 7 commits into from
Oct 31, 2023
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)