diff --git a/data/networks.json b/data/networks.json index 04a0e965aa..0762ea0c2c 100644 --- a/data/networks.json +++ b/data/networks.json @@ -27,7 +27,7 @@ "cosmos-hub-mainnet": { "id": "cosmos-hub-mainnet", "title": "Cosmos Hub", - "chain_id": "cosmoshub-2", + "chain_id": "cosmoshub-3", "rpc_url": "wss://rpc.nylira.net/websocket", "api_url": "https://lcd.nylira.net", "bech32_prefix": "cosmos", diff --git a/lib/apollo.js b/lib/apollo.js index 0965cf9835..4b2f695bde 100644 --- a/lib/apollo.js +++ b/lib/apollo.js @@ -28,7 +28,7 @@ const store = mapValues(networks, network => new BlockStore(network)) function startBlockHandlers() { new CosmosNodeSubscription( networks['cosmos-hub-mainnet'], - CosmosV0API, + CosmosV2API, store['cosmos-hub-mainnet'] ) new CosmosNodeSubscription( @@ -60,7 +60,7 @@ function startBlockHandlers() { // from the node and also from the local store. function createDataSources() { const dataSources = { - CosmosHubMainnetAPI: new CosmosV0API(networks['cosmos-hub-mainnet']), + CosmosHubMainnetAPI: new CosmosV2API(networks['cosmos-hub-mainnet']), CosmosHubTestnetAPI: new CosmosV2API(networks['cosmos-hub-testnet']), RegenTestnetAPI: new RegenV0API(networks['regen-testnet']), TerraTestnetAPI: new TerraV3API(networks['terra-testnet']),