Skip to content

Commit

Permalink
fix idl
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Jan 15, 2025
1 parent 554df9f commit e9075b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions programs/jit-proxy/src/instructions/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use drift::math::casting::Cast;
use drift::math::safe_math::SafeMath;
use drift::program::Drift;
use drift::state::order_params::OrderParams;
use drift::state::perp_market_map::{get_writable_perp_market_set, PerpMarketMap};
use drift::state::perp_market_map::PerpMarketMap;
use drift::state::spot_market_map::SpotMarketMap;
use drift::state::state::State;
use drift::state::swift_user::SwiftUserOrdersLoader;
Expand Down Expand Up @@ -135,7 +135,7 @@ pub fn jit_swift<'c: 'info, 'info>(
mut oracle_map,
} = load_maps(
remaining_accounts_iter,
&get_writable_perp_market_set(taker_order.market_index),
&BTreeSet::new(),
&BTreeSet::new(),
slot,
None,
Expand Down
10 changes: 0 additions & 10 deletions ts/sdk/src/types/jit_proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ export type JitProxy = {
name: 'driftProgram';
isMut: false;
isSigner: false;
},
{
name: 'ixSysvar';
isMut: false;
isSigner: false;
}
];
args: [
Expand Down Expand Up @@ -481,11 +476,6 @@ export const IDL: JitProxy = {
isMut: false,
isSigner: false,
},
{
name: 'ixSysvar',
isMut: false,
isSigner: false,
},
],
args: [
{
Expand Down

0 comments on commit e9075b2

Please sign in to comment.