diff --git a/x/cellarfees/keeper/genesis_test.go b/x/cellarfees/keeper/genesis_test.go index dffbac8f..c49f2914 100644 --- a/x/cellarfees/keeper/genesis_test.go +++ b/x/cellarfees/keeper/genesis_test.go @@ -37,6 +37,7 @@ func (suite *KeeperTestSuite) TestImportingPopulatedGenesis() { testGenesis.Params.PriceDecreaseBlockInterval = 10 testGenesis.Params.RewardEmissionPeriod = 600 testGenesis.Params.AuctionInterval = 1000 + testGenesis.Params.AuctionThresholdUsdValue = sdk.NewDec(1000000) require.NotPanics(func() { suite.accountKeeper.EXPECT().GetModuleAccount(ctx, feesAccount.GetName()).Return(feesAccount) @@ -66,6 +67,7 @@ func (suite *KeeperTestSuite) TestExportingPopulatedGenesis() { params.PriceDecreaseBlockInterval = 10 params.RewardEmissionPeriod = 600 params.AuctionInterval = 1000 + params.AuctionThresholdUsdValue = sdk.NewDec(1000000) cellarfeesKeeper.SetParams(ctx, params) peak := sdk.NewInt(1337) cellarfeesKeeper.SetLastRewardSupplyPeak(ctx, peak) diff --git a/x/cellarfees/types/v1/params.go b/x/cellarfees/types/v1/params.go new file mode 100644 index 00000000..1d9ee1bc --- /dev/null +++ b/x/cellarfees/types/v1/params.go @@ -0,0 +1,10 @@ +package v1 + +import "gopkg.in/yaml.v2" + +// String implements the String interface +func (p Params) String() string { + out, _ := yaml.Marshal(p) + return string(out) +} +