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

fix(token-vesting): assert deposit amount #86

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

k-yang
Copy link
Member

@k-yang k-yang commented Nov 1, 2023

Assert that the deposit amount to the contract is equal to the vesting amount.

We perform the check for LinearVesting schedules, but not for LinearVestingWithCliff schedules. I noticed when testing that even though my schedule was registered, the total amount of NIBI in the contract was much less than the vesting amount.

@Unique-Divine Unique-Divine merged commit 2fc3a13 into main Nov 1, 2023
3 checks passed
@Unique-Divine Unique-Divine deleted the fix/token_vesting/assert-deposit-amount branch November 1, 2023 02:45
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