diff --git a/packages/contracts/src/addresses.ts b/packages/contracts/src/addresses.ts index eca6d5c6d..1f377ff3b 100644 --- a/packages/contracts/src/addresses.ts +++ b/packages/contracts/src/addresses.ts @@ -56,6 +56,10 @@ export const contractAddressesByNetwork: ContractAddressesForNetwork = { peggy: '0xF955C57f9EA9Dc8781965FEaE0b6A2acE2BAD6f3', injective: '0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30', }, + [Network.MainnetSentry]: { + peggy: '0xF955C57f9EA9Dc8781965FEaE0b6A2acE2BAD6f3', + injective: '0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30', + }, [Network.Public]: { peggy: '0xF955C57f9EA9Dc8781965FEaE0b6A2acE2BAD6f3', injective: '0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30', diff --git a/packages/networks/src/endpoints.ts b/packages/networks/src/endpoints.ts index 0af16f58d..6f44fe60d 100644 --- a/packages/networks/src/endpoints.ts +++ b/packages/networks/src/endpoints.ts @@ -1,5 +1,15 @@ import { NetworkEndpoints } from './types' +export const endpointsMainnetSentry: NetworkEndpoints = { + indexer: 'https://sentry.exchange.grpc-web.injective.network/', + grpc: 'https://sentry.chain.grpc-web.injective.network/', + rpc: 'https://sentry.tm.injective.network/', + rest: 'https://sentry.lcd.injective.network/', + chronos: 'https://sentry.exchange.grpc-web.injective.network/', + explorer: 'https://sentry.exchange.grpc-web.injective.network/', + cache: 'https://sentry.exchange.grpc-web.injective.network/' +} + export const endpointsMainnetK8s: NetworkEndpoints = { indexer: 'https://k8s.mainnet.exchange.grpc-web.injective.network', grpc: 'https://k8s.mainnet.chain.grpc-web.injective.network', diff --git a/packages/networks/src/network.ts b/packages/networks/src/network.ts index 6a4f49904..7d4a3fc34 100644 --- a/packages/networks/src/network.ts +++ b/packages/networks/src/network.ts @@ -18,6 +18,7 @@ import { endpointsTestnetK8s, endpointsTestnetOld, endpointsMainnetK8s, + endpointsMainnetSentry, endpointsTestnetSentry, } from './endpoints' import { Network, ChainInfo, NetworkEndpoints } from './types' @@ -25,6 +26,7 @@ import { Network, ChainInfo, NetworkEndpoints } from './types' export const networkEndpoints: Record = { [Network.MainnetLB]: endpointsMainnetLB, [Network.MainnetK8s]: endpointsMainnetK8s, + [Network.MainnetSentry]: endpointsMainnetSentry, [Network.Staging]: endpointsStaging, [Network.Mainnet]: endpointsMainnet, [Network.Public]: endpointsPublic, @@ -42,6 +44,7 @@ export const networkEndpoints: Record = { export const chainInfos: Record = { [Network.MainnetLB]: mainnetChainInfo, [Network.MainnetK8s]: mainnetChainInfo, + [Network.MainnetSentry]: mainnetChainInfo, [Network.Staging]: mainnetChainInfo, [Network.Mainnet]: mainnetChainInfo, [Network.Public]: mainnetChainInfo, @@ -83,6 +86,7 @@ export const isMainnet = (network: Network) => Network.Staging, Network.Mainnet, Network.MainnetK8s, + Network.MainnetSentry, Network.Internal, Network.MainnetLB, ].includes(network) diff --git a/packages/networks/src/types.ts b/packages/networks/src/types.ts index c9fc6f93d..d5af6719b 100644 --- a/packages/networks/src/types.ts +++ b/packages/networks/src/types.ts @@ -4,6 +4,7 @@ export enum Network { MainnetK8s = 'mainnetK8s', MainnetLB = 'mainnetLB', Mainnet = 'mainnet', + MainnetSentry = 'mainnetSentry', Staging = 'staging', Public = 'public', Internal = 'internal', // @deprecated diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuctionApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuctionApi.spec.ts index 7258292b0..1c70d10cb 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuctionApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuctionApi.spec.ts @@ -2,7 +2,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { ChainGrpcAuctionTransformer } from '../transformers' import { ChainGrpcAuctionApi } from './ChainGrpcAuctionApi' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcAuctionApi = new ChainGrpcAuctionApi(endpoints.grpc) describe('ChainGrpcAuctionApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuthApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuthApi.spec.ts index c02ef24a0..fa220b9d3 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuthApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcAuthApi.spec.ts @@ -4,7 +4,7 @@ import { mockFactory } from '@injectivelabs/test-utils' import { ChainGrpcAuthTransformer } from '../transformers/ChainGrpcAuthTransformer' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcAuthApi = new ChainGrpcAuthApi(endpoints.grpc) describe('ChainGrpcAuthApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcBankApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcBankApi.spec.ts index 559043738..c0c0ded60 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcBankApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcBankApi.spec.ts @@ -5,7 +5,7 @@ import { ChainGrpcBankTransformer } from '../transformers' import { CosmosBaseV1Beta1Coin } from '@injectivelabs/core-proto-ts' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcBankApi = new ChainGrpcBankApi(endpoints.grpc) describe('ChainGrpcBankApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcDistributionApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcDistributionApi.spec.ts index f66a527e6..4aa35b967 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcDistributionApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcDistributionApi.spec.ts @@ -4,7 +4,7 @@ import { ChainGrpcStakingApi } from './ChainGrpcStakingApi' import { ChainGrpcDistributionTransformer } from '../transformers' import { Delegation, Validator } from '../types' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcDistributionApi = new ChainGrpcDistributionApi(endpoints.grpc) describe('ChainGrpcDistributionApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcExchangeApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcExchangeApi.spec.ts index bd696b1e2..f20971cfd 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcExchangeApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcExchangeApi.spec.ts @@ -6,7 +6,7 @@ import { InjectiveExchangeV1Beta1Query } from '@injectivelabs/core-proto-ts' const injectiveAddress = mockFactory.injectiveAddress const subaccountId = mockFactory.subaccountId -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcExchangeApi = new ChainGrpcExchangeApi(endpoints.grpc) describe('ChainGrpcExchangeApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcGovApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcGovApi.spec.ts index 28a9256b1..1641506ee 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcGovApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcGovApi.spec.ts @@ -4,7 +4,7 @@ import { ChainGrpcGovApi } from './ChainGrpcGovApi' import { ChainGrpcGovTransformer } from '../transformers' import { CosmosGovV1Gov } from '@injectivelabs/core-proto-ts' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcGovApi = new ChainGrpcGovApi(endpoints.grpc) const proposalId = 1 diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcIbcApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcIbcApi.spec.ts index 1629d0e86..b618bb6dd 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcIbcApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcIbcApi.spec.ts @@ -4,7 +4,7 @@ import { sha256 } from '../../../utils/crypto' import { fromUtf8 } from '../../../utils/utf8' import { IbcApplicationsTransferV1Transfer } from '@injectivelabs/core-proto-ts' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcIbcApi = new ChainGrpcIbcApi(endpoints.grpc) describe('ChainGrpcIbcApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcInsuranceFundApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcInsuranceFundApi.spec.ts index e9c6b11fe..97d948f3e 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcInsuranceFundApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcInsuranceFundApi.spec.ts @@ -4,7 +4,7 @@ import { ChainGrpcInsuranceFundTransformer } from '../transformers' import { mockFactory } from '@injectivelabs/test-utils' import { IndexerGrpcDerivativesApi } from '../../indexer' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcIbcApi = new ChainGrpcInsuranceFundApi(endpoints.grpc) const injectiveAddress = mockFactory.injectiveAddress const derivativeMarketId = mockFactory.derivativeMarketId diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcMintApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcMintApi.spec.ts index 3ee3a6139..b886df16b 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcMintApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcMintApi.spec.ts @@ -2,7 +2,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { ChainGrpcMintApi } from './ChainGrpcMintApi' import { ChainGrpcMintTransformer } from '../transformers' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcMintApi = new ChainGrpcMintApi(endpoints.grpc) describe('ChainGrpcMintApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcOracleApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcOracleApi.spec.ts index 114d7cb6c..033922d7b 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcOracleApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcOracleApi.spec.ts @@ -2,7 +2,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { ChainGrpcOracleApi } from './ChainGrpcOracleApi' import { OracleModuleParams } from '../types' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcOracleApi = new ChainGrpcOracleApi(endpoints.grpc) describe('ChainGrpcOracleApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcPeggyApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcPeggyApi.spec.ts index 0f69defd9..86f914762 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcPeggyApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcPeggyApi.spec.ts @@ -2,7 +2,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { ChainGrpcPeggyApi } from './ChainGrpcPeggyApi' import { ChainGrpcPeggyTransformer } from '../transformers' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcPeggyApi = new ChainGrpcPeggyApi(endpoints.grpc) describe('ChainGrpcPeggyApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcStakingApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcStakingApi.spec.ts index 9c40aebe8..2c912d7e1 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcStakingApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcStakingApi.spec.ts @@ -5,7 +5,7 @@ import { ChainGrpcStakingTransformer } from '../transformers' import { Delegation, Validator } from '../types' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcStakingApi = new ChainGrpcStakingApi(endpoints.grpc) describe('ChainGrpcStakingApi', () => { diff --git a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcTokenFactoryApi.spec.ts b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcTokenFactoryApi.spec.ts index 8bb48a937..cb6e3f345 100644 --- a/packages/sdk-ts/src/client/chain/grpc/ChainGrpcTokenFactoryApi.spec.ts +++ b/packages/sdk-ts/src/client/chain/grpc/ChainGrpcTokenFactoryApi.spec.ts @@ -2,7 +2,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { ChainGrpcTokenFactoryApi } from './ChainGrpcTokenFactoryApi' import { ChainGrpcTokenFactoryTransformer } from '../transformers' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcTokenFactoryApi = new ChainGrpcTokenFactoryApi(endpoints.grpc) describe('ChainTokenFactoryApi.spec', () => { diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAccountApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAccountApi.spec.ts index f89b82c62..1167894b2 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAccountApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAccountApi.spec.ts @@ -7,7 +7,7 @@ import { IndexerGrpcAccountApi } from './IndexerGrpcAccountApi' const injectiveAddress = mockFactory.injectiveAddress const subaccountId = getDefaultSubaccountId(injectiveAddress) -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcAccountApi = new IndexerGrpcAccountApi(endpoints.indexer) describe('IndexerGrpcAccountApi', () => { diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAuctionApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAuctionApi.spec.ts index acaea5eac..02fc6cb5d 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAuctionApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcAuctionApi.spec.ts @@ -2,7 +2,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { IndexerGrpcAuctionTransformer } from '../transformers' import { IndexerGrpcAuctionApi } from './IndexerGrpcAuctionApi' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcAuctionApi = new IndexerGrpcAuctionApi(endpoints.indexer) describe('IndexerGrpcAuctionApi', () => { diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcDerivativesApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcDerivativesApi.spec.ts index 588d13566..bcbba974c 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcDerivativesApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcDerivativesApi.spec.ts @@ -6,7 +6,7 @@ import { DerivativeMarket } from '../types' import { IndexerGrpcDerivativesApi } from './IndexerGrpcDerivativesApi' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcDerivativesApi = new IndexerGrpcDerivativesApi( endpoints.indexer, ) diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcExplorerApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcExplorerApi.spec.ts index 964bcf8c8..91e14d10e 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcExplorerApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcExplorerApi.spec.ts @@ -6,7 +6,7 @@ import { ExplorerValidator } from '../types' import { IndexerGrpcExplorerApi } from './IndexerGrpcExplorerApi' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcExplorerApi = new IndexerGrpcExplorerApi(endpoints.indexer) describe('IndexerGrpcExplorerApi', () => { diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcInsuranceFundApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcInsuranceFundApi.spec.ts index 75b069a14..f501e069b 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcInsuranceFundApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcInsuranceFundApi.spec.ts @@ -4,7 +4,7 @@ import { IndexerGrpcInsuranceFundTransformer } from '../transformers' import { IndexerGrpcInsuranceFundApi } from './IndexerGrpcInsuranceFundApi' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcInsuranceFundApi = new IndexerGrpcInsuranceFundApi( endpoints.indexer, ) diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcMetaApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcMetaApi.spec.ts index d2f2caf3f..f8cc6b5d9 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcMetaApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcMetaApi.spec.ts @@ -1,7 +1,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { IndexerGrpcMetaApi } from './IndexerGrpcMetaApi' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcMetaApi = new IndexerGrpcMetaApi(endpoints.indexer) describe('IndexerGrpcMetaApi', () => { diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcOracleApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcOracleApi.spec.ts index e7dd5da3f..a19daa060 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcOracleApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcOracleApi.spec.ts @@ -1,7 +1,7 @@ import { getNetworkEndpoints, Network } from '@injectivelabs/networks' import { IndexerGrpcOracleApi } from './IndexerGrpcOracleApi' -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcOracleApi = new IndexerGrpcOracleApi(endpoints.indexer) describe('IndexerGrpcOracleApi', () => { diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcPortfolioApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcPortfolioApi.spec.ts index 1b5f668a3..17dad7a41 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcPortfolioApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcPortfolioApi.spec.ts @@ -4,7 +4,7 @@ import { IndexerGrpcAccountPortfolioTransformer } from '../transformers' import { IndexerGrpcAccountPortfolioApi } from './IndexerGrpcPortfolioApi' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcPortfolioApi = new IndexerGrpcAccountPortfolioApi( endpoints.indexer, ) diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcSpotApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcSpotApi.spec.ts index f5fd49dc8..2cb136efc 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcSpotApi.spec.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcSpotApi.spec.ts @@ -6,7 +6,7 @@ import { SpotMarket } from '../types' import { IndexerGrpcSpotApi } from './IndexerGrpcSpotApi' const injectiveAddress = mockFactory.injectiveAddress -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const indexerGrpcSpotApi = new IndexerGrpcSpotApi(endpoints.indexer) describe('IndexerGrpcSpotApi', () => { diff --git a/packages/sdk-ts/src/utils/constants.ts b/packages/sdk-ts/src/utils/constants.ts index aa8c1c284..171cafaad 100644 --- a/packages/sdk-ts/src/utils/constants.ts +++ b/packages/sdk-ts/src/utils/constants.ts @@ -19,6 +19,7 @@ export const CW20_ADAPTER_CONTRACT_BY_NETWORK = { [Network.Mainnet]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', [Network.MainnetLB]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', [Network.MainnetK8s]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', + [Network.MainnetSentry]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', [Network.Public]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', [Network.Staging]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', [Network.Internal]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', @@ -36,6 +37,7 @@ export const CW20_SWAP_CONTRACT_BY_NETWORK = { [Network.Mainnet]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', [Network.MainnetLB]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', [Network.MainnetK8s]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', + [Network.MainnetSentry]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', [Network.Public]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', [Network.Staging]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', [Network.Internal]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', @@ -53,6 +55,7 @@ export const INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK = { [Network.Mainnet]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', [Network.MainnetLB]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', [Network.MainnetK8s]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', + [Network.MainnetSentry]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', [Network.Public]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', [Network.Staging]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', [Network.Internal]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', @@ -70,6 +73,7 @@ export const INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK = { [Network.Mainnet]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', [Network.MainnetLB]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', [Network.MainnetK8s]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', + [Network.MainnetSentry]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', [Network.Public]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', [Network.Staging]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', [Network.Internal]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', diff --git a/packages/sdk-ui-ts/src/validators-logo/index.ts b/packages/sdk-ui-ts/src/validators-logo/index.ts index c78cdb611..24dd98bd1 100644 --- a/packages/sdk-ui-ts/src/validators-logo/index.ts +++ b/packages/sdk-ui-ts/src/validators-logo/index.ts @@ -10,7 +10,7 @@ export interface ValidatorMap { [validatorAddress: string]: string | undefined } -const endpoints = getNetworkEndpoints(Network.MainnetK8s) +const endpoints = getNetworkEndpoints(Network.MainnetSentry) const chainGrpcStakingApi = new ChainGrpcStakingApi(endpoints.grpc) const keybaseApi = new HttpRestClient('https://keybase.io/_/api/1.0/')