Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup altair parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Oct 30, 2023
1 parent 86025cb commit c21baaa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions parachain/altair.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
def run_altair(plan):
exec_command = ["--chain=altair-local", "--rpc-port=9933","--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", "--execution=wasm", "--tmp", "--", "--chain=/app/rococo-local.json", "--execution=wasm"]
altair_service_config = ServiceConfig(
image = "centrifugeio/centrifuge-chain:test-main-latest",
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="altair-node", config=altair_service_config)

0 comments on commit c21baaa

Please sign in to comment.