Skip to content

Commit

Permalink
feat: implement the kurtosis package for bifrost-kusama testnet node
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Nov 8, 2023
1 parent d42553d commit ab5bbdf
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 15 deletions.
168 changes: 168 additions & 0 deletions parachain/static_files/configs/bifrost-k-rococo.json

Large diffs are not rendered by default.

37 changes: 22 additions & 15 deletions parachain/testnet-setup/bifrost.star
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
def run_bifrost(plan):
exec_command = [
"--chain /specs/bifrost-testnet.json",
"--port=30333",
"--rpc-port=9933",
"--base-path=/data",
"--chain=/app/bifrost-k-rococo.json",
"--ws-external",
"--rpc-external",
"--rpc-cors=all",
"--rpc-external"
]

service_config = ServiceConfig(
image = "thebifrost/bifrost-node:latest",
ports = {
"rpc": PortSpec(9933, transport_protocol = "TCP"),
"ws": PortSpec(30333, transport_protocol = "TCP"),
},
entrypoint = exec_command,
"--collator",
"--rpc-methods=unsafe",
"--force-authoring",
"--execution=wasm"
]
plan.add_service(
name = "bifrost",
config = ServiceConfig(
image = "bifrostnetwork/bifrost:bifrost-v0.9.66",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
entrypoint = ["/usr/local/bin/bifrost"],
),
)

plan.add_service(name="bifrost-node", service_config = service_config)

0 comments on commit ab5bbdf

Please sign in to comment.