-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove CollateralCurrencyIds from module-cdp-engine (#2096)
* Removed global interest rate in honzon Updated tests and configs accordingly * Changed the method signature of get_interest_rate_per_sec Updated tests accordingly. * Fixed broken test * Replaced the CollateralInterestRateNotSet error with InvalidCollateralType Updated code and tests accordingly * WIP removed CollateralCurrencyIds Now uses CollateralParams to determine valid collateral currencies. * Fixed test, runtimes and benchmarking tests * Fixed test and minor improvements * minor improvement * Addressed some PR review comments Co-authored-by: Roy Yang <roy@laminar.one>
- Loading branch information
Showing
18 changed files
with
223 additions
and
139 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.