laconicd/x/evm/keeper/params_test.go

15 lines
402 B
Go
Raw Normal View History

package keeper_test
import (
"github.com/tharsis/ethermint/x/evm/types"
)
func (suite *KeeperTestSuite) TestParams() {
params := suite.app.EvmKeeper.GetParams(suite.ctx)
suite.Require().Equal(types.DefaultParams(), params)
2021-04-18 15:54:18 +00:00
params.EvmDenom = "inj"
suite.app.EvmKeeper.SetParams(suite.ctx, params)
newParams := suite.app.EvmKeeper.GetParams(suite.ctx)
suite.Require().Equal(newParams, params)
}