Skip to content

chore: update 31 #293

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
merged 3 commits into from
Apr 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cips/cip-031.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ When upgrading to v4 we propose introducing a migration that will set the Parame

The continuous and delayed vesting account types will be updated to implement CIP-31. Specifically, they will implement the `UpdateSchedule` function so that the original vesting amount can account for staking rewards. The periodic and permanent account types will not support CIP-31. They will be disallowed from being created.

Accounts are able to set a withdraw address that differs from their own address. Since rewards need to adhere to the original vesting schedule, the withdraw address for vesting accounts must be the same as the delegator address. This is to ensure that the rewards are locked up in the same account. Vesting accounts that have different withdraw addresses will have their withdraw address ignored. This means that the original vesting account will be used as the withdraw address.

Alongside the above change, we will also be preventing the setting of different withdraw addresses for vesting accounts in the message server.

## Test Cases

The implementation should include test cases covering:
Expand Down
Loading