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

[Merged by Bors] - Implement SMIP-0002: Remove vesting vault cliff #5807

Closed
wants to merge 8 commits into from

Conversation

lrettig
Copy link
Member

@lrettig lrettig commented Apr 5, 2024

Motivation

See https://github.com/smfoundation/smips/blob/main/proposals/smip-0002-remove-vault-vesting-clff.md

See also spacemeshos/economics#40

Description

Removes vesting cliff for vesting vault

Test Plan

No new tests required. Updates existing tests.

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

@pigmej
Copy link
Member

pigmej commented Apr 6, 2024

@lrettig imo we definitely need changelog mention here too.

@lrettig
Copy link
Member Author

lrettig commented Apr 6, 2024 via email

@lrettig lrettig force-pushed the smip-0002-remove-vault-vesting-cliff branch from fabb4a9 to e432a24 Compare April 8, 2024 20:51
Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.4%. Comparing base (fe37dd7) to head (5d676db).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #5807   +/-   ##
=======================================
  Coverage     80.3%   80.4%           
=======================================
  Files          283     283           
  Lines        29320   29282   -38     
=======================================
- Hits         23568   23561    -7     
+ Misses        4156    4130   -26     
+ Partials      1596    1591    -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lrettig lrettig requested a review from dshulyak April 8, 2024 22:56
@lrettig
Copy link
Member Author

lrettig commented Apr 9, 2024

@dshulyak would you mind taking one more look? Thanks!

@lrettig lrettig force-pushed the smip-0002-remove-vault-vesting-cliff branch from d30fb51 to f548c64 Compare April 9, 2024 22:42
@lrettig lrettig marked this pull request as ready for review April 9, 2024 22:42
@lrettig lrettig requested review from fasmat, poszu and ivan4th as code owners April 9, 2024 22:42
CHANGELOG.md Outdated Show resolved Hide resolved
@lrettig lrettig force-pushed the smip-0002-remove-vault-vesting-cliff branch from f548c64 to f97a897 Compare April 10, 2024 21:54
lrettig added 8 commits April 10, 2024 14:56
Ignore InitialUnlockAmount vault argument. Update tests accordingly, including a regression test.
Need to give vesting addr a little more gas so it can make one
additional drain tx, since the first one fails. Make tx success/failure
more explicit.
@lrettig lrettig force-pushed the smip-0002-remove-vault-vesting-cliff branch from f97a897 to 5d676db Compare April 10, 2024 21:56
@lrettig
Copy link
Member Author

lrettig commented Apr 10, 2024

bors merge

@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Implement SMIP-0002: Remove vesting vault cliff [Merged by Bors] - Implement SMIP-0002: Remove vesting vault cliff Apr 10, 2024
@spacemesh-bors spacemesh-bors bot closed this Apr 10, 2024
@spacemesh-bors spacemesh-bors bot deleted the smip-0002-remove-vault-vesting-cliff branch April 10, 2024 23:26
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.

4 participants