From 0d29c8f6333426c323cc20061310227c99e4c395 Mon Sep 17 00:00:00 2001 From: Ajay A Adsule <103304466+AjayAdsule@users.noreply.github.com> Date: Thu, 19 Sep 2024 07:57:27 +0530 Subject: [PATCH] fix: replace deprecated polygon_mumbai with polygon_amoy for network compatibility --- apps/api/.env.example | 4 ++-- libs/utils/src/getSupportedNetworks.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api/.env.example b/apps/api/.env.example index 999cdbfc..66edfa55 100644 --- a/apps/api/.env.example +++ b/apps/api/.env.example @@ -24,10 +24,10 @@ TWITTER_CLIENT_ID= TWITTER_CLIENT_SECRET= # The network name must be the same as the id that appears in the `blockchainCredentialSupportedNetworks` list -# exported from the `@bandada/utils` package but with capital letters. E.g. polygon_mumbai would be POLYGON_MUMBAI. +# exported from the `@bandada/utils` package but with capital letters. E.g. polygon_amoy would be POLYGON_AMOY. SEPOLIA_RPC_URL= -POLYGON_MUMBAI_RPC_URL= +POLYGON_AMOY_RPC_URL= OPTIMISM_SEPOLIA_RPC_URL= ARBITRUM_SEPOLIA_RPC_URL= AVALANCHE_C_CHAIN_FUJI_RPC_URL= diff --git a/libs/utils/src/getSupportedNetworks.ts b/libs/utils/src/getSupportedNetworks.ts index 517818bf..c3fdbf79 100644 --- a/libs/utils/src/getSupportedNetworks.ts +++ b/libs/utils/src/getSupportedNetworks.ts @@ -6,8 +6,8 @@ export const blockchainCredentialSupportedNetworks: BlockchainNetwork[] = [ name: "Sepolia" }, { - id: "polygon_mumbai", - name: "Polygon Mumbai" + id: "polygon_amoy", + name: "Polygon Amoy" }, { id: "optimism_sepolia",