Skip to content

Check that updateState function won't pass gas block limit #2

@rubydusa

Description

@rubydusa

The updateState function in RegistryCoordinatorMimic makes a lot of state updates in order to store within all necessary middleware data for signature verificaiton. As operator sets grow, this could potentially approach or exceed block gas limits.

We should test gas usage with different amounts of AVS activity to see if this could realistically pass the gas block limit

  • Write gas test to estimate how gas usage of updateMiddlewareDataHash grows with AVS activity (can be really rough)

If found to be a reasonable concern, consider and plan following solutions:

  • make updates incremental (don't pass all history each time)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions