refactor(staking): use validator & address codecs in staking (#16958)
This commit is contained in:
@@ -13395,9 +13395,9 @@ type Delegation struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// delegator_address is the bech32-encoded address of the delegator.
|
||||
// delegator_address is the encoded address of the delegator.
|
||||
DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
|
||||
// validator_address is the bech32-encoded address of the validator.
|
||||
// validator_address is the encoded address of the validator.
|
||||
ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
|
||||
// shares define the delegation shares received.
|
||||
Shares string `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
|
||||
@@ -13451,9 +13451,9 @@ type UnbondingDelegation struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// delegator_address is the bech32-encoded address of the delegator.
|
||||
// delegator_address is the encoded address of the delegator.
|
||||
DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
|
||||
// validator_address is the bech32-encoded address of the validator.
|
||||
// validator_address is the encoded address of the validator.
|
||||
ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
|
||||
// entries are the unbonding delegation entries.
|
||||
Entries []*UnbondingDelegationEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"` // unbonding delegation entries
|
||||
|
||||
Reference in New Issue
Block a user