Skip to content

Commit f2d263b

Browse files
authored
Wphan/dlp revert builder codes (#1854)
* Revert "Wphan/merge-builder-codes (#1842)" This reverts commit c999f83. * fix conflicts * fix incorrect merges
1 parent cdb37b5 commit f2d263b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+745
-5715
lines changed

CHANGELOG.md

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

2626
### Breaking
2727

28-
## [2.135.0] - 2025-08-22
29-
30-
### Features
31-
32-
### Fixes
33-
34-
- program: trigger price use 5min mark price ([#1830](https://github.com/drift-labs/protocol-v2/pull/1830))
35-
36-
### Breaking
37-
3828
## [2.134.0] - 2025-08-13
3929

4030
### Features

programs/drift/src/controller/liquidation.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,6 @@ pub fn liquidate_perp(
677677
maker_existing_quote_entry_amount: maker_existing_quote_entry_amount,
678678
maker_existing_base_asset_amount: maker_existing_base_asset_amount,
679679
trigger_price: None,
680-
builder_idx: None,
681-
builder_fee: 0,
682680
};
683681
emit!(fill_record);
684682

@@ -1042,7 +1040,6 @@ pub fn liquidate_perp_with_fill(
10421040
clock,
10431041
order_params,
10441042
PlaceOrderOptions::default().explanation(OrderActionExplanation::Liquidation),
1045-
&mut None,
10461043
)?;
10471044

10481045
drop(user);
@@ -1063,8 +1060,6 @@ pub fn liquidate_perp_with_fill(
10631060
None,
10641061
clock,
10651062
FillMode::Liquidation,
1066-
&mut None,
1067-
false,
10681063
)?;
10691064

10701065
let mut user = load_mut!(user_loader)?;

programs/drift/src/controller/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ pub mod pda;
77
pub mod pnl;
88
pub mod position;
99
pub mod repeg;
10-
pub mod revenue_share;
1110
pub mod spot_balance;
1211
pub mod spot_position;
1312
pub mod token;

0 commit comments

Comments
 (0)