Skip to content

Commit

Permalink
jit: log auction prices
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Jan 24, 2024
1 parent dfb8f3e commit b118db4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions programs/jit-proxy/src/instructions/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ pub fn jit<'info>(ctx: Context<'_, '_, '_, 'info, Jit<'info>>, params: JitParams
slots_left
);

msg!(
"order type {:?} auction start {} auction end {} limit price {}",
taker_order.order_type,
taker_order.auction_start_price,
taker_order.auction_end_price,
taker_order.price
);

let remaining_accounts_iter = &mut ctx.remaining_accounts.iter().peekable();
let AccountMaps {
perp_market_map,
Expand Down

0 comments on commit b118db4

Please sign in to comment.