Skip to content

Commit

Permalink
chore(jellyfish): add negative interest rate tests (#1755)
Browse files Browse the repository at this point in the history
<!--  Thanks for sending a pull request! -->
#### What this PR does / why we need it:
Tests the negative interest rate update that was released.

#### Which issue(s) does this PR fixes?:
<!--
(Optional) Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes part of #1749

#### Additional comments?:
I will be pushing smaller changes at a time, while i get reviews on the
work.

TODO: 
- [x]  should take a loan with negative interest rate and accrue DUSD
- [x]  should fully pay back a vault with negative interest rate
- [x] should fully pay back a vault with multiple loans including
negative interest rate loan
- [x] should pay back a vault partially with negative interest rate
- [x] should pay back a vault partially with multiple loans including
negative interest rate loan
  • Loading branch information
DieHard073055 authored Sep 18, 2022
1 parent 86e5e2c commit 856da19
Show file tree
Hide file tree
Showing 6 changed files with 509 additions and 7 deletions.
1 change: 1 addition & 0 deletions apps/rich-list-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ services:
-fortcanningroadheight=11
-fortcanningcrunchheight=12
-fortcanningspringheight=13
-greatworldheight=14
1 change: 1 addition & 0 deletions apps/whale-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ services:
-fortcanningroadheight=11
-fortcanningcrunchheight=12
-fortcanningspringheight=13
-greatworldheight=14
defi-whale:
build:
Expand Down
Loading

0 comments on commit 856da19

Please sign in to comment.