Skip to content

Commit

Permalink
add #513 to CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Jun 30, 2023
1 parent 53d2bf8 commit 04518c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixes

- program: fix margin calculation of unrealized funding pnl for lps (([#513](https://github.com/drift-labs/protocol-v2/pull/513)))

### Breaking

## [2.32.0] - 2023-06-23
Expand All @@ -33,7 +35,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- ts-sdk: remove user.getSpotTokenAmount as its a duplicate
- ts-sdk: remove RetrySender dependency on Provider (([#497](https://github.com/drift-labs/protocol-v2/pull/497)))


## [2.31.0] - 2023-06-06

### Features
Expand Down
6 changes: 6 additions & 0 deletions sdk/tests/dlob/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ export const mockSpotMarkets: Array<SpotMarketAccount> = [
pubkey: PublicKey.default,
mint: DevnetSpotMarkets[0].mint,
vault: PublicKey.default,
minOrderSize: ZERO,
maxPositionSize: ZERO,
revenuePool: {
scaledBalance: new BN(0),
marketIndex: 0,
Expand Down Expand Up @@ -343,6 +345,8 @@ export const mockSpotMarkets: Array<SpotMarketAccount> = [
scaledBalance: new BN(0),
marketIndex: 0,
},
minOrderSize: ZERO,
maxPositionSize: ZERO,
insuranceFund: {
vault: PublicKey.default,
totalShares: new BN(0),
Expand Down Expand Up @@ -421,6 +425,8 @@ export const mockSpotMarkets: Array<SpotMarketAccount> = [
scaledBalance: new BN(0),
marketIndex: 0,
},
minOrderSize: ZERO,
maxPositionSize: ZERO,
insuranceFund: {
vault: PublicKey.default,
totalShares: new BN(0),
Expand Down

0 comments on commit 04518c6

Please sign in to comment.