diff --git a/js/src/dapps/basiccoin/services.js b/js/src/dapps/basiccoin/services.js index 4aed4199f..f18470b64 100644 --- a/js/src/dapps/basiccoin/services.js +++ b/js/src/dapps/basiccoin/services.js @@ -105,7 +105,7 @@ export function attachInstances () { ]) .then(([registryAddress, netChain]) => { const registry = api.newContract(abis.registry, registryAddress).instance; - isTest = netChain === 'morden' || netChain === 'testnet'; + isTest = netChain === 'ropsten' || netChain === 'morden' || netChain === 'testnet'; console.log(`contract was found at registry=${registryAddress}`); console.log(`running on ${netChain}, isTest=${isTest}`); diff --git a/js/src/redux/providers/status.js b/js/src/redux/providers/status.js index 9f47517f5..8e0fa912e 100644 --- a/js/src/redux/providers/status.js +++ b/js/src/redux/providers/status.js @@ -109,7 +109,7 @@ export default class Status { this._api.eth.syncing() ]) .then(([clientVersion, coinbase, defaultExtraData, extraData, gasFloorTarget, hashrate, minGasPrice, netChain, netPeers, netPort, nodeName, rpcSettings, syncing, traceMode]) => { - const isTest = netChain === 'morden' || netChain === 'testnet'; + const isTest = netChain === 'ropsten' || netChain === 'morden' || netChain === 'testnet'; this._store.dispatch(statusCollection({ clientVersion, diff --git a/js/src/redux/providers/statusReducer.js b/js/src/redux/providers/statusReducer.js index 98bb536ae..f33506dd7 100644 --- a/js/src/redux/providers/statusReducer.js +++ b/js/src/redux/providers/statusReducer.js @@ -30,7 +30,7 @@ const initialState = { gasFloorTarget: new BigNumber(0), hashrate: new BigNumber(0), minGasPrice: new BigNumber(0), - netChain: 'morden', + netChain: 'ropsten', netPeers: { active: new BigNumber(0), connected: new BigNumber(0), diff --git a/js/src/views/Signer/components/Account/AccountLink/AccountLink.js b/js/src/views/Signer/components/Account/AccountLink/AccountLink.js index 4e3c0a0a9..a50889a5d 100644 --- a/js/src/views/Signer/components/Account/AccountLink/AccountLink.js +++ b/js/src/views/Signer/components/Account/AccountLink/AccountLink.js @@ -57,7 +57,7 @@ export default class AccountLink extends Component { } updateLink (address, chain) { - const link = addressLink(address, chain === 'morden' || chain === 'testnet'); + const link = addressLink(address, chain === 'ropsten' || chain === 'morden' || chain === 'testnet'); this.setState({ link diff --git a/js/src/views/Signer/components/TxHashLink/TxHashLink.js b/js/src/views/Signer/components/TxHashLink/TxHashLink.js index 3ee0538d4..dd6b04f4c 100644 --- a/js/src/views/Signer/components/TxHashLink/TxHashLink.js +++ b/js/src/views/Signer/components/TxHashLink/TxHashLink.js @@ -32,7 +32,7 @@ export default class TxHashLink extends Component { return ( { children || txHash }