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
  • Loading branch information
sebastianscatularo committed Jun 26, 2023
1 parent f7befec commit 99b2a18
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 99b2a18

Please sign in to comment.