-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Apollo liquidation logic (#1046)
* Changing logic for Liquidate extrinsic in order to ensure total liquidity does not get changed, and writing additional test along with adjusting previous one tied to it * New extrinsic for editing pool info * Fixing previous benchmarks, adding new benchmarks and adding new tests for edit_pool_info extrinsic * Fixing clippy errors * minor format fix * Optimizing number of reads in liquidate extrinsic, fixing typos, and fixing the event in repay function
- Loading branch information
Showing
5 changed files
with
595 additions
and
71 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
Oops, something went wrong.