Skip to content

Max code size exceeded error #6

@samlaf

Description

@samlaf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions