Skip to content

Commit

Permalink
feat: implement kurtosis package to run moonriver parachain local (#27)
Browse files Browse the repository at this point in the history
* chore: implement kurtosis package to run moonbeam parachain local

* fix: fix moonbeam port issue
  • Loading branch information
shanithkk authored Oct 31, 2023
1 parent a5676b5 commit 42bdf39
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions parachain/moonbeam.star
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
def run_moonbeam(plan):
exec_command = ["--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp"
exec_command = [
"--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp",
"--unsafe-rpc-external",
]
moonbeam_service_config = ServiceConfig(
image = "moonbeamfoundation/moonbeam:sha-32933811",
Expand All @@ -22,3 +24,24 @@ def run_moonbeam(plan):
cmd = exec_command,
)
plan.add_service(name = "acala-node", config = moonbeam_service_config)

def run_moonriver(plan, args):
exec_command = [
"--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp",
"--unsafe-rpc-external",
]
plan.add_service(name = "moonriver-node", config = ServiceConfig(
image = "moonbeamfoundation/moonbeam:sha-519bd694",
files = {
"/app": "configs",
},
ports = {
"9944": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
))

0 comments on commit 42bdf39

Please sign in to comment.