You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the cmkryvesting_tests add an automated test scenario with vesting and lockup together.
The automated test runs in GitHub actions with the other CI tests
Testing Scenario: Vesting & Lockup Together
The employee received a 100 day vesting with a 100 day lockup for 100 tokens.
The start date is set to 50 days ago,
The employee is fired and the remaining vesting is canceled.
The admin reclaims the 50 unvested tokens.
The employee owns 50 tokens but they are still locked until the lockup period is over.
The admin tries to claim the 50 vested employee owned tokens but the reclaim fails.
99 days from the start date the employee tries to transfer 50 tokens but the transfer fails because they are still locked.
100 days from the start date the tokens unlock and the ex-employee transfers their 50 tokens successfully.
Possible additional changes
If it's not possible to set both the Vesting & Lockup at the same as specified in the scenario, modify the contract to be able to set them separately.
The text was updated successfully, but these errors were encountered:
aquabu
changed the title
Add additional spec test
Add additional automated test for Vesting & Lockup Together
Mar 17, 2021
aquabu
changed the title
Add additional automated test for Vesting & Lockup Together
Add additional automated test scenario for Vesting & Lockup Together
Mar 17, 2021
Acceptance
Testing Scenario: Vesting & Lockup Together
The employee received a 100 day vesting with a 100 day lockup for 100 tokens.
The start date is set to 50 days ago,
The employee is fired and the remaining vesting is canceled.
The admin reclaims the 50 unvested tokens.
The employee owns 50 tokens but they are still locked until the lockup period is over.
The admin tries to claim the 50 vested employee owned tokens but the reclaim fails.
99 days from the start date the employee tries to transfer 50 tokens but the transfer fails because they are still locked.
100 days from the start date the tokens unlock and the ex-employee transfers their 50 tokens successfully.
Possible additional changes
If it's not possible to set both the Vesting & Lockup at the same as specified in the scenario, modify the contract to be able to set them separately.
The text was updated successfully, but these errors were encountered: