Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JhChoy committed Jun 17, 2024
1 parent 462b6e4 commit d144fc9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/libraries/order_id.cairo
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use starknet::storage_access::{StorePacking};

const MASK_BOOK_ID: u256 = consteval_int!(2**192);
const MASK_TICK: u256 = consteval_int!(2**32);
const MASK_INDEX: u256 = consteval_int!(2**40);
const MASK_BOOK_ID: u256 = consteval_int!(2 * *192);
const MASK_TICK: u256 = consteval_int!(2 * *32);
const MASK_INDEX: u256 = consteval_int!(2 * *40);

const TWO_POW_72: u256 = consteval_int!(2**72);
const TWO_POW_40: u256 = consteval_int!(2**40);
const TWO_POW_72: u256 = consteval_int!(2 * *72);
const TWO_POW_40: u256 = consteval_int!(2 * *40);

#[derive(Copy, Drop, Serde, Debug)]
pub struct OrderId {
Expand Down

0 comments on commit d144fc9

Please sign in to comment.