From 25cb2c70a6ba0e558fb8e787006347b77ac40d45 Mon Sep 17 00:00:00 2001 From: Ankur Banerjee Date: Wed, 13 Mar 2024 12:17:28 +0000 Subject: [PATCH] build: Fix Polygon RPC URL https://rpc-mumbai.maticvigil.com is now deprecated --- docker/Dockerfile | 2 +- src/types/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e992bd46..e3c18587 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -74,7 +74,7 @@ ARG LOG_LEVEL=info # Verida connector: build-time ARG ENABLE_VERIDA_CONNECTOR=false ARG VERIDA_NETWORK=testnet -ARG POLYGON_RPC_URL=https://rpc-mumbai.maticvigil.com +ARG POLYGON_RPC_URL=https://rpc.ankr.com/polygon_mumbai ARG VERIDA_PRIVATE_KEY ARG POLYGON_PRIVATE_KEY ARG ENABLE_ACCOUNT_TOPUP=false diff --git a/src/types/constants.ts b/src/types/constants.ts index 6399c57c..e5cf76eb 100644 --- a/src/types/constants.ts +++ b/src/types/constants.ts @@ -62,7 +62,7 @@ export const VC_REMOVE_ORIGINAL_FIELDS = true; export const CORS_ERROR_MSG = 'The CORS policy for this site does not allow access from the specified Origin.'; // Verida -export const POLYGON_RPC_URL = 'https://rpc-mumbai.maticvigil.com'; +export const POLYGON_RPC_URL = 'https://rpc.ankr.com/polygon_mumbai'; export const VERIDA_APP_NAME = 'Cheqd Verida Connector'; // Schema to store a Verifiable Credential on the Verida Network. export const VERIDA_CREDENTIAL_RECORD_SCHEMA = 'https://common.schemas.verida.io/credential/base/v0.2.0/schema.json';