-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Epic]: Vesting #18782
Comments
12 tasks
12 tasks
We just need to handle vesting account creation in genesis. @testinginprod any idea how to do this |
@tac0turtle we can add vesting creation as an init msg of an x/account which is run in genesis, eg: {
"bank" : { .. }
"accounts": {
"init_msgs": [
{"type": "/lockup.MsgInit", "value": {"owner": "cosmos1234", "duration": ..., "amount": ...}}
]
}
} |
this is completed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Currently vesting accounts are part of auth. This design was picked due to the reason that a vesting account is a baseaccount which is wrapped with extra features. Auth has too many functionalities and is already being worked on to reduce the entire scope of what is being done.
This issue proposes using the new x/accounts module to define vesting accounts. We would migrate the existing vesting accounts to x/accounts accounts. The vesting account would have an owner, this owner would be an address which is associated with a public and private key. For now we wont make things complicated with different forms of authentication.
Problem Definition
Auth is overloaded, removing vesting functionality from auth would help reduce overall complexity
Work Breakdown
The text was updated successfully, but these errors were encountered: