Skip to content

Commit

Permalink
#212 - update injective endpoint to point to general grpc instead of …
Browse files Browse the repository at this point in the history
…k8s cluster (#214)
  • Loading branch information
sebastianscatularo authored Jun 26, 2023
1 parent 1345510 commit 8adc1dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,15 +722,15 @@ export const APTOS_NATIVE_TOKEN_KEY = "0x1::aptos_coin::AptosCoin";

export const getInjectiveNetworkName = () => {
if (CLUSTER === "mainnet") {
return Network.MainnetK8s;
return Network.Mainnet;
} else if (CLUSTER === "testnet") {
return Network.TestnetK8s;
}
throw Error("Unsupported injective network");
};
export const getInjectiveNetwork = () => {
if (CLUSTER === "mainnet") {
return Network.MainnetK8s;
return Network.Mainnet;
} else if (CLUSTER === "testnet") {
return Network.TestnetK8s;
}
Expand All @@ -739,7 +739,7 @@ export const getInjectiveNetwork = () => {

export const getInjectiveNetworkInfo = () => {
if (CLUSTER === "mainnet") {
return getNetworkInfo(Network.MainnetK8s);
return getNetworkInfo(Network.Mainnet);
} else if (CLUSTER === "testnet") {
return getNetworkInfo(Network.TestnetK8s);
}
Expand Down

0 comments on commit 8adc1dd

Please sign in to comment.