Merge pull request #23 from poanetwork/goerli
Change not working RPC endpoint for Goerli
This commit is contained in:
commit
daa90360e3
|
@ -23,7 +23,7 @@ function getRPCEndpoints(network) {
|
||||||
case RINKEBY_CODE:
|
case RINKEBY_CODE:
|
||||||
return ['https://rinkeby.infura.io/']
|
return ['https://rinkeby.infura.io/']
|
||||||
case GOERLI_CODE:
|
case GOERLI_CODE:
|
||||||
return ['https://goerli.blockscout.com/']
|
return ['https://rpc.slock.it/goerli/']
|
||||||
case KOVAN_CODE:
|
case KOVAN_CODE:
|
||||||
return ['https://kovan.infura.io/']
|
return ['https://kovan.infura.io/']
|
||||||
case SOKOL_CODE:
|
case SOKOL_CODE:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "eth-net-props",
|
"name": "eth-net-props",
|
||||||
"version": "1.0.23",
|
"version": "1.0.24",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "eth-net-props",
|
"name": "eth-net-props",
|
||||||
"version": "1.0.23",
|
"version": "1.0.24",
|
||||||
"description": "Get properties of EMV-based network",
|
"description": "Get properties of EMV-based network",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -235,7 +235,7 @@ describe('eth-net-props', () => {
|
||||||
const GoerliRPCEndpoints = RPCEndpoints.getRPCEndpoints(5)
|
const GoerliRPCEndpoints = RPCEndpoints.getRPCEndpoints(5)
|
||||||
assert.equal(GoerliRPCEndpoints.length, 1)
|
assert.equal(GoerliRPCEndpoints.length, 1)
|
||||||
if (GoerliRPCEndpoints.length > 0) {
|
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`, () => {
|
it(`${claimPrefix} Ethereum Classic`, () => {
|
||||||
|
|
Loading…
Reference in New Issue