Skip to content

Celestia - MsgDelegate does not auto-withdraw reward since v4 #805

@chliddle

Description

@chliddle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions