From 4f02001646ab574867482c520a4dd9bb29367e71 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Wed, 15 Nov 2023 14:49:36 +0530 Subject: [PATCH 1/6] refactor: change key name for moonbeam in image.star --- parachain/static_files/images.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parachain/static_files/images.star b/parachain/static_files/images.star index 9c3d2e4..ba3aee4 100644 --- a/parachain/static_files/images.star +++ b/parachain/static_files/images.star @@ -60,7 +60,7 @@ parachain_images = { "entrypoint": "/usr/local/bin/manta", "base": ["manta-local", "manta-testnet", "manta"], }, - "moonbeamfoundation/moonbeam": { + "moonbeam": { "image": "moonbeamfoundation/moonbeam:sha-32933811", "entrypoint": "/moonbeam/moonbeam", "base": ["dev", "alphanet", "moonbeam"], From e907d161d613a5e388859cc00558328e9e3f877a Mon Sep 17 00:00:00 2001 From: abhiyana Date: Wed, 15 Nov 2023 14:50:17 +0530 Subject: [PATCH 2/6] fix: fix moonbeam parachain command issue --- package_io/constant.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_io/constant.star b/package_io/constant.star index 642b773..bdc2f0b 100644 --- a/package_io/constant.star +++ b/package_io/constant.star @@ -5,7 +5,7 @@ CURL_JQ_IMAGE = "badouralix/curl-jq" NODE_IMAGE = "node:21.1" PARA_SLOT_REGISTER_SERVICE_NAME = "para-slot-registration" BINARY_COMMAND_CHAINS = ["manta", "khala", "phala"] -NO_WS_PORT = ["acala", "frequency"] +NO_WS_PORT = ["acala", "frequency", "moonbeam"] DIFFERENT_IMAGES_FOR_MAINNET = { "centrifuge": "centrifugeio/centrifuge-chain:main-latest", From 090df0eab067e46756af1e40e5e61574c3721ec5 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Wed, 15 Nov 2023 16:52:16 +0530 Subject: [PATCH 3/6] fix: fix testnet run fail for kilt parachain --- parachain/parachain.star | 3 +++ parachain/static_files/images.star | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/parachain/parachain.star b/parachain/parachain.star index 831219b..7b2e887 100644 --- a/parachain/parachain.star +++ b/parachain/parachain.star @@ -100,6 +100,9 @@ def run_testnet_mainnet(plan, args, parachain): if parachain in constant.CHAIN_COMMAND: command = command + ["--", "--chain={0}".format(main_chain)] + + if parachain == "kilt-spiritnet" and args["chain-type"] == "testnet": + command = command + ["--", "--chain=/node/dev-specs/kilt-parachain/peregrine-relay.json"] if parachain in constant.BINARY_COMMAND_CHAINS: binary = parachain_details["entrypoint"] diff --git a/parachain/static_files/images.star b/parachain/static_files/images.star index ba3aee4..6cd1736 100644 --- a/parachain/static_files/images.star +++ b/parachain/static_files/images.star @@ -40,10 +40,10 @@ parachain_images = { "entrypoint": "/usr/local/bin/interbtc-parachain", "base": ["dev", "interlay-testnet-latest", "interlay-latest"], }, - "kilt-spiritnet ": { + "kilt-spiritnet": { "image": "kiltprotocol/kilt-node:latest", "entrypoint": "/usr/local/bin/node-executable", - "base": ["dev", "kilt_rococo", "spiritnet"], + "base": ["dev", "/node/dev-specs/kilt-parachain/peregrine-kilt.json", "spiritnet"], }, "kylin": { "image": "kylinnetworks/kylin-collator:ro-v0.9.30", From 5b6cd1a3bc5274806c583668819436b34a0621a6 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Wed, 15 Nov 2023 17:05:14 +0530 Subject: [PATCH 4/6] fix: karura mainnet node run fix --- package_io/constant.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_io/constant.star b/package_io/constant.star index bdc2f0b..4df38d3 100644 --- a/package_io/constant.star +++ b/package_io/constant.star @@ -5,7 +5,7 @@ CURL_JQ_IMAGE = "badouralix/curl-jq" NODE_IMAGE = "node:21.1" PARA_SLOT_REGISTER_SERVICE_NAME = "para-slot-registration" BINARY_COMMAND_CHAINS = ["manta", "khala", "phala"] -NO_WS_PORT = ["acala", "frequency", "moonbeam"] +NO_WS_PORT = ["acala", "frequency", "moonbeam", "karura"] DIFFERENT_IMAGES_FOR_MAINNET = { "centrifuge": "centrifugeio/centrifuge-chain:main-latest", From 4c98b3699cd11c9ad05bc501030587d4a8c938c6 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Wed, 15 Nov 2023 17:12:52 +0530 Subject: [PATCH 5/6] fix: karura testnet node run fix --- package_io/constant.star | 1 + 1 file changed, 1 insertion(+) diff --git a/package_io/constant.star b/package_io/constant.star index 4df38d3..e57a69a 100644 --- a/package_io/constant.star +++ b/package_io/constant.star @@ -15,6 +15,7 @@ DIFFERENT_IMAGES_FOR_MAINNET = { DIFFERENT_IMAGES_FOR_TESTNET = { "frequency": "frequencychain/parachain-node-rococo", "centrifuge": "centrifugeio/centrifuge-chain:main-latest", + "karura": "acala/mandala-node:latest" } CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc"] From ca242097d3db3e1f8ea758aa1ed4619204bd6127 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Wed, 15 Nov 2023 17:21:16 +0530 Subject: [PATCH 6/6] fix: fix testnet and mainnet node run fail for parachains --- local.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local.json b/local.json index 1cb471f..7dbadbe 100644 --- a/local.json +++ b/local.json @@ -1,7 +1,7 @@ { - "chain-type": "testnet", + "chain-type": "mainnet", "relaychain": { - "name": "rococo", + "name": "polkadot", "nodes": [ { "name": "alice", @@ -17,7 +17,7 @@ }, "para": { - "bifrost": { + "kilt-spiritnet": { "nodes": [ { "name": "alice",