Skip to content

fix(lockup): add test of unlocking schedule with termination#188

Closed
telezhnaya wants to merge 1 commit intomasterfrom
olya/test_lockup_termination
Closed

fix(lockup): add test of unlocking schedule with termination#188
telezhnaya wants to merge 1 commit intomasterfrom
olya/test_lockup_termination

Conversation

@telezhnaya
Copy link
Contributor

Closes #187

I also need to rebuild the binary again; I'll do that after we review the test.

I decided to check all that we wanted on one contract instead of 2, it looks simpler for me and it checks the same stuff.

@telezhnaya
Copy link
Contributor Author

I guess it's better to mention the doc in the comments
https://wiki.near.org/getting-started/near-token/lockups#termination-of-vesting
It could be useful for the reader to understand the logic better

Copy link
Contributor

@frol frol left a comment

Choose a reason for hiding this comment

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

@telezhnaya I find this test to be quite hard to follow due to "magical consts"

@ilblackdragon
Copy link
Member

Standard wise, it will be test(lockup) if there is no actual fix in the PR but only tests added.

@telezhnaya
Copy link
Contributor Author

Addressed all the review comments in #191

@telezhnaya telezhnaya closed this Dec 9, 2021
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.

Add test in lockup contract about termination process

3 participants