Skip to content

Commit

Permalink
Merge pull request #12 from HugoByte/DIVE-182-Localnet-setup-for-Moon…
Browse files Browse the repository at this point in the history
…beam-Polkadot

feat: implement kurtosis package for moonbeam parachain local setup
  • Loading branch information
shreyasbhat0 authored Oct 30, 2023
2 parents 6d573bd + 1bf39f6 commit c55f937
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions parachain/moonbeam.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
def run_moonbeam(plan):
exec_command = ["--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp"
]
moonbeam_service_config = ServiceConfig(
image = "moonbeamfoundation/moonbeam:sha-32933811",
files = {
"/app": "configs",
},
ports = {
"9944": PortSpec(9944, transport_protocol = "TCP"),
"9933": PortSpec(9933, transport_protocol = "TCP"),
},
public_ports = {
"9944": PortSpec(9432, transport_protocol = "TCP"),
"9933": PortSpec(9431, transport_protocol = "TCP"),
},
cmd = exec_command,
)
plan.add_service(name = "acala-node", config = moonbeam_service_config)
2 changes: 1 addition & 1 deletion relaychain/relay-chain.star
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def start_relay_chain_local(plan, name, port):
config = ServiceConfig(
image = "parity/polkadot:v0.9.31",
files = {
"/app": "output",
"/app": "configs",
},
ports = {
"polkadot": PortSpec(9944, transport_protocol = "TCP"),
Expand Down

0 comments on commit c55f937

Please sign in to comment.