77fee0e882
* Fee-Market(Types): Setup Params tests * Fee-Market(Types): Add all Params tests * Fee-Market(Types): Add genesis tests * Fee-Market(Keeper): Copy Keeper setup from EVM module and add Params tests * Fee-Market(Keeper): Add Keeper tests * test fix Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
15 lines
434 B
Go
15 lines
434 B
Go
package keeper_test
|
|
|
|
import (
|
|
"github.com/tharsis/ethermint/x/feemarket/types"
|
|
)
|
|
|
|
func (suite *KeeperTestSuite) TestParams() {
|
|
params := suite.app.FeeMarketKeeper.GetParams(suite.ctx)
|
|
suite.Require().Equal(types.DefaultParams(), params)
|
|
params.ElasticityMultiplier = 3
|
|
suite.app.FeeMarketKeeper.SetParams(suite.ctx, params)
|
|
newParams := suite.app.FeeMarketKeeper.GetParams(suite.ctx)
|
|
suite.Require().Equal(newParams, params)
|
|
}
|