Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
tests: update consensus params (#1117)
Browse files Browse the repository at this point in the history
* tests: update consensus params

* fix
  • Loading branch information
fedekunze authored Jun 8, 2022
1 parent 55373e0 commit b567624
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion x/evm/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (suite *EvmTestSuite) DoSetupTest(t require.TestingT) {
abci.RequestInitChain{
ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{},
ConsensusParams: simapp.DefaultConsensusParams,
ConsensusParams: app.DefaultConsensusParams,
AppStateBytes: stateBytes,
},
)
Expand Down
2 changes: 1 addition & 1 deletion x/evm/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (suite *KeeperTestSuite) DoSetupTest(t require.TestingT) {
abci.RequestInitChain{
ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{},
ConsensusParams: simapp.DefaultConsensusParams,
ConsensusParams: app.DefaultConsensusParams,
AppStateBytes: stateBytes,
},
)
Expand Down
8 changes: 4 additions & 4 deletions x/feemarket/keeper/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
msg banktypes.MsgSend
)

var setupChain = func(cliMinGasPricesStr string) {
setupChain := func(cliMinGasPricesStr string) {
// Initialize the app, so we can use SetMinGasPrices to set the
// validator-specific min-gas-prices setting
db := dbm.NewMemDB()
Expand Down Expand Up @@ -68,15 +68,15 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{},
AppStateBytes: stateBytes,
ConsensusParams: simapp.DefaultConsensusParams,
ConsensusParams: app.DefaultConsensusParams,
},
)

s.app = newapp
s.SetupApp(false)
}

var setupTest = func(cliMinGasPrices string) {
setupTest := func(cliMinGasPrices string) {
setupChain(cliMinGasPrices)

privKey, address = generateKey()
Expand All @@ -99,7 +99,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
s.Commit()
}

var setupContext = func(cliMinGasPrice string, minGasPrice sdk.Dec) {
setupContext := func(cliMinGasPrice string, minGasPrice sdk.Dec) {
setupTest(cliMinGasPrice + s.denom)
params := types.DefaultParams()
params.MinGasPrice = minGasPrice
Expand Down

0 comments on commit b567624

Please sign in to comment.