Skip to content

Commit

Permalink
Reset reserves error margin after each handler call
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek105 committed Jan 6, 2024
1 parent b209d3a commit 9b52f52
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ abstract contract BaseHandler is Test {
}

// reset the reserves before each action
increaseInReserves = 0;
decreaseInReserves = 0;
increaseInReserves = 0;
decreaseInReserves = 0;
reservesErrorMargin = 0;
// record reserves before each action
previousReserves = _getReservesInfo().reserves;

Expand Down

0 comments on commit 9b52f52

Please sign in to comment.