Skip to content

Commit 226091c

Browse files
committed
fix inflation tests
1 parent a66e1e8 commit 226091c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x/mint/module_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (s *ModuleTestSuite) TestEpochHooks() {
8181
s.stakingKeeper.EXPECT().StakingTokenSupply(s.ctx).Return(math.NewIntFromUint64(100000000000), nil).AnyTimes()
8282
bondedRatio := math.LegacyNewDecWithPrec(15, 2)
8383
s.stakingKeeper.EXPECT().BondedRatio(s.ctx).Return(bondedRatio, nil).AnyTimes()
84-
s.bankKeeper.EXPECT().MintCoins(s.ctx, types.ModuleName, sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(2059)))).Return(nil)
84+
s.bankKeeper.EXPECT().MintCoins(s.ctx, types.ModuleName, sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(792)))).Return(nil)
8585
s.bankKeeper.EXPECT().SendCoinsFromModuleToModule(s.ctx, types.ModuleName, authtypes.FeeCollectorName, gomock.Any()).Return(nil)
8686

8787
err := s.appmodule.BeforeEpochStart(s.ctx, "block", -1)

0 commit comments

Comments
 (0)