chore(x/staking): audit changes (#16795)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
atheeshp
2023-07-03 07:14:17 +00:00
committed by GitHub
co-authored by Aleksandr Bezobchuk
parent 9863cb88a4
commit 9b237c7189
22 changed files with 86 additions and 123 deletions
+2 -1
View File
@@ -1763,7 +1763,8 @@ type GenesisState struct {
UnbondingDelegations []*UnbondingDelegation `protobuf:"bytes,6,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations,omitempty"`
// redelegations defines the redelegations active at genesis.
Redelegations []*Redelegation `protobuf:"bytes,7,rep,name=redelegations,proto3" json:"redelegations,omitempty"`
Exported bool `protobuf:"varint,8,opt,name=exported,proto3" json:"exported,omitempty"`
// exported defines a bool to identify whether the chain dealing with exported or initialized genesis.
Exported bool `protobuf:"varint,8,opt,name=exported,proto3" json:"exported,omitempty"`
}
func (x *GenesisState) Reset() {