Skip to content

fix warning with reinitializer validation annotation #104

@grishasobol

Description

@grishasobol

Could you append annotation "@Custom:oz-upgrades-validate-as-initializer" for your reinitializer functions. Currently we have this warnings:

Note: Reinitializers are not included in validations by default

    lib/symbiotic-core/src/contracts/common/MigratableEntity.sol:47: If you want to validate this function as an initializer, annotate it with '@custom:oz-upgrades-validate-as-initializer'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions