Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup of pendulum parachain (
Browse files Browse the repository at this point in the history
#18)

* feat: implement kurtosis package for local setup of pendulum parachain

* refactor: change config name to pendulum_service_config

* refactor: change in exec_command

* refactor: format the exec_command

---------

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Oct 30, 2023
1 parent bf31def commit 5482a0d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions parachain/pendulum.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
def run_pendulum(plan):
exec_command = [
"--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp",
"--",
"--wasm-execution=compiled",
"--chain=/app/rococo-local.json"
]
pendulum_service_config = ServiceConfig(
image = "pendulumchain/pendulum-collator: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 = "pendulum-node", config = pendulum_service_config)

0 comments on commit 5482a0d

Please sign in to comment.