Closed
Description
in the interest of changing APIs prelaunch (sooner than later) as I've been reviewing staking there are a few renames which I think we ought to update:
MsgBeginUnbonding
->MsgUndelegate
- Begin unbonding doesn't really make sense because the validator may be unbonding (in which case the tokens have already begun unbonding) or unbonded (tokens do not enter into an UnbondingDelegation object)
- field name
Delegation
->Amount
(these are type sdk.Coins) inMsgCreateValidator
andMsgDelegate
Delegation
is an ambiguous field name because of theDelegation
type inx/stake/types/delegation.go
Validator.UnbondingMinTime
->Validator.UnbondingCompletionTime
stay consistent with unbonding delegation object/thinking
Activity