From ef14454a6c8a636bef52692bcc0f473022fb3590 Mon Sep 17 00:00:00 2001 From: Abhishek Harde <47945971+abhiyana@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:22:19 +0530 Subject: [PATCH 1/3] feat: implement kurtosis package localnet setup for robonomics kusama (#31) * feat: implement kurtosis package for local setup of robonomics parachain * refactor: change port key value * refactor: add unsafe-ws-external flag in command --------- Co-authored-by: Shreyas S Bhat <35568964+shreyasbhat0@users.noreply.github.com> --- parachain/ajuna.star | 4 ++-- parachain/robonomics.star | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 parachain/robonomics.star diff --git a/parachain/ajuna.star b/parachain/ajuna.star index 804d401..e028152 100644 --- a/parachain/ajuna.star +++ b/parachain/ajuna.star @@ -51,5 +51,5 @@ def run_ajuna(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, - ), - ) + ) + ) \ No newline at end of file diff --git a/parachain/robonomics.star b/parachain/robonomics.star new file mode 100644 index 0000000..769b33b --- /dev/null +++ b/parachain/robonomics.star @@ -0,0 +1,26 @@ +def run_robonomics(plan): + exec_command = [ + "robonomics", + "--chain=dev", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-ws-external", + "--tmp", + "--", + "--chain=/app/rococo-local.json", + "--execution=wasm", + ] + robonomics_service_config = ServiceConfig( + image = "robonomics/robonomics:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "tcp": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + ) + plan.add_service(name = "robonomics-node", config = robonomics_service_config) From d72e40985c72f0675e8fe50b5f901286cfe93a0e Mon Sep 17 00:00:00 2001 From: Abhishek Harde <47945971+abhiyana@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:22:50 +0530 Subject: [PATCH 2/3] feat: implement kurtosis package for local setup of kintsungi parachain (#30) * feat: implement kurtosis package for local setup of kintsungi parachain * refactor: change entrypoint to cmd and change port key value to ws --------- Co-authored-by: Shreyas S Bhat <35568964+shreyasbhat0@users.noreply.github.com> --- parachain/kintsungi.star | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 parachain/kintsungi.star diff --git a/parachain/kintsungi.star b/parachain/kintsungi.star new file mode 100644 index 0000000..1ff266c --- /dev/null +++ b/parachain/kintsungi.star @@ -0,0 +1,30 @@ +def run_kintsungi(plan,args): + + exec_command = [ + "--chain=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" + ] + service_details = plan.add_service( + name="kintsungi", + config= ServiceConfig( + image = "interlayhq/interbtc:latest", + files={ + "/app":"configs" + }, + ports = { + "ws" : PortSpec(9944, transport_protocol="TCP"), + }, + cmd=exec_command + ) + ) + + return service_details From eeca518c1125cec21ea831a4bec070d72eca25d7 Mon Sep 17 00:00:00 2001 From: SHANiTH K K <59169878+shanithkk@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:44:52 +0530 Subject: [PATCH 3/3] feat: implement kurtosis package to run subzero parachain locally (#34) * feat: implement kurtosis package to run subzero parachain locally * refactor: change port key to ws --------- Co-authored-by: Shreyas S Bhat <35568964+shreyasbhat0@users.noreply.github.com> --- parachain/subzero.star | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 parachain/subzero.star diff --git a/parachain/subzero.star b/parachain/subzero.star new file mode 100644 index 0000000..907fe58 --- /dev/null +++ b/parachain/subzero.star @@ -0,0 +1,19 @@ +def run_subzero(plan, args): + exec_command = [ + "bin/sh", + "-c", + "/usr/local/bin/subzero --dev --tmp --ws-external --rpc-external --rpc-cors all --rpc-methods unsafe -- --execution wasm --chain /app/rococo-local.json", + ] + plan.add_service( + name = "subzero", + config = ServiceConfig( + image = "playzero/subzero:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + }, + entrypoint = exec_command, + ), + )