Skip to content

Commit

Permalink
feat: implement kurtosis package for litentry parachain testnet node …
Browse files Browse the repository at this point in the history
…setup
  • Loading branch information
abhiyana committed Nov 7, 2023
1 parent 7a41af4 commit 4820b4b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion local.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"chain-type": "local",
"chain-type": "testnet",
"relaychain": {
"name": "polkadot",
"nodes": [
Expand Down
27 changes: 27 additions & 0 deletions parachain/testnet-setup/litentry.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
def run_litentry(plan):
exec_command = [
"--chain=rococo",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--execution=wasm",
"--tmp",
"--unsafe-ws-external"
]
litentry_service_config = ServiceConfig(
image = "litentry/litentry-parachain:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
"rpc": PortSpec(9933, transport_protocol = "TCP"),
},
cmd = exec_command,
entrypoint = ["/usr/local/bin/litentry-collator"]
)

service_details = plan.add_service(name = "litentry-node", config = litentry_service_config)

return service_details

0 comments on commit 4820b4b

Please sign in to comment.