From 4b778abf91fbbb7a9f1dadbc76077eeecc3448ea Mon Sep 17 00:00:00 2001 From: Sunny Aggarwal Date: Sat, 10 Apr 2021 19:23:58 -0400 Subject: [PATCH] merged master --- x/auth/legacy/v043/store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/legacy/v043/store_test.go b/x/auth/legacy/v043/store_test.go index acd06fe8783c..3daa2d52fc53 100644 --- a/x/auth/legacy/v043/store_test.go +++ b/x/auth/legacy/v043/store_test.go @@ -657,7 +657,7 @@ func dirtyTrackingFields(ctx sdk.Context, vesting exported.VestingAccount, app * } func createValidator(t *testing.T, ctx sdk.Context, app *simapp.SimApp, powers int64) (sdk.AccAddress, sdk.ValAddress) { - valTokens := sdk.TokensFromConsensusPower(powers) + valTokens := sdk.TokensFromConsensusPower(powers, sdk.DefaultPowerReduction) addrs := simapp.AddTestAddrsIncremental(app, ctx, 1, valTokens) valAddrs := simapp.ConvertAddrsToValAddrs(addrs) pks := simapp.CreateTestPubKeys(1)