Skip to content

Commit

Permalink
feat: implement kurtosis package for clover testnet node (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Nov 7, 2023
1 parent 49e6677 commit 8a278db
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions parachain/testnet-setup/clover.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
def run_clover(plan):
exec_command = [
"--base-path=/opt/chaindata",
"--chain=/opt/specs/clover-preview-iris.json",
"--port=30333",
"--ws-port=9944",
"--rpc-port=9933",
"--rpc-cors=all",
"--validator",
"--unsafe-ws-external",
"--unsafe-rpc-external",
"--rpc-methods=Unsafe"
]

service_config = ServiceConfig(
image = "cloverio/clover-iris:0.1.15",
ports = {
"ws": PortSpec(9944, transport_protocol="TCP"),
"tcp": PortSpec(9933, transport_protocol="TCP")
},
cmd = exec_command,
entrypoint = ["/bin/sh", "-c", "/opt/clover/bin/clover"]
)

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

0 comments on commit 8a278db

Please sign in to comment.