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: Update updateVestingSchedule to include require(totalSupply != 0) (SC-5193) #37

Merged
merged 3 commits into from
Mar 15, 2022

Conversation

vbidin
Copy link
Contributor

@vbidin vbidin commented Mar 15, 2022

Added the following require check to updateVestingSchedule(): require(totalSupply != 0, "RDT:UVS:ZERO_SUPPLY");
Modified existing tests to include a staker that performs an initial deposit that prevents this check from failing.

@shortcut-integration
Copy link

@lucas-manuel lucas-manuel merged commit 2a3e0ec into main Mar 15, 2022
@lucas-manuel lucas-manuel deleted the sc-5193-rdt-update-updatevestingschedule-in-rdt-to branch March 15, 2022 18:12
@lucas-manuel lucas-manuel restored the sc-5193-rdt-update-updatevestingschedule-in-rdt-to branch March 15, 2022 20:41
@lucas-manuel lucas-manuel deleted the sc-5193-rdt-update-updatevestingschedule-in-rdt-to branch March 15, 2022 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants