Skip to content

Commit

Permalink
fix(indexer): fix env var uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Redm4x committed Sep 12, 2024
1 parent 25bd3fc commit 5fb6826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/database/chainDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const chainDefinitions: { [key: string]: ChainDef } = {
code: "akash-testnet",
rpcNodes: ["https://rpc.testnet-02.aksh.pw:443", "https://akash-testnet-rpc.cosmonautstakes.com:443"],
cosmosDirectoryId: "akash",
connectionString: process.env.AkashTestnetDatabaseCS,
connectionString: process.env.AKASH_TESTNET_DATABASE_CS,
genesisFileUrl: "https://raw.githubusercontent.com/akash-network/net/master/testnet-02/genesis.json",
coinGeckoId: "akash-network",
logoUrlSVG: "https://raw.githubusercontent.com/cosmos/chain-registry/master/akash/images/akt.svg",
Expand Down Expand Up @@ -121,7 +121,7 @@ export const chainDefinitions: { [key: string]: ChainDef } = {
code: "akash-sandbox",
rpcNodes: ["https://rpc.sandbox-01.aksh.pw"],
cosmosDirectoryId: "akash",
connectionString: process.env.AkashSandboxDatabaseCS,
connectionString: process.env.AKASH_SANDBOX_DATABASE_CS,
genesisFileUrl: "https://raw.githubusercontent.com/akash-network/net/master/sandbox/genesis.json",
coinGeckoId: "akash-network",
logoUrlSVG: "https://raw.githubusercontent.com/cosmos/chain-registry/master/akash/images/akt.svg",
Expand Down Expand Up @@ -409,4 +409,4 @@ export const chainDefinitions: { [key: string]: ChainDef } = {
}
};

export const activeChain = chainDefinitions[process.env.ActiveChain || "akash"];
export const activeChain = chainDefinitions[process.env.ACTIVE_CHAIN || "akash"];

0 comments on commit 5fb6826

Please sign in to comment.