Skip to content

Commit 2f4ad4e

Browse files
authored
fix: usdt-spot price lookup (#1868)
1 parent b9cd5a0 commit 2f4ad4e

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

api/coingecko.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ async function resolvePriceBySymbol(params: {
289289
}
290290

291291
const symbol = String(
292-
redirectedLookupSymbols[_symbol.toLowerCase()] ??
293-
TOKEN_EQUIVALENCE_REMAPPING[_symbol.toLowerCase()] ??
292+
redirectedLookupSymbols[_symbol.toUpperCase()] ??
293+
TOKEN_EQUIVALENCE_REMAPPING[_symbol.toUpperCase()] ??
294294
_symbol
295295
).toUpperCase();
296296

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"license": "AGPL-3.0-only",
66
"dependencies": {
7-
"@across-protocol/constants": "^3.1.77",
7+
"@across-protocol/constants": "^3.1.80",
88
"@across-protocol/contracts": "^4.1.9",
99
"@across-protocol/contracts-v4.1.1": "npm:@across-protocol/contracts@4.1.1",
1010
"@across-protocol/sdk": "^4.3.67",

yarn.lock

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,11 @@
1616
"@uma/common" "^2.17.0"
1717
hardhat "^2.9.3"
1818

19-
"@across-protocol/constants@^3.1.69", "@across-protocol/constants@^3.1.77":
20-
version "3.1.77"
21-
resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.77.tgz#0d57db8676a7eaf4541b2cc9143d95e8d753c0af"
22-
integrity sha512-zRRTFAKhLgAA1QBJsbG5KautFczW0NV0N2hPW8dIn3cyC+pvYBU8FBb3gQ2Vp9b++kg1Gk1rSpMVMKKnjUBtOA==
23-
24-
"@across-protocol/constants@^3.1.78":
25-
version "3.1.79"
26-
resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.79.tgz#674363af1e5ee177ad8962c7dec075b21c14e222"
27-
integrity sha512-7CnAkskCXCcEWNJrOC6xDzO6bfJXdNrzVfNsBsVvUGMPBn144yuBYwnLb0uIaYdZB6fX1O8bHqWsLxPxVTMx8A==
28-
19+
"@across-protocol/constants@^3.1.69", "@across-protocol/constants@^3.1.77", "@across-protocol/constants@^3.1.78", "@across-protocol/constants@^3.1.80":
20+
version "3.1.80"
21+
resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.80.tgz#a1515f9c8ca19a5a7c2e709da08c1d1f3ac01b28"
22+
integrity sha512-/MtvKygLNoxTFAIOU6FmR4TeEeueL1hyoWit9BtL0RVyXZ1h3zvNr58TYxcoXIFF8Vb+yizyACX32b+bdk7fGg==
23+
2924
"@across-protocol/contracts-v4.1.1@npm:@across-protocol/contracts@4.1.1":
3025
version "4.1.1"
3126
resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-4.1.1.tgz#91c8e0fc867911a17f21b2d79d586f95417cb912"

0 commit comments

Comments
 (0)