Skip to content

Use invalid opcode in MinimalForwarder #2864

Closed
@frangio

Description

Since Solidity 0.8.0 assert no longer triggers an invalid opcode, but uses revert. MinimalForwarder should use invalid opcode to consume all gas as a protection for "insufficient gas griefing attack" as described in this article.

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