Skip to content

Commit aef947d

Browse files
authored
Merge pull request #4 from 1inch/feature/fix-chunck-size-reduction
Fix max chunk size
2 parents 546123c + 422ae7a commit aef947d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@1inch/multicall",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "High-weight optimized call-processor",
55
"repository": {
66
"type": "git",

src/multicall.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ export class MultiCallService {
106106
return newResults;
107107
}
108108

109+
params.maxChunkSize = newMaxChunkSize;
110+
109111
if (newMaxChunkSize === 0) {
110112
throw new Error('multicall: exceeded chunks split');
111113
}

0 commit comments

Comments
 (0)