Skip to content

Supports public enums #438

@lydiagarms

Description

@lydiagarms

Overview

Currently, we don't even support even public Enums, which is restrictive. We should support public Enums, while still ensuring it is clear that secret Enums are not supported

Tasks

Describe the solution you'd like

  • Remove the current unsupported error message.
  • Create a test contract involving public Enums that interact with secret states.
  • Ensure that this contract runs successfully without any errors.
  • Add in an error message for secret Enums to make clear they are unsupported.
  • Update the documentation, e.g. Status.md to take this change into account.

Definition of done

When is this task complete?
Contracts involving Enums that are public should work.

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