Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup moonbeam parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Oct 27, 2023
1 parent 3c70d4d commit 525a7c1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions parachain/moonbeam.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
def run(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 525a7c1

Please sign in to comment.