-
Notifications
You must be signed in to change notification settings - Fork 84
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
✅ Differential Fuzzing Campaign for Linear VRGDA #3
Conversation
numSold = bound(numSold, 0, MAX_SELLABLE); | ||
timeSinceStart = bound(timeSinceStart, 0, MAX_TIMEFRAME); | ||
// Convert to wad days for convenience. | ||
timeSinceStart = (timeSinceStart * 10e18) / 1 days; |
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.
idt this should be 10
timeSinceStart, | ||
numSold | ||
); | ||
assertRelApproxEq(expectedPrice, actualPrice, 0.00001e18); |
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.
test/utils/LibString.sol
Outdated
|
||
/// @notice Efficient library for creating string representations of integers. | ||
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/v7/src/utils/LibString.sol) | ||
library LibString { |
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.
lets get rid of this and use vm.tostring
Add differential fuzzing for linear VRGDA