Skip to content

Commit 8605f61

Browse files
authored
program: add bit_flags in preparation for iso pos (#2053)
* program: add bit_flags in preparation for iso pos * CHANGELOG
1 parent f0fe065 commit 8605f61

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Features
1111

12+
- program: add bit_flags to liquidation record [#2053](https://github.com/drift-labs/protocol-v2/pull/2053)
13+
1214
### Fixes
1315

1416
- sdk: fix for initializing a new user account with a token2022 deposit

programs/drift/src/state/events.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ pub struct LiquidationRecord {
441441
pub liquidate_perp_pnl_for_deposit: LiquidatePerpPnlForDepositRecord,
442442
pub perp_bankruptcy: PerpBankruptcyRecord,
443443
pub spot_bankruptcy: SpotBankruptcyRecord,
444+
pub bit_flags: u8,
444445
}
445446

446447
#[derive(Clone, Copy, BorshSerialize, BorshDeserialize, PartialEq, Eq, Default)]

0 commit comments

Comments
 (0)