-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trst m 14 #982
Conversation
@@ -3248,7 +3249,6 @@ describe(`Recollateralization - P${IMPLEMENTATION}`, () => { | |||
collateral1.address, | |||
collateral0.address, | |||
issueAmount, | |||
config.minTradeVolume, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kind of worried about this change since the function is not edited in this pr, meaning there might have been something wrong with this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol looks like config.minTradeVolume
was set to fp('1e-2')
and config.maxTradeSlippage
set to fp('0.01')
, so we're all good here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also confirmed by hand this test was running properly
lgtm |
A lot of the test changes come from the fact that tests need to both be able to instantiate a new asset (use pre-buffer oracleTimeout) and also need to be able to fast-forward to the end of the oracleTimeout to cause an oracle to become stale. It would be nice to just always read this value off of an asset, but often we're fast forwarding outside of the context of any single asset.