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 the kurtosis package to run parallel parachain local #7

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

shanithkk
Copy link
Collaborator

@shanithkk shanithkk commented Oct 27, 2023

Description:

implement the kurtosis package to run parallel parachain local

Commit Message

feat: implement the kurtosis package to run parallel parachain local

see the guidelines for commit messages.

Checklist:

  • I have performed a self-review of my own code
  • I have documented my code in accordance with the documentation guidelines
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the unit tests
  • I only have one commit (if not, squash them into one commit).
  • I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

@@ -0,0 +1,16 @@
def parallel_run(plan,args):

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change function to verb, Please follow a proper naming convention (run_<chain/node name>)

@@ -0,0 +1,16 @@
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"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formating

Comment on lines 1 to 15
def run_kylin(plan, args):
exec_command = ["--base-path=/kylin/data", "--chain=dev", "--ws-external", "--rpc-external", "--rpc-cors=all", "--name=parachain-2010-0", "--collator", "--rpc-methods=unsafe", "--force-authoring", "--execution=wasm", "--alice", "--node-key=52194369e4c881e4157b74fd00dff4241e50b8100b823273e25c868a70e5cde8", "--", "--chain=/app/rococo-local.json", "--execution=wasm"]
plan.add_service(
name = "kylin",
config = ServiceConfig(
image = "kylinnetworks/kylin-collator:ro-v0.9.30",
files = {
"/app": "output",
},
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
cmd = exec_command,
),
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why kylin is here in with parallel ?

@shreyasbhat0 shreyasbhat0 merged commit 21f385f into main Oct 30, 2023
1 check passed
@shreyasbhat0 shreyasbhat0 deleted the DIVE-201-Localnet-setup-for-Parallel-Polkadot branch October 30, 2023 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants