Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max code size exceeded error #6

Open
samlaf opened this issue Mar 4, 2022 · 0 comments
Open

Max code size exceeded error #6

samlaf opened this issue Mar 4, 2022 · 0 comments

Comments

@samlaf
Copy link

samlaf commented Mar 4, 2022

First of all, this no-deploy constructor-based multicall is ingenious! I really like it
But there is one limitation that I have just come across trying to query too big of a multicall. Contracts have a max code size of 24kB, so these static multicalls are also bound by this limitation. Huge multicalls will return

reason: 'processing response error',
code: 'SERVER_ERROR',
body: '{"jsonrpc":"2.0","id":46,"error":{"code":-32000,"message":"max code size exceeded"}}'

I think this should be noted in the README somewhere as a caveat of this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant