diff --git a/package.json b/package.json index c49b59a..4f4c286 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@1inch/multicall", - "version": "1.0.1", + "version": "1.0.2", "description": "High-weight optimized call-processor", "repository": { "type": "git", diff --git a/src/multicall.service.ts b/src/multicall.service.ts index 6aa56dd..b3d4587 100644 --- a/src/multicall.service.ts +++ b/src/multicall.service.ts @@ -106,6 +106,8 @@ export class MultiCallService { return newResults; } + params.maxChunkSize = newMaxChunkSize; + if (newMaxChunkSize === 0) { throw new Error('multicall: exceeded chunks split'); }