Skip to content

Commit

Permalink
✨ Add option to keep track of event history
Browse files Browse the repository at this point in the history
  • Loading branch information
bal7hazar committed Nov 2, 2024
1 parent 7f3e3cc commit fb0ff09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/trophy/src/events/index.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use bushido_trophy::types::task::Task;

#[derive(Clone, Drop, Serde, Introspect)]
#[dojo::event]
#[dojo::event(historical: true)]
pub struct Trophy {
#[key]
id: felt252,
Expand All @@ -21,7 +21,7 @@ pub struct Trophy {
}

#[derive(Copy, Drop, Serde, Introspect)]
#[dojo::event]
#[dojo::event(historical: true)]
pub struct Progress {
#[key]
player_id: felt252,
Expand Down

0 comments on commit fb0ff09

Please sign in to comment.