Skip to content

bug: derive block gas limit from RPC to prevent erroneous filling of block during simulation #9752

Open
@zerosnacks

Description

@zerosnacks

Component

Forge, Anvil

Describe the feature you would like

Related: #9723 / #9723 (comment)

It appears we currently do not estimate / update the gas limit specified by the RPC during simulation which can result in a situation where the filler puts too many transactions into a block during simulation before rolling over to the next

The expected behavior should be that forge script correctly listens to the gas limit indicated by the RPC (Anvil) and Anvil should correctly set its gas limit based on the fork.

Additional context

No response

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