-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(perp): Liquidate calls proper Liquidation method (#676)
* Fix liquidate to select partial liquidations correctly Also changed interface to not accept msg, and have msgServer break down the msg proto * Add Liquidate unit test * Refactor liquidate unit test * Add full liquidation test * Formatting * Refactor tests * Bump cosmos-sdk to v0.45.6 * Change badDebt to sdk.Int * Add full liquidation tests with bad debt * Bump go version to 1.18 * Bump workflows to 1.18 Co-authored-by: Mat-Cosmos <[email protected]>
- Loading branch information
1 parent
060ab8f
commit cca45e4
Showing
7 changed files
with
720 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.