Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement kurtosis package to run phala parachain local #16

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions parachain/khala.star
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,23 @@ def run_khala(plan, args):
entrypoint = exec_command,
),
)

def run_phala(plan, args):
exec_command = [
"/bin/sh",
"-c",
"/usr/local/bin/khala-node --chain=phala-dev-2035 --ws-external --rpc-external --rpc-cors=all --name=parachain-2010-0 --collator --rpc-methods=unsafe --force-authoring --execution=wasm --alice -- --chain=/app/rococo-local.json --execution=wasm",
]
plan.add_service(
name = "phala",
config = ServiceConfig(
image = "phalanetwork/phala-node:latest",
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
files = {
"/app": "configs",
},
entrypoint = exec_command,
),
)