Skip to content

Commit 5fbb872

Browse files
committed
chore: cargo fmt && update Epic 2 status to In Progress (2.4, 2.5 done)
1 parent 3b75188 commit 5fbb872

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use bytemuck::Zeroable;
22
use pinocchio::cpi::{Seed, Signer, invoke_signed};
33
use pinocchio::instruction::{InstructionAccount, InstructionView};
4+
use pinocchio::sysvars::Sysvar;
45
use pinocchio::sysvars::clock::Clock;
56
use pinocchio::sysvars::rent::{ACCOUNT_STORAGE_OVERHEAD, DEFAULT_LAMPORTS_PER_BYTE, Rent};
6-
use pinocchio::sysvars::Sysvar;
77
use pinocchio::{AccountView, Address, ProgramResult};
88
use pinocchio_associated_token_account::instructions::Create as CreateAta;
99

tests/flux_dex_tests.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,10 @@ fn undelegate_orderbook_happy_path() {
14211421
// Verify delegated.
14221422
let market_account = svm.get_account(&market).expect("market must exist");
14231423
let market_state = Market::from_account(&market_account.data).expect("valid market");
1424-
assert!(market_state.is_delegated(), "market must be delegated before undelegate");
1424+
assert!(
1425+
market_state.is_delegated(),
1426+
"market must be delegated before undelegate"
1427+
);
14251428

14261429
// Undelegate.
14271430
let undelegate_ix = undelegate_orderbook_ix(&payer.pubkey(), true, &market, &orderbook);

0 commit comments

Comments
 (0)