give enough balance to operations test validator based on TokensFromConsensusPower to consider PowerReduction
This commit is contained in:
parent
cc96ee3a3b
commit
705e26e98c
@ -308,7 +308,7 @@ func getTestingValidator(t *testing.T, app *simapp.SimApp, ctx sdk.Context, acco
|
||||
require.NoError(t, err)
|
||||
|
||||
validator.DelegatorShares = sdk.NewDec(100)
|
||||
validator.Tokens = sdk.NewInt(1000000)
|
||||
validator.Tokens = sdk.TokensFromConsensusPower(100)
|
||||
|
||||
app.StakingKeeper.SetValidator(ctx, validator)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user