From ced8c6852d6c0b4d8be1e2fbd34ac4f55882ba82 Mon Sep 17 00:00:00 2001 From: JordyRo1 Date: Wed, 1 Nov 2023 16:12:22 +0100 Subject: [PATCH] fix: useless starknet::Store removed --- src/entry/structs.cairo | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/entry/structs.cairo b/src/entry/structs.cairo index 9e77d354..18f8efa2 100644 --- a/src/entry/structs.cairo +++ b/src/entry/structs.cairo @@ -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, @@ -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, @@ -253,7 +253,6 @@ impl SpotPartialOrd of PartialOrd { } impl FuturePartialOrd of PartialOrd { - #[inline(always)] fn le(lhs: FutureEntry, rhs: FutureEntry) -> bool { lhs.price <= rhs.price }