Skip to content

Commit

Permalink
Merge pull request #7 from HugoByte/DIVE-201-Localnet-setup-for-Paral…
Browse files Browse the repository at this point in the history
…lel-Polkadot

feat: implement the kurtosis package to run parallel parachain local
  • Loading branch information
shreyasbhat0 authored Oct 30, 2023
2 parents d0fa387 + 904893a commit 21f385f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions parachain/parallel.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
def run_parallel(plan, args):
exec_command = [
"--chain=kerria-dev",
"--wasm-execution=compiled",
"--force-authoring",
"--port",
"30333",
"--rpc-port",
"9944",
"--rpc-external",
"--rpc-cors",
"all",
"--rpc-methods=Unsafe",
"--",
"--wasm-execution=compiled",
"--chain=/app/rococo-local.json",
]
plan.add_service(
name = "parallel",
config = ServiceConfig(
image = "parallelfinance/parallel:latest",
files = {
"/app": "configs",
},
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
),
)

0 comments on commit 21f385f

Please sign in to comment.