tests: update consensus params (#1117)

* tests: update consensus params

* fix
This commit is contained in:
Federico Kunze Küllmer
2022-06-08 15:21:51 +02:00
committed by GitHub
parent 55373e0084
commit b567624d6a
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -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()
@@ -68,7 +68,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{},
AppStateBytes: stateBytes,
ConsensusParams: simapp.DefaultConsensusParams,
ConsensusParams: app.DefaultConsensusParams,
},
)
@@ -76,7 +76,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
s.SetupApp(false)
}
var setupTest = func(cliMinGasPrices string) {
setupTest := func(cliMinGasPrices string) {
setupChain(cliMinGasPrices)
privKey, address = generateKey()
@@ -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