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
Currently within x/distribution/client/cli/tx.go : GetCmdWithdrawRewards a delegator can only withdraw from one validator at a time... infact there isn't an early check to ensure that the validator input is provided - it will just error when it tries to parse the validator from "".
The old distribution CLI had a "withdraw all path" which was the default and didn't require a validator address - we should reimplement this for F1 as well as a "withdraw all as well as my commission" for validators.
This can be implemented as either multi-transaction (of the existing message types) or a new "withdraw all" msg types within distribution.
Hmm, I think this should instead be done as a multi-msg transaction, why put extra iteration in the (costly) state machine when the transaction builder could do it themselves?
Currently within
x/distribution/client/cli/tx.go
:GetCmdWithdrawRewards
a delegator can only withdraw from one validator at a time... infact there isn't an early check to ensure that the validator input is provided - it will just error when it tries to parse the validator from "".The old distribution CLI had a "withdraw all path" which was the default and didn't require a validator address - we should reimplement this for F1 as well as a "withdraw all as well as my commission" for validators.
This can be implemented as either multi-transaction (of the existing message types) or a new "withdraw all" msg types within distribution.
CC @cwgoes @alessio
The text was updated successfully, but these errors were encountered: