Skip to content

Commit

Permalink
fix: acala, karura testnet issue
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Feb 8, 2024
1 parent 16f4d4b commit 3594e1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package_io/constant.star
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ DIFFERENT_IMAGES_FOR_TESTNET = {
"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", "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"]
7 changes: 5 additions & 2 deletions parachain/parachain.star
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def run_testnet_mainnet(plan, chain_type, relaychain_name, parachain):

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"]
Expand Down Expand Up @@ -189,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"]
Expand Down

0 comments on commit 3594e1a

Please sign in to comment.