morpho-org / morpho-blue-irm

Morpho Blue Interest Rate Models
https://morpho.org
MIT License
26 stars 17 forks source link

add test for underestimation #97

Closed MathisGD closed 11 months ago

MathisGD commented 11 months ago

https://github.com/morpho-org/morpho-blue-irm/blob/c2b1732fc332d20a001ca505aea76bd475e95ef1/src/AdaptiveCurveIrm.sol#L135-L136

quantify and test this underestimation

Rubilmax commented 11 months ago

Some tests were added in #80 and some other comparison tests were written by @adhusson on the test/rates-test-2 branch

MathisGD commented 11 months ago

indeed

for some reasons i missed this PR