Skip to content

Commit 815fed9

Browse files
committed
fix: fix simulateMulticall batching
1 parent ea00c71 commit 815fed9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/scanner/Scanner.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ export class Scanner {
360360
blockNumber,
361361
allowFailure: false,
362362
gas: 550_000_000n,
363+
batchSize: 0,
363364
});
364365
result.push(
365366
...(resp.slice(priceUpdates.length) as CreditAccountDataRaw[]),
@@ -387,6 +388,8 @@ export class Scanner {
387388
let mc = await simulateMulticall(this.client.pub, {
388389
blockNumber,
389390
allowFailure: true,
391+
batchSize: 0,
392+
gas: 550_000_000n,
390393
contracts: [
391394
...this.redstone.toDirectMulticallUpdates(priceUpdates),
392395
...accs.map(

0 commit comments

Comments
 (0)