forked from cerc-io/laconicd-deprecated
93020f8786
* 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 * Fee-Market(Keeper): Add review comments * Fee-Market(Keeper): WIP grpc tests * Fee-Market(Keeper): WIP ERIP1559 tests * Fee-Market(Keeper): WIP ERIP1559 tests * Fee-Market(Keeper): WIP ERIP1559 tests maxGas influences on baseFee * Fee-Market(Keeper): Add last ERIP1559 tests * Fee-Market(Keeper): Add abci tests
15 lines
440 B
Go
15 lines
440 B
Go
package keeper_test
|
|
|
|
import (
|
|
"github.com/tharsis/ethermint/x/feemarket/types"
|
|
)
|
|
|
|
func (suite *KeeperTestSuite) TestSetGetParams() {
|
|
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)
|
|
}
|