Skip to content

Commit

Permalink
archway mainnet environment fields
Browse files Browse the repository at this point in the history
  • Loading branch information
simke9445 committed Mar 28, 2024
1 parent adb028d commit fb90efd
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions indexers/warp-protocol/src/utils/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,27 +94,12 @@ export class Environment {
}
}

if (chainName === 'osmosis') {
if (process.env.NETWORK === 'mainnet') {
return {
height: 14266867,
timestamp: 1710262192,
};
} else {
// testnet (this is mainnet, switch with testnet data when testnet is added)
return {
height: 14266867,
timestamp: 1710262192,
};
}
}

if (chainName === 'archway') {
// this is testnet, switch with mainnet data when deployed
if (process.env.NETWORK === 'mainnet') {
return {
height: 5159503,
timestamp: 1711559554,
height: 3905130,
timestamp: 1711632224,
};
} else {
return {
Expand Down

0 comments on commit fb90efd

Please sign in to comment.