diff --git a/parachain/moonbeam.star b/parachain/moonbeam.star new file mode 100644 index 0000000..730a0a1 --- /dev/null +++ b/parachain/moonbeam.star @@ -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) diff --git a/relaychain/relay-chain.star b/relaychain/relay-chain.star index 3d9677b..fb97e1a 100644 --- a/relaychain/relay-chain.star +++ b/relaychain/relay-chain.star @@ -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"),