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{
ChainId: "ethermint_9000-1",
Validators: []abci.ValidatorUpdate{},
ConsensusParams: simapp.DefaultConsensusParams,
ConsensusParams: app.DefaultConsensusParams,
AppStateBytes: stateBytes,
},
)

View File

@ -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,
},
)

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