From 5340c60ca85f26fd43de9cb9d2164e36cf3e4db9 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 19 Jan 2021 15:13:33 +0300 Subject: [PATCH] Replace Kovan infura endpoint --- helpers/get-rpc-endpoints.js | 2 +- test/test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/get-rpc-endpoints.js b/helpers/get-rpc-endpoints.js index 21ff0ea..b15c98e 100644 --- a/helpers/get-rpc-endpoints.js +++ b/helpers/get-rpc-endpoints.js @@ -25,7 +25,7 @@ function getRPCEndpoints(network) { case GOERLI_CODE: return ['https://rpc.slock.it/goerli/'] case KOVAN_CODE: - return ['https://kovan.infura.io/'] + return ['https://kovan.poa.network/'] case SOKOL_CODE: return ['https://sokol.poa.network/'] case POA_CORE_CODE: diff --git a/test/test.js b/test/test.js index 729d3ae..b890277 100644 --- a/test/test.js +++ b/test/test.js @@ -202,7 +202,7 @@ describe('eth-net-props', () => { const kovanRPCEndpoints = RPCEndpoints.getRPCEndpoints(42) assert.equal(kovanRPCEndpoints.length, 1) if (kovanRPCEndpoints.length > 0) { - assert.equal(kovanRPCEndpoints[0], 'https://kovan.infura.io/') + assert.equal(kovanRPCEndpoints[0], 'https://kovan.poa.network/') } }) it(`${claimPrefix} Ethereum`, () => {