Skip to content

Commit

Permalink
fix: centrifuge testnet (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk authored Nov 29, 2023
1 parent 5944892 commit 54ce67f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package_io/constant.star
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ 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", "clover"]
NO_WS_PORT = ["acala", "frequency", "moonbeam", "karura", "ajuna", "bajun", "centrifuge", "moonsama", "encointer", "moonriver"]
NO_WS_PORT = ["acala", "frequency", "moonbeam", "karura", "ajuna", "bajun", "centrifuge", "moonsama", "encointer", "moonriver", "altair"]

DIFFERENT_IMAGES_FOR_MAINNET = {
"centrifuge": "centrifugeio/centrifuge-chain:main-latest",
"altair": "centrifugeio/centrifuge-chain:main-latest",
"frequency": "frequencychain/parachain-node-mainnet",
"acala": "acala/acala-node:latest",
}
Expand All @@ -17,7 +18,8 @@ DIFFERENT_IMAGES_FOR_TESTNET = {
"centrifuge": "centrifugeio/centrifuge-chain:main-latest",
"karura": "acala/mandala-node:latest",
"clover": "cloverio/clover-iris:0.1.15",
"subsocial": "dappforce/subsocial-parachain:latest"
"subsocial": "dappforce/subsocial-parachain:latest",
"altair": "centrifugeio/centrifuge-chain:main-latest",
}

CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc", "polkadex"]
CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc", "polkadex", "centrifuge", "altair"]
3 changes: 3 additions & 0 deletions parachain/parachain.star
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ def run_testnet_mainnet(plan, args, parachain):
"--unsafe-rpc-external",
"--unsafe-ws-external",
]

if parachain == "altair" or "centrifuge":
common_command = common_command + ["--database=auto"]
parachain_info = {parachain: {}}
para_nodes = args["para"][parachain_config]["nodes"]
for node in para_nodes:
Expand Down

0 comments on commit 54ce67f

Please sign in to comment.