Skip to content

Commit

Permalink
tests: fix broken test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Apr 2, 2024
1 parent c6db2e8 commit ebb9906
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x/feemarket/keeper/feemarket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ func (s *KeeperTestSuite) TestUpdateFeeMarket() {

s.Run("empty block with default eip1559 with preset base fee < 1", func() {
state := types.DefaultState()
state.BaseFee = math.LegacyMustNewDecFromStr("0.5")
// this value should be ignored -> 0.5 should be used instead
state.BaseFee = math.LegacyMustNewDecFromStr("0.25")

// change MinBaseFee value < 1
params := types.DefaultParams()
params.MinBaseFee = math.LegacyMustNewDecFromStr("0.5")
s.setGenesisState(params, state)

s.Require().NoError(s.feeMarketKeeper.UpdateFeeMarket(s.ctx))
Expand Down

0 comments on commit ebb9906

Please sign in to comment.