-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
dstarcev
commented
Apr 13, 2017
- Update links to etherscan.io to reflect recent changes (e.g. separate domain for ropsten)
- Remove duplicated code
- Add some tests
It looks like @dstarcev hasn'signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io Once you've signed, plesae reply to this thread with Many thanks, Parity Technologies CLA Bot |
js/src/3rdparty/etherscan/links.js
Outdated
export const url = (isTestnet = false, netVersion = '0') => { | ||
let prefix = ''; | ||
export const url = (isTestnet = false, netVersion = '0', defaultPrefix = '') => { | ||
let prefix = defaultPrefix; | ||
|
||
switch (netVersion) { | ||
case '2': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should remove '2'
completely from this list, I don't know of any working morden explorer and etherscan recently told me they do not plan to maintain one.
3dccf36
to
e229ae5
Compare
I have removed |
Doesn't ETC still use morden as a testnet? |
yeah i think so. |
As @5chdn mentioned, etherscan.io doesn't seem to support morden anymore. https://morden.etherscan.io/ refers to |
It's not about removing the morden testnet but the explorer links (as there is none). |
e229ae5
to
06b41ea
Compare
I have updated the PR as the mainnet network id is actually |
Looks good, tested as well. Just waiting on CLA signoff. |
[clabot:check] |
It looks like @dstarcev signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |