Skip to content

Commit c9fb3cf

Browse files
committed
fix: do not ignore updatble prices
1 parent 4c0e0e7 commit c9fb3cf

File tree

3 files changed

+154
-176
lines changed

3 files changed

+154
-176
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"pino-pretty": "^13.1.2"
2222
},
2323
"devDependencies": {
24-
"@aws-sdk/client-s3": "^3.930.0",
24+
"@aws-sdk/client-s3": "^3.931.0",
2525
"@biomejs/biome": "^2.3.5",
2626
"@commander-js/extra-typings": "^14.0.0",
2727
"@commitlint/cli": "^20.1.0",
@@ -30,7 +30,7 @@
3030
"@gearbox-protocol/cli-utils": "^5.59.2",
3131
"@gearbox-protocol/liquidator-contracts": "^1.36.0-experimental.41",
3232
"@gearbox-protocol/liquidator-v2-contracts": "^2.4.0",
33-
"@gearbox-protocol/sdk": "11.1.2",
33+
"@gearbox-protocol/sdk": "11.1.4",
3434
"@gearbox-protocol/types": "^1.14.8",
3535
"@types/node": "^24.10.1",
3636
"@uniswap/sdk-core": "^7.9.0",

src/attachSDK.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ export default async function attachSDK(): Promise<ICreditAccountsService> {
6464
marketConfigurators: config.marketConfigurators,
6565
chainId: config.chainId,
6666
networkType: config.network,
67-
ignoreUpdateablePrices: true, // we'll perform price updates in credit account service calls
67+
// we need prices to calculate things like numsplits
68+
ignoreUpdateablePrices: false,
6869
redstone: {
6970
historicTimestamp: optimisticTimestamp,
7071
gateways: config.redstoneGateways,

0 commit comments

Comments
 (0)