Skip to content

Commit

Permalink
feat: implement the kurtosis package for altair testnet node setup (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana authored Nov 9, 2023
1 parent d42553d commit 2db553e
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 0 deletions.
95 changes: 95 additions & 0 deletions parachain/static_files/configs/catalyst-spec.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions parachain/testnet-setup/altair.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
def run_altair(plan):
exec_command = [
"--chain=catalyst",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--unsafe-ws-external",
"--execution=wasm",
"--tmp",
"--",
"--chain=rococo"
]
altair_service_config = ServiceConfig(
image = "centrifugeio/centrifuge-chain:test-main-latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
"rpc": PortSpec(9933, transport_protocol = "TCP"),
},
public_ports = {
"ws": PortSpec(9432, transport_protocol = "TCP"),
"rpc": PortSpec(9431, transport_protocol = "TCP"),
},
cmd = exec_command,
entrypoint = ["/usr/local/bin/centrifuge-chain"]
)
plan.add_service(name = "altair-node", config = altair_service_config)

0 comments on commit 2db553e

Please sign in to comment.