upgrade to ethermint v0.21.0 #99

Closed
0xmuralik wants to merge 384 commits from murali/update-fork into main
3 changed files with 6 additions and 6 deletions
Showing only changes of commit b567624d6a - Show all commits

View File

@ -111,7 +111,7 @@ func (suite *EvmTestSuite) DoSetupTest(t require.TestingT) {
abci.RequestInitChain{ abci.RequestInitChain{
ChainId: "ethermint_9000-1", ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{}, Validators: []abci.ValidatorUpdate{},
ConsensusParams: simapp.DefaultConsensusParams, ConsensusParams: app.DefaultConsensusParams,
AppStateBytes: stateBytes, AppStateBytes: stateBytes,
}, },
) )

View File

@ -131,7 +131,7 @@ func (suite *KeeperTestSuite) DoSetupTest(t require.TestingT) {
abci.RequestInitChain{ abci.RequestInitChain{
ChainId: "ethermint_9000-1", ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{}, Validators: []abci.ValidatorUpdate{},
ConsensusParams: simapp.DefaultConsensusParams, ConsensusParams: app.DefaultConsensusParams,
AppStateBytes: stateBytes, AppStateBytes: stateBytes,
}, },
) )

View File

@ -39,7 +39,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
msg banktypes.MsgSend msg banktypes.MsgSend
) )
var setupChain = func(cliMinGasPricesStr string) { setupChain := func(cliMinGasPricesStr string) {
// Initialize the app, so we can use SetMinGasPrices to set the // Initialize the app, so we can use SetMinGasPrices to set the
// validator-specific min-gas-prices setting // validator-specific min-gas-prices setting
db := dbm.NewMemDB() db := dbm.NewMemDB()
@ -68,7 +68,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
ChainId: "ethermint_9000-1", ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{}, Validators: []abci.ValidatorUpdate{},
AppStateBytes: stateBytes, AppStateBytes: stateBytes,
ConsensusParams: simapp.DefaultConsensusParams, ConsensusParams: app.DefaultConsensusParams,
}, },
) )
@ -76,7 +76,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
s.SetupApp(false) s.SetupApp(false)
} }
var setupTest = func(cliMinGasPrices string) { setupTest := func(cliMinGasPrices string) {
setupChain(cliMinGasPrices) setupChain(cliMinGasPrices)
privKey, address = generateKey() privKey, address = generateKey()
@ -99,7 +99,7 @@ var _ = Describe("Ethermint App min gas prices settings: ", func() {
s.Commit() s.Commit()
} }
var setupContext = func(cliMinGasPrice string, minGasPrice sdk.Dec) { setupContext := func(cliMinGasPrice string, minGasPrice sdk.Dec) {
setupTest(cliMinGasPrice + s.denom) setupTest(cliMinGasPrice + s.denom)
params := types.DefaultParams() params := types.DefaultParams()
params.MinGasPrice = minGasPrice params.MinGasPrice = minGasPrice