We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830dff9 commit 8663358Copy full SHA for 8663358
testutil/integration/base/factory/helper.go
@@ -87,7 +87,7 @@ func (tf *baseTxFactory) calculateFees(gasPrice *sdkmath.Int, gasLimit uint64) (
87
return sdktypes.Coins{}, errorsmod.Wrap(err, "failed to get base fee")
88
}
89
price := resp.BaseFee
90
- 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
91
92
return fees, nil
93
0 commit comments