Skip to content

Validate that no storage variable added on payload #232

@brotherlymite

Description

@brotherlymite

Using ffi we can run forge inspect contractPath:contractName storageLayout and validate on the defaultTest(), that no storage variable has been added on the payload contract, this is critically dangerous as it would mess with the Executor state otherwise - as the payload is called via delegatecall.

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