Fix Fees not being charged on Close {Short, Long}#538
Merged
ControlCplusControlV merged 45 commits intomainfrom Aug 11, 2023
Merged
Fix Fees not being charged on Close {Short, Long}#538ControlCplusControlV merged 45 commits intomainfrom
ControlCplusControlV merged 45 commits intomainfrom
Conversation
jalextowle
reviewed
Jul 28, 2023
jalextowle
reviewed
Jul 28, 2023
jalextowle
reviewed
Jul 28, 2023
jalextowle
reviewed
Jul 28, 2023
Hyperdrive Gas Benchmark
This comment was automatically generated by workflow using github-action-benchmark. |
jalextowle
reviewed
Jul 28, 2023
jalextowle
reviewed
Jul 28, 2023
jalextowle
reviewed
Jul 28, 2023
Collaborator
jalextowle
reviewed
Jul 28, 2023
jrhea
reviewed
Jul 31, 2023
Co-authored-by: Jonny Rhea <5555162+jrhea@users.noreply.github.com>
jalextowle
reviewed
Jul 31, 2023
jalextowle
reviewed
Jul 31, 2023
jalextowle
reviewed
Jul 31, 2023
jalextowle
reviewed
Aug 8, 2023
jalextowle
reviewed
Aug 8, 2023
jalextowle
reviewed
Aug 8, 2023
jalextowle
reviewed
Aug 8, 2023
Contributor
jalextowle
left a comment
There was a problem hiding this comment.
The logic is all there. We need to do a bit more polishing and I'd like to see full logical coverage of the changes made to calculateShortProceeds in the HyperdriveMath unit tests. Once that is done, I'll approve this PR.
jalextowle
reviewed
Aug 8, 2023
jalextowle
approved these changes
Aug 9, 2023
Contributor
jalextowle
left a comment
There was a problem hiding this comment.
LGTM once all of the comments are resolved
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.
Added a fix which takes fees from the
shareProceedswhen closing either a long or a short, along with accompanyingshareReservestests to ensure they are updating properlyThis should address #422 and the issue described there, but I am unsure on my fix so please let me know if there are any issues in my solution/testing