From 0b8d0030ec4e5dab3eca99cad02e3c6e013ab10b Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 2 Jul 2019 18:45:28 +0300 Subject: [PATCH] Change not working RPC endpoint for Goerli --- helpers/get-rpc-endpoints.js | 2 +- package-lock.json | 2 +- package.json | 2 +- test/test.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/get-rpc-endpoints.js b/helpers/get-rpc-endpoints.js index b7eb7fb..967c884 100644 --- a/helpers/get-rpc-endpoints.js +++ b/helpers/get-rpc-endpoints.js @@ -23,7 +23,7 @@ function getRPCEndpoints(network) { case RINKEBY_CODE: return ['https://rinkeby.infura.io/'] case GOERLI_CODE: - return ['https://goerli.blockscout.com/'] + return ['https://rpc.slock.it/goerli/'] case KOVAN_CODE: return ['https://kovan.infura.io/'] case SOKOL_CODE: diff --git a/package-lock.json b/package-lock.json index 068c999..2065824 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "eth-net-props", - "version": "1.0.23", + "version": "1.0.24", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1de5280..f4c6f00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eth-net-props", - "version": "1.0.23", + "version": "1.0.24", "description": "Get properties of EMV-based network", "main": "index.js", "directories": { diff --git a/test/test.js b/test/test.js index 7c0c72d..053a92d 100644 --- a/test/test.js +++ b/test/test.js @@ -235,7 +235,7 @@ describe('eth-net-props', () => { const GoerliRPCEndpoints = RPCEndpoints.getRPCEndpoints(5) assert.equal(GoerliRPCEndpoints.length, 1) if (GoerliRPCEndpoints.length > 0) { - assert.equal(GoerliRPCEndpoints[0], 'https://goerli.blockscout.com/') + assert.equal(GoerliRPCEndpoints[0], 'https://rpc.slock.it/goerli/') } }) it(`${claimPrefix} Ethereum Classic`, () => {