You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Responses to reward withdrawal txs (MsgWithdrawDelegatorRewardResponse and MsgWithdrawValidatorCommissionResponse) do not contain information about the amount withdrawn.
Problem Definition
When rewards are withdrawn, an event is emitted containing the value of the withdrawn rewards (or comission), but the return types do not convey the same information.
When it comes to running said transactions via Interchain Accounts there is no way (without and additional cross chain lookup) to fetch this information, which is horribly inefficient.
Proposal
An amount field is added to the MsgWithdrawDelegatorRewardResponse and MsgWithdrawValidatorCommissionResponse types, and are populated in x/distribution/keeper/msg_server.go with the amount returned by each txs withdraw.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
Responses to reward withdrawal txs (MsgWithdrawDelegatorRewardResponse and MsgWithdrawValidatorCommissionResponse) do not contain information about the amount withdrawn.
Problem Definition
When rewards are withdrawn, an event is emitted containing the value of the withdrawn rewards (or comission), but the return types do not convey the same information.
When it comes to running said transactions via Interchain Accounts there is no way (without and additional cross chain lookup) to fetch this information, which is horribly inefficient.
Proposal
An
amount
field is added to the MsgWithdrawDelegatorRewardResponse and MsgWithdrawValidatorCommissionResponse types, and are populated in x/distribution/keeper/msg_server.go with the amount returned by each txs withdraw.For Admin Use
The text was updated successfully, but these errors were encountered: