Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup of zeitgeist paracha…
Browse files Browse the repository at this point in the history
…in (#22)

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

* refactor: refactor exec_command to multiple lines

---------

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

0 comments on commit 4e684af

Please sign in to comment.