Skip to content

Commit

Permalink
fix: useless starknet::Store removed
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyRo1 committed Nov 1, 2023
1 parent fb21cac commit ced8c68
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/entry/structs.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const OPTION: felt252 = 'OPTION';
const USD_CURRENCY_ID: felt252 = 'USD';


#[derive(Copy, Drop, Serde, starknet::Store)]
#[derive(Copy, Drop, Serde)]
struct BaseEntry {
timestamp: u64,
source: felt252,
Expand Down Expand Up @@ -150,7 +150,7 @@ struct Checkpoint {
num_sources_aggregated: u32,
}

#[derive(Serde, Drop, Copy, starknet::Store)]
#[derive(Serde, Drop, Copy)]
struct FetchCheckpoint {
pair_id: felt252,
type_of: felt252,
Expand Down Expand Up @@ -253,7 +253,6 @@ impl SpotPartialOrd of PartialOrd<SpotEntry> {
}

impl FuturePartialOrd of PartialOrd<FutureEntry> {
#[inline(always)]
fn le(lhs: FutureEntry, rhs: FutureEntry) -> bool {
lhs.price <= rhs.price
}
Expand Down

0 comments on commit ced8c68

Please sign in to comment.