diff --git a/package_io/constant.star b/package_io/constant.star index ded48ff..2018aaf 100644 --- a/package_io/constant.star +++ b/package_io/constant.star @@ -5,7 +5,7 @@ CURL_JQ_IMAGE = "badouralix/curl-jq" NODE_IMAGE = "hugobyte/parachain-node-modules" PARA_SLOT_REGISTER_SERVICE_NAME = "para-slot-registration" BINARY_COMMAND_CHAINS = ["manta", "khala", "phala", "clover", "calamari", "subzero", "robonomics"] -WS_PORT = ["robonomics", "parallel", "subsocial", "litmus", "pendulum", "kilt", "litentry", "zeitgeist", "kylin", "subzero", "polkadex", "clover"] +WS_PORT = ["robonomics", "parallel", "subsocial", "litmus", "pendulum", "litentry", "zeitgeist", "kylin", "subzero", "polkadex", "clover"] DIFFERENT_IMAGES_FOR_MAINNET = { "centrifuge": "centrifugeio/centrifuge-chain:main-latest", @@ -16,14 +16,14 @@ DIFFERENT_IMAGES_FOR_MAINNET = { DIFFERENT_IMAGES_FOR_TESTNET = { "frequency": "frequencychain/parachain-node-rococo", "centrifuge": "centrifugeio/centrifuge-chain:main-latest", - "karura": "acala/mandala-node:latest", + "karura": "acala/mandala-node:2.22.0", "clover": "cloverio/clover-iris:0.1.15", "subsocial": "dappforce/subsocial-parachain:latest", "altair": "centrifugeio/centrifuge-chain:main-latest", - "acala": "acala/mandala-node:latest", + "acala": "acala/mandala-node:2.22.0", } -CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc", "polkadex", "centrifuge", "altair", "robonomics", "kilt", "mangata", "litentry", "kylin"] +CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc", "polkadex", "centrifuge", "altair", "robonomics", "kilt", "mangata", "litentry", "kylin", "acala", "karura"] -KUSAMA_PARACHAINS = ["altair", "bajun", "bifrost", "calamari", "encointer", "karura", "khala", "kintsugi-btc", "integritee", "litmus", "mangata", "moonriver", "robonomics", "subzero", "turing"] -POLKADOT_PARACHAINS = ["acala", "ajuna", "bifrost", "centrifuge", "clover", "frequency", "interlay", "kilt", "kylin", "litentry", "manta", "moonbeam", "moonsama", "nodle", "parallel", "pendulum", "phala", "polkadex", "subsocial", "zeitgeist"] +KUSAMA_PARACHAINS = ["altair", "bajun", "bifrost", "calamari", "encointer", "karura", "khala", "kintsugi-btc", "integritee", "litmus", "mangata", "moonriver", "subzero", "turing"] +POLKADOT_PARACHAINS = ["acala", "ajuna", "bifrost", "centrifuge", "clover", "frequency", "interlay", "kilt", "kylin", "litentry", "manta", "moonbeam", "moonsama", "nodle", "parallel", "pendulum", "phala", "polkadex", "subsocial", "zeitgeist", "robonomics"] diff --git a/parachain/parachain.star b/parachain/parachain.star index 3de909a..e2f4240 100644 --- a/parachain/parachain.star +++ b/parachain/parachain.star @@ -155,6 +155,9 @@ def run_testnet_mainnet(plan, chain_type, relaychain_name, parachain): "--unsafe-rpc-external", ] + if chain_type == "testnet" and parachain["name"] == "litentry": + common_command = common_command + ["--bootnodes=/dns/rpc.rococo-parachain.litentry.io/tcp/40333/ws/p2p/12D3KooWD9t5jsf5m2g4acXfyVf2KxR5j11F9SLC5wKhv6JRquyv"] + parachain_info = {parachain["name"]: {}} if parachain["name"] == "altair" or parachain["name"] == "centrifuge": common_command = common_command + ["--database=auto"] @@ -186,7 +189,10 @@ def run_testnet_mainnet(plan, chain_type, relaychain_name, parachain): command = command + ["--validator"] if parachain["name"] in constant.CHAIN_COMMAND: - command = command + ["--", "--chain={0}".format(relaychain_name)] + if parachain["name"] in ["acala", "karura"] and chain_type == "testnet": + command = command + ["--", "--chain={0}".format("/rococo-mandala.json")] + else: + command = command + ["--", "--chain={0}".format(relaychain_name)] if parachain["name"] == "kilt-spiritnet" and chain_type == "testnet": command = command + ["--", "--chain=/node/dev-specs/kilt-parachain/peregrine-relay.json"] diff --git a/parachain/static_files/images.star b/parachain/static_files/images.star index c746561..94c35ef 100644 --- a/parachain/static_files/images.star +++ b/parachain/static_files/images.star @@ -3,7 +3,7 @@ parachain_images = { "acala": { "image": "acala/acala-node:latest", # NO ws port "entrypoint": "/usr/local/bin/acala", - "base": ["acala-local", "mandala-latest", "acala"], + "base": ["acala-local", "/mandala.json", "acala"], }, "ajuna": { "image": "ajuna/parachain-ajuna:latest", @@ -128,7 +128,7 @@ parachain_images = { "karura": { "image": "acala/karura-node:latest", "entrypoint": "/usr/local/bin/acala", - "base": ["karura-local", "mandala-latest", "karura"], + "base": ["karura-local", "/mandala.json", "karura"], }, "khala": { "image": "phalanetwork/khala-node:latest",