Skip to content

DataKey enum is missing a Debug derive #13

Description

@presidojay1

DataKey only derives Clone, while every other #[contracttype] in the file (TicketStatus, Event, Ticket) derives Debug as well. This makes DataKey awkward to inspect in test failures or log output compared to the rest of the codebase's types.

Suggested fix: Change #[derive(Clone)] to #[derive(Clone, Debug)] on the DataKey enum.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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