Skip to content

Commit

Permalink
fix: fix issue for robonomics, litentry, acala, karura, kilt testnet …
Browse files Browse the repository at this point in the history
…issues (#203)

* fix: fix issue for robonomics mainnet relay not showing blocks

* fix: fix issue litentry parachain testnet not showing blocks

* fix: kilt issue and acala karura testnet issue

* fix: acala, karura testnet issue

* chore: change base for manta parachain
  • Loading branch information
abhiyana authored Feb 8, 2024
1 parent 056279d commit ffd46a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
12 changes: 6 additions & 6 deletions package_io/constant.star
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"]
8 changes: 7 additions & 1 deletion parachain/parachain.star
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions parachain/static_files/images.star
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit ffd46a9

Please sign in to comment.