Skip to content

Commit

Permalink
add mainnet config
Browse files Browse the repository at this point in the history
  • Loading branch information
simke9445 committed Apr 1, 2024
1 parent 4a7d031 commit 445e858
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion apps/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@mui/material": "^5.10.2",
"@terra-money/feather.js": "1.0.11",
"@terra-money/wallet-kit": "1.0.11",
"@terra-money/warp-sdk": "^0.2.26",
"@terra-money/warp-sdk": "^0.2.27",
"assert": "^2.0.0",
"big.js": "^6.2.1",
"buffer": "^6.0.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/warp-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@terra-money/feather.js": "1.0.11",
"@terra-money/terra-station-mobile": "1.0.8",
"@terra-money/wallet-kit": "1.0.11",
"@terra-money/warp-sdk": "^0.2.26",
"@terra-money/warp-sdk": "^0.2.27",
"assert": "^2.0.0",
"big.js": "^6.2.1",
"brace": "^0.11.1",
Expand Down
2 changes: 1 addition & 1 deletion indexers/warp-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@aws-sdk/client-dynamodb": "^3.159.0",
"@aws-sdk/util-dynamodb": "^3.159.0",
"@terra-money/feather.js": "1.0.11",
"@terra-money/warp-sdk": "^0.2.26",
"@terra-money/warp-sdk": "^0.2.27",
"@types/node": "^16.11.56",
"axios": "^1.1.2",
"big.js": "^6.2.1",
Expand Down
11 changes: 5 additions & 6 deletions indexers/warp-protocol/src/utils/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,17 @@ export class Environment {
}
}


if (chainName === 'oraichain') {
// TODO: this is placeholder data, fill with real data from controller contract deployments
if (process.env.NETWORK === 'mainnet') {
return {
height: 3905130,
timestamp: 1711632224,
height: 17469400,
timestamp: 1711987779,
};
} else {
// TODO: this is placeholder data, fill with testnet data
return {
height: 5159503,
timestamp: 1711559554,
height: 17469400,
timestamp: 1711987779,
};
}
}
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4346,7 +4346,7 @@ __metadata:
"@mui/material": ^5.10.2
"@terra-money/feather.js": 1.0.11
"@terra-money/wallet-kit": 1.0.11
"@terra-money/warp-sdk": ^0.2.26
"@terra-money/warp-sdk": ^0.2.27
"@testing-library/jest-dom": ^5.16.5
"@testing-library/react": ^13.3.0
"@testing-library/user-event": ^13.5.0
Expand Down Expand Up @@ -4521,9 +4521,9 @@ __metadata:
languageName: node
linkType: hard

"@terra-money/warp-sdk@npm:^0.2.26":
version: 0.2.26
resolution: "@terra-money/warp-sdk@npm:0.2.26"
"@terra-money/warp-sdk@npm:^0.2.27":
version: 0.2.27
resolution: "@terra-money/warp-sdk@npm:0.2.27"
dependencies:
"@terra-money/feather.js": 1.0.11
"@types/node": ^16.11.56
Expand All @@ -4536,7 +4536,7 @@ __metadata:
lodash: ^4.17.21
pino: ^8.4.2
typescript: ^4.8.2
checksum: 14ad43344c61826cccc77be9d074c35da2fc625246613b09e7b918c0ac683b9b2b6951bd7e2cc9bb09d4151d41ecac8f383b5618c5bfdc696517bc3694b0c131
checksum: a640302dc18769eadfec14e45542239ee60c8775c130aa02bb62989e64d19b349cf85e27af9ca4588def13488575e917191620c58c470e445b9d86c67f87d07b
languageName: node
linkType: hard

Expand Down Expand Up @@ -5628,7 +5628,7 @@ __metadata:
"@terra-money/feather.js": 1.0.11
"@terra-money/terra-station-mobile": 1.0.8
"@terra-money/wallet-kit": 1.0.11
"@terra-money/warp-sdk": ^0.2.26
"@terra-money/warp-sdk": ^0.2.27
"@testing-library/jest-dom": ^5.16.5
"@testing-library/react": ^13.3.0
"@testing-library/user-event": ^13.5.0
Expand Down Expand Up @@ -5708,7 +5708,7 @@ __metadata:
"@aws-sdk/client-dynamodb": ^3.159.0
"@aws-sdk/util-dynamodb": ^3.159.0
"@terra-money/feather.js": 1.0.11
"@terra-money/warp-sdk": ^0.2.26
"@terra-money/warp-sdk": ^0.2.27
"@types/d3-array": ^3.0.3
"@types/node": ^16.11.56
axios: ^1.1.2
Expand Down

0 comments on commit 445e858

Please sign in to comment.