From 7a81ab9b97badedb437690caba575ba4016d524f Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah <65583522+sarah-thong@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:12:58 +0800 Subject: [PATCH] Activate maintenance page (#267) * Activate maintenance page * Revert maintenance page on Carbon Mainnet * Activate maintenance page on Carbon Testnet * Fix script error --- configs/testnet.json | 3 ++- scripts/check_configs.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/testnet.json b/configs/testnet.json index dcd40f9..8c00a71 100644 --- a/configs/testnet.json +++ b/configs/testnet.json @@ -48,5 +48,6 @@ "content": "Hello World", "hideable": true } - ] + ], + "maintenance": {} } diff --git a/scripts/check_configs.ts b/scripts/check_configs.ts index 12fba2e..8bcc0a7 100644 --- a/scripts/check_configs.ts +++ b/scripts/check_configs.ts @@ -449,7 +449,8 @@ async function main() { if (!ibcBridgeNames.includes("Carbon")) ibcBridgeNames.push("Carbon"); const validTransferOptionChains = sdk.token.getPolynetworkBlockchainNames() .concat(sdk.token.getAxelarBlockchainNames()) - .concat(ibcBridgeNames); + .concat(ibcBridgeNames) + .concat(["Carbon EVM"]); const hasInvalidChains = checkValidEntries(transferOptionsArr, validTransferOptionChains); if (hasInvalidChains.status && hasInvalidChains.entry) {