Ropsten chain for beta (#3622)
Former-commit-id: bae5efe71be575f149691e21111260ef6a2694df
This commit is contained in:
parent
bfe513c954
commit
ac331613ab
@ -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}`);
|
||||
|
@ -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,
|
||||
|
@ -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),
|
||||
|
@ -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
|
||||
|
@ -32,7 +32,7 @@ export default class TxHashLink extends Component {
|
||||
|
||||
return (
|
||||
<a
|
||||
href={ txLink(txHash, chain === 'morden' || chain === 'testnet') }
|
||||
href={ txLink(txHash, chain === 'ropsten' || chain === 'morden' || chain === 'testnet') }
|
||||
target='_blank'
|
||||
className={ className }>
|
||||
{ children || txHash }
|
||||
|
Loading…
Reference in New Issue
Block a user