Update RSK faucet link

This commit is contained in:
Victor Baranov 2020-03-18 11:30:24 +03:00
parent b0b6803d82
commit d30ef2cd28
4 changed files with 773 additions and 678 deletions

View File

@ -22,7 +22,7 @@ function getFaucetLinks(network) {
case SOKOL_CODE:
return ['https://faucet.poa.network/']
case RSK_TESTNET_CODE:
return ['https://faucet.testnet.rsk.co/']
return ['https://faucet.rsk.co/']
default:
return []
}

1441
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "eth-net-props",
"version": "1.0.31",
"version": "1.0.32",
"description": "Get properties of EMV-based network",
"main": "index.js",
"directories": {
@ -10,11 +10,11 @@
"chai": "^4.2.0"
},
"devDependencies": {
"coveralls": "^3.0.8",
"coveralls": "^3.0.9",
"eslint": "^6.7.0",
"mocha": "^6.2.2",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^14.1.1"
"nyc": "^15.0.0"
},
"homepage": "https://github.com/poanetwork/eth-net-props#readme",
"repository": {

View File

@ -148,7 +148,7 @@ describe('eth-net-props', () => {
const RSKFaucetLinks = faucetLinks.getFaucetLinks(31)
assert.equal(RSKFaucetLinks.length, 1)
if (RSKFaucetLinks.length > 0) {
assert.equal(RSKFaucetLinks[0], 'https://faucet.testnet.rsk.co/')
assert.equal(RSKFaucetLinks[0], 'https://faucet.rsk.co/')
}
})
it(`${claimPrefix} Goerli Testnet`, () => {