From 11cf62558a0405e7c678b868ee2f213f6e4b8a1f Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 26 Jan 2018 15:39:22 +0100 Subject: [PATCH] switch default network to gaia-2 --- README.md | 4 ++-- app/src/main/index.js | 2 +- app/src/renderer/vuex/modules/blockchain.js | 2 +- tasks/testnet.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ab469c2f15..6088d5fd33 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ brew install glide # install gaia go get github.com/cosmos/gaia cd $GOPATH/src/github.com/cosmos/gaia -git checkout v0.4.0 +git checkout v0.5.0 glide install make install ``` @@ -44,7 +44,7 @@ yarn ### Develop -To run on the UI on the default testnet (`gaia-2-dev`): +To run on the UI on the default testnet (`gaia-2`): ```bash $ yarn run testnet ``` diff --git a/app/src/main/index.js b/app/src/main/index.js index fa676452d5..ae7c3f988e 100644 --- a/app/src/main/index.js +++ b/app/src/main/index.js @@ -37,7 +37,7 @@ const NODE = process.env.COSMOS_NODE // this network gets used if none is specified via the // COSMOS_NETWORK env var -let DEFAULT_NETWORK = join(__dirname, '../networks/gaia-2-dev') +let DEFAULT_NETWORK = join(__dirname, '../networks/gaia-2') let networkPath = process.env.COSMOS_NETWORK || DEFAULT_NETWORK let SERVER_BINARY = 'gaia' + (WIN ? '.exe' : '') diff --git a/app/src/renderer/vuex/modules/blockchain.js b/app/src/renderer/vuex/modules/blockchain.js index 81f20f08bb..b6decacd03 100644 --- a/app/src/renderer/vuex/modules/blockchain.js +++ b/app/src/renderer/vuex/modules/blockchain.js @@ -3,7 +3,7 @@ import axios from 'axios' export default ({ commit, node }) => { const state = { urlPrefix: 'https://', - blockchainName: 'gaia-2-dev', + blockchainName: 'gaia-2', urlSuffix: '-node0.testnets.interblock.io', status: {}, abciInfo: {}, diff --git a/tasks/testnet.js b/tasks/testnet.js index 748c6f465f..5ce06b6c83 100644 --- a/tasks/testnet.js +++ b/tasks/testnet.js @@ -15,7 +15,7 @@ async function get (url) { } async function main () { - let network = process.argv[2] || 'gaia-2-dev' + let network = process.argv[2] || 'gaia-2' if (network === 'local') { runDev('./app/networks/local')