case 'staking/MsgDelegate':
case 'staking/MsgCreateValidator':
case 'staking/MsgBeginRedelegate':
case 'staking/MsgUndelegate':
case 'distribution/MsgSetWithdrawAddress':
case 'distribution/MsgWithdrawValidatorCommission':
case 'distribution/MsgWithdrawDelegationReward': {
return {
staking: get(msg, 'value.delegator_address') ? [get(msg, 'value.delegator_address')] : []
}
}
the type distribution/MsgWithdrawValidatorCommission doesn't have value.delegator_address. it should rather be value.validator_address.
in getAddressFromMsg(),
the type
distribution/MsgWithdrawValidatorCommission
doesn't havevalue.delegator_address
. it should rather bevalue.validator_address
.checked against cosmos-sdk@0.37.14