diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ebf4857a..efaf04f6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Features +- program: add bit_flags to liquidation record [#2053](https://github.com/drift-labs/protocol-v2/pull/2053) + ### Fixes - sdk: fix for initializing a new user account with a token2022 deposit diff --git a/programs/drift/src/state/events.rs b/programs/drift/src/state/events.rs index 797458fbb..6dc7ff3ee 100644 --- a/programs/drift/src/state/events.rs +++ b/programs/drift/src/state/events.rs @@ -441,6 +441,7 @@ pub struct LiquidationRecord { pub liquidate_perp_pnl_for_deposit: LiquidatePerpPnlForDepositRecord, pub perp_bankruptcy: PerpBankruptcyRecord, pub spot_bankruptcy: SpotBankruptcyRecord, + pub bit_flags: u8, } #[derive(Clone, Copy, BorshSerialize, BorshDeserialize, PartialEq, Eq, Default)]