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

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2023-07-03 08:04:12 +00:00
committed by GitHub
co-authored by atheeshp Julien Robert
parent d9c53bfefc
commit af357c8d30
22 changed files with 84 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() {