From b118db428e6b02628997da0888be67560ce1e551 Mon Sep 17 00:00:00 2001 From: Chris Heaney Date: Tue, 23 Jan 2024 22:21:21 -0500 Subject: [PATCH] jit: log auction prices --- programs/jit-proxy/src/instructions/jit.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/programs/jit-proxy/src/instructions/jit.rs b/programs/jit-proxy/src/instructions/jit.rs index f0dac0d..e60657c 100644 --- a/programs/jit-proxy/src/instructions/jit.rs +++ b/programs/jit-proxy/src/instructions/jit.rs @@ -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,