Merged
Conversation
b61ac8d to
feba4c9
Compare
610c8c2 to
f73ddb6
Compare
dpaiton
commented
Jun 22, 2024
dpaiton
commented
Jun 22, 2024
f73ddb6 to
800c690
Compare
800c690 to
7a4ceaa
Compare
sentilesdal
reviewed
Jun 25, 2024
Contributor
sentilesdal
left a comment
There was a problem hiding this comment.
shouldnt need to set variable to zero when advancng time.
sentilesdal
approved these changes
Jun 25, 2024
Contributor
sentilesdal
left a comment
There was a problem hiding this comment.
Just add a comment that setting the variable rate to zero is necessary to get the test to pass and that this is very bad and needs to be fixed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolved Issues
Working towards #29
Description
This pulls a bunch of cleanup changes out of #116 to be reviewed independently.
solvency_after_short_derivativeto returnResult<T>instead ofResult<Option<T>>0calculate_absolute_max_shortinstead ofcalculate_max_shortsince the solidity implementation does not consider budgetfuzz_calculate_absolute_max_short_executein favor of a test that does the same but additionally checks that the pool is drained when that absolute max short is executed. It also includes some differential checks for rust vs solidity. This one is now calledfuzz_calculate_max_short_without_budget_then_open_shortSLOW_FUZZ_RUNSconstant for one of the max tests bc it was slow as hell.