Skip to content

Commit

Permalink
refactor: add starknet::Store
Browse files Browse the repository at this point in the history
  • Loading branch information
detectivekim committed Jun 27, 2024
1 parent e9d84f6 commit 4ac3269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alexandria/i257.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use core::ops::RemAssign;
// i257 represents a 129-bit integer.
// The abs field holds the absolute value of the integer.
// The is_negative field is true for negative integers, and false for non-negative integers.
#[derive(Serde, Copy, Drop, Hash)]
#[derive(Serde, Copy, Drop, Hash, starknet::Store)]
pub struct i257 {
abs: u256,
is_negative: bool,
Expand Down

0 comments on commit 4ac3269

Please sign in to comment.