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.
DataKeyonly derivesClone, while every other#[contracttype]in the file (TicketStatus,Event,Ticket) derivesDebugas well. This makesDataKeyawkward 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 theDataKeyenum.