-
Notifications
You must be signed in to change notification settings - Fork 314
Description
https://github.com/celestiaorg/CIPs/blob/main/cips/cip-030.md?ref=blog.celestia.org
Currently, when delegators modify their staking positions (e.g., redelegate or undelegate), the distribution module automatically claims all accrued staking rewards. This CIP proposes removing that automatic functionality, thereby allowing users to intentionally choose when to claim their rewards. Specifically, the distribution module will no longer auto-claim rewards on delegation-share changes. Instead, it will store the accrued rewards until a user explicitly calls MsgWithdrawDelegatorReward. This avoids unintended reward-claiming events that can trigger immediate tax or regulatory obligations.
To support celestia >=v4, the backend will now require authz tx for both MsgWithdrawDelegatorReward before the MsgDelegate tx to ensure accrued rewards are claimed before restaking.
Corresponding UI issue: #152