-
Notifications
You must be signed in to change notification settings - Fork 2
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
test: add incomplete tests #90
Conversation
Wanted to check events with args on:
but this is failing as |
This comment was marked as outdated.
This comment was marked as outdated.
toETHNumber( | ||
meTokenDetails.balanceLocked.sub(newMeTokenDetails.balanceLocked) | ||
) | ||
).to.be.approximately(lockedAmount, 1e-13); |
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.
@carlfarterson @zgorizzo69 here the precision is lesser than usual, 1e-15. As these calculations don't require a timestamp, I am not sure why there is less precision.
Note: when this file is tested separately the calculations are exactly matching.
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.
indeed I am able to reproduce
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.
Thoughts on why this is failing? @zgorizzo69 ?
5aec6bf
to
6df2ee0
Compare
@carlfarterson @zgorizzo69 this can be merged now |
toETHNumber( | ||
meTokenDetails.balanceLocked.sub(newMeTokenDetails.balanceLocked) | ||
) | ||
).to.be.approximately(lockedAmount, 1e-13); |
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.
indeed I am able to reproduce
No description provided.