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

Update migrateVestingAccounts to remove and reapply delegations #1175

Closed
joe-bowman opened this issue Feb 22, 2024 · 1 comment · Fixed by #1184
Closed

Update migrateVestingAccounts to remove and reapply delegations #1175

joe-bowman opened this issue Feb 22, 2024 · 1 comment · Fixed by #1184
Assignees
Labels
Milestone

Comments

@joe-bowman
Copy link
Contributor

Summary

In app/upgrades/upgrades.go we have a set of functions that will migrate a periodic vesting account to a new address.

We have migrated a number of accounts with this, but it only supports accounts with no delegations.

We would like to update the migrateVestingAccounts function to, prior to migration, unbond assets with immediate effect and collect rewards (this bit might be implicit) and then post migration, re-establish the same delegations from the new account.

@joe-bowman
Copy link
Contributor Author

Can probably refactor the logic out of app/upgrades into utils too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants