Skip to content

Commit 91a71c1

Browse files
committed
fix: disable gas limits
1 parent 2fc8a04 commit 91a71c1

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/sdk/accounts/CreditAccountsService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class CreditAccountsService extends SDKConstruct {
216216
},
217217
],
218218
allowFailure: false,
219-
gas: 550_000_000n,
219+
// gas: 550_000_000n,
220220
batchSize: 0, // we cannot have price updates and compressor request in different batches
221221
blockNumber,
222222
});
@@ -711,7 +711,7 @@ export class CreditAccountsService extends SDKConstruct {
711711
},
712712
],
713713
allowFailure: false,
714-
gas: 550_000_000n,
714+
// gas: 550_000_000n,
715715
batchSize: 0, // we cannot have price updates and compressor request in different batches
716716
blockNumber,
717717
});

src/sdk/market/MarketRegister.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class MarketRegister extends SDKConstruct {
169169
},
170170
],
171171
allowFailure: false,
172-
gas: 550_000_000n,
172+
// gas: 550_000_000n,
173173
batchSize: 0, // we cannot have price updates and compressor request in different batches
174174
});
175175
markets = resp.pop() as MarketData[];
@@ -179,8 +179,7 @@ export class MarketRegister extends SDKConstruct {
179179
address: marketCompressorAddress,
180180
functionName: "getMarkets",
181181
args: [this.#marketFilter],
182-
// @ts-ignore
183-
gas: 550_000_000n,
182+
// gas: 550_000_000n,
184183
});
185184
}
186185

@@ -213,7 +212,7 @@ export class MarketRegister extends SDKConstruct {
213212
...multicalls.map(mc => mc.call),
214213
],
215214
allowFailure: false,
216-
gas: 550_000_000n,
215+
// gas: 550_000_000n,
217216
batchSize: 0, // we cannot have price updates and compressor request in different batches
218217
});
219218
const oraclesStates = resp.slice(txs.length);

src/sdk/market/pricefeeds/PriceFeedsRegister.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export class PriceFeedRegister
229229
],
230230
// It's passed as ...rest in viem readContract action, but this might change
231231
// @ts-ignore
232-
gas: 500_000_000n,
232+
// gas: 500_000_000n,
233233
});
234234
this.logger?.debug(`loaded ${result.length} updatable price feeds`);
235235
return result;

0 commit comments

Comments
 (0)