Skip to content

Commit

Permalink
program: bump max sub accounts to 15k
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Oct 21, 2023
1 parent e1c3ef1 commit 072ce7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- program: bump max sub accounts to 15k
- program: user custom margin ratio works with spot ([#633](https://github.com/drift-labs/protocol-v2/pull/633))
- program: add swap price bands ([#611](https://github.com/drift-labs/protocol-v2/pull/611))
- program: add 5min twap price bands to liquidate_perp and liquidate_spot ([#570](https://github.com/drift-labs/protocol-v2/pull/570))
Expand Down
2 changes: 1 addition & 1 deletion programs/drift/src/instructions/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub fn handle_initialize_user(
safe_increment!(state.number_of_sub_accounts, 1);

validate!(
state.number_of_sub_accounts <= 12500,
state.number_of_sub_accounts <= 15000,
ErrorCode::MaxNumberOfUsers
)?;

Expand Down

0 comments on commit 072ce7a

Please sign in to comment.