From e1691fd4f962ec53cf68cbad3a79f3b313a7ea7d Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Tue, 28 Nov 2023 17:32:25 +0530 Subject: [PATCH] fix: handle testnet issue for parallel --- package_io/constant.star | 2 +- parachain/parachain.star | 3 +++ parachain/static_files/images.star | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package_io/constant.star b/package_io/constant.star index f10c188..32fcaf7 100644 --- a/package_io/constant.star +++ b/package_io/constant.star @@ -20,4 +20,4 @@ DIFFERENT_IMAGES_FOR_TESTNET = { "subsocial": "dappforce/subsocial-parachain:latest" } -CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc"] +CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc", "polkadex"] diff --git a/parachain/parachain.star b/parachain/parachain.star index 54ab5b1..bd55631 100644 --- a/parachain/parachain.star +++ b/parachain/parachain.star @@ -92,6 +92,9 @@ def run_testnet_mainnet(plan, args, parachain): if parachain in constant.DIFFERENT_IMAGES_FOR_MAINNET: image = constant.DIFFERENT_IMAGES_FOR_MAINNET[parachain] + if base == None: + fail("Tesnet is not there for {}".format(parachain)) + if parachain in constant.NO_WS_PORT: common_command = [ "--chain={0}".format(base), diff --git a/parachain/static_files/images.star b/parachain/static_files/images.star index de361b2..2d04fab 100644 --- a/parachain/static_files/images.star +++ b/parachain/static_files/images.star @@ -78,7 +78,7 @@ parachain_images = { "parallel": { "image": "parallelfinance/parallel:latest", "entrypoint": "/parallel/.entrypoint.sh", - "base": ["kerria-dev", None, "parallel"], + "base": ["parallel-dev", None, "parallel"], }, "pendulum": { "image": "pendulumchain/pendulum-collator:latest", @@ -146,7 +146,7 @@ parachain_images = { "base": ["litmus-dev", "rococo", "litmus"], }, "mangata": { - "image": "mangatasolutions/mangata-node:ci-e2e-jobs-fix-MGX-785-fast", + "image": "mangatasolutions/mangata-node:feature-post-3rdparty-rewards-fast", "entrypoint": "/mangata/node", "base": ["rococo-local", "mangata-rococo", "mangata-kusama"], },