refactor(vesting): remove vesting account creation#19535
Conversation
WalkthroughThe recent update involves a significant change where the creation of vesting accounts during the chain's operation has been discontinued. This modification is aimed at streamlining processes and potentially shifting towards using lockup accounts, as indicated by the directive to link to lockup accounts documentation. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
| * [#19535](https://github.com/cosmos/cosmos-sdk/pull/19535) Remove vesting account creation when the chain is running. The accounts module is required for creating vesting accounts on a running chain. | ||
| <!-- TODO add a link to lockup accounts docs --> |
There was a problem hiding this comment.
The changelog entry for the removal of vesting account creation is clear and concise. However, there's a TODO comment left in the changelog, which is not ideal for documentation intended for end users.
Consider removing the TODO comment and replacing it with either the actual link to the lockup accounts documentation (if available) or a note indicating where users can find more information about lockup accounts. It's important to ensure that the changelog is clean and free of placeholders or internal notes before release.
alexanderbez
left a comment
There was a problem hiding this comment.
Goodbye my old friend :(
Description
This pr removes vesting account creation on the fly. Vesting was created to never be created on the fly only in genesis. It was added and many edge cases were introduced. With the advent of accounts we migrated vesting account creation there. This only removes the creation, existing vesting accounts will still function the same
ref #18782
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!in the type prefix if API or client breaking changeCHANGELOG.mdReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
Summary by CodeRabbit
x/auth/CHANGELOG.mdto document the removal of vesting account creation during chain operations and added a reference to lockup accounts documentation.