From 830dff9584a5666ff759e5c2efd3f51d7e25adc2 Mon Sep 17 00:00:00 2001 From: heiji Date: Wed, 23 Jul 2025 20:44:04 +0900 Subject: [PATCH 1/2] fix-evm tx transfer --- evmd/test_helpers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evmd/test_helpers.go b/evmd/test_helpers.go index b7e77d9b3..42d4e20b0 100644 --- a/evmd/test_helpers.go +++ b/evmd/test_helpers.go @@ -40,7 +40,8 @@ type SetupOptions struct { func init() { // we're setting the minimum gas price to 0 to simplify the tests - feemarkettypes.DefaultMinGasPrice = math.LegacyZeroDec() + //feemarkettypes.DefaultMinGasPrice = math.LegacyZeroDec() + feemarkettypes.DefaultMinGasPrice = math.LegacyNewDec(1) // Set the global SDK config for the tests cfg := sdk.GetConfig() From 86633589103f0ed5311725805676efc29af83f2f Mon Sep 17 00:00:00 2001 From: heiji Date: Thu, 24 Jul 2025 14:58:55 +0900 Subject: [PATCH 2/2] fix-bank msg send --- testutil/integration/base/factory/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/integration/base/factory/helper.go b/testutil/integration/base/factory/helper.go index 958a08469..d716dd83b 100644 --- a/testutil/integration/base/factory/helper.go +++ b/testutil/integration/base/factory/helper.go @@ -87,7 +87,7 @@ func (tf *baseTxFactory) calculateFees(gasPrice *sdkmath.Int, gasLimit uint64) ( return sdktypes.Coins{}, errorsmod.Wrap(err, "failed to get base fee") } price := resp.BaseFee - fees = sdktypes.Coins{{Denom: denom, Amount: price.MulInt64(int64(gasLimit)).TruncateInt()}} //#nosec G115 + fees = sdktypes.Coins{{Denom: denom, Amount: price.MulInt64(int64(gasLimit)).Ceil().RoundInt()}} //#nosec G115 } return fees, nil }