Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yun-yeo committed Jun 20, 2022
1 parent 0436284 commit 505fe58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/ante/min_commission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/terra-money/core/v2/app/ante"
"github.com/terra-money/core/v2/app/ante/types"
)

func (suite *AnteTestSuite) TestMinCommission() {
Expand All @@ -21,8 +22,8 @@ func (suite *AnteTestSuite) TestMinCommission() {
_, _, addr2 := testdata.KeyTestPubAddr()

min := ante.NewMinCommissionDecorator(suite.app.AppCodec(), &suite.app.AnteKeeper)
lowCommission := sdk.NewDecWithPrec(2, 2)
highCommission := sdk.NewDecWithPrec(5, 2)
lowCommission := types.DefaultMinimumCommission.QuoInt64(2)
highCommission := types.DefaultMinimumCommission

// create validator
createValidator, err := stakingtypes.NewMsgCreateValidator(
Expand Down

0 comments on commit 505fe58

Please sign in to comment.