0g-chain/x/community/keeper/disable_inflation_test.go

19 lines
444 B
Go
Raw Normal View History

package keeper_test
import (
"testing"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
2024-08-03 09:51:56 +00:00
"github.com/0glabs/0g-chain/x/community/keeper"
"github.com/0glabs/0g-chain/x/community/testutil"
)
func TestKeeperDisableInflation(t *testing.T) {
testFunc := func(ctx sdk.Context, k keeper.Keeper) {
k.CheckAndDisableMintAndKavaDistInflation(ctx)
}
suite.Run(t, testutil.NewDisableInflationTestSuite(testFunc))
}