Skip to content

Prod token test: verify beacon implementations have code #38

@thedavidmeister

Description

@thedavidmeister

The beacon implementations (StoxReceipt, StoxReceiptVault, StoxWrappedTokenVault) must have code on-chain. Add a fork test asserting implementation().code.length > 0 for each beacon used by prod tokens.

This would catch an implementation being selfdestructed (post-Cancun this is less likely but still worth verifying).

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