Skip to content

feat: Make eth_call gas limit configurable #3783

Open
@Theo-

Description

@Theo-

Component

Anvil

Describe the feature you would like

Using a multicall contract to read a lot of data at once is a common use case. Anvil caps the gas limit of eth_call to the maximum gas limit of a block. I'm running into EVM error CallerGasLimitMoreThenBlock when trying to read lots of data from a multicall contract (> 100 calls)

Additional context

For any eth_call, set the gas limit to 18446744073709551615 (the maximum possible value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions