Skip to content

Commit

Permalink
Fix staking genesis not_bonded coins correction
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Oct 31, 2023
1 parent 0f83c02 commit 89a6b52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chain/app/genesis-tools/genesis-single-validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ func SetStakingSingleValidator(genesisState *GenesisState, pubKey cryptotypes.Pu
Shares: sdk.NewDec(900000000000),
},
}
genesisState.StakingGenesis.Redelegations = []stakingtypes.Redelegation{}
genesisState.StakingGenesis.UnbondingDelegations = []stakingtypes.UnbondingDelegation{}
genesisState.StakingGenesis.Exported = true
genesisState.StakingGenesis.LastTotalPower = sdk.NewInt(900000)
genesisState.StakingGenesis.LastValidatorPowers = []stakingtypes.LastValidatorPower{
Expand Down

0 comments on commit 89a6b52

Please sign in to comment.