Skip to content
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

Early redemption of fully assigned Claims #218

Conversation

neodaoist
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Sep 9, 2023

VAL-869 Early redemption of fully assigned Claims

AC

  • Should be able to redeem a fully assigned Claim before expiry
  • Regression Test – Should not be able to redeem an unassigned or partially assigned Claim before expiry

@neodaoist neodaoist changed the base branch from v1.1.0 to neo/val-1202-set-the-table-of-net-offsetting-positions September 9, 2023 13:48
src/ValoremOptionsClearinghouse.sol Show resolved Hide resolved
@@ -992,20 +992,6 @@ contract ValoremOptionsClearinghouseUnitTest is BaseClearinghouseTest {
vm.stopPrank();
}

function testRevert_redeem_whenClaimTooSoon() public {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test should not go away, but rather be altered to catch the remaining cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It moved to the other 1.1 test file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thinking is it will be cleaner for the auditors to encapsulate all 1.1 functionality in its own test class. Open to otherwise tho.

@neodaoist neodaoist changed the title [WIP] Early redemption of fully assigned Claims Early redemption of fully assigned Claims Sep 9, 2023
@neodaoist neodaoist marked this pull request as ready for review September 9, 2023 17:42
… into neo/val-869-early-redemption-of-fully-assigned-claims
@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

❗ No coverage uploaded for pull request base (neo/val-1202-set-the-table-of-net-offsetting-positions@067d6f8). Click here to learn what that means.
The diff coverage is n/a.

@@                                    Coverage Diff                                    @@
##             neo/val-1202-set-the-table-of-net-offsetting-positions     #218   +/-   ##
=========================================================================================
  Coverage                                                          ?   99.20%           
=========================================================================================
  Files                                                             ?        1           
  Lines                                                             ?      251           
  Branches                                                          ?       41           
=========================================================================================
  Hits                                                              ?      249           
  Misses                                                            ?        0           
  Partials                                                          ?        2           

@neodaoist neodaoist merged commit 73f1522 into neo/val-1202-set-the-table-of-net-offsetting-positions Sep 13, 2023
4 checks passed
@neodaoist neodaoist deleted the neo/val-869-early-redemption-of-fully-assigned-claims branch September 13, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants