fix insufficient fee error message (#911)

This commit is contained in:
yihuang
2022-01-17 07:12:13 +01:00
committed by GitHub
parent 351e6d6eb3
commit 317f5b43b5
+1 -1
View File
@@ -286,7 +286,7 @@ func (ctd CanTransferDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate
}
if coreMsg.GasFeeCap().Cmp(baseFee) < 0 {
return ctx, sdkerrors.Wrapf(
evmtypes.ErrInvalidBaseFee,
sdkerrors.ErrInsufficientFee,
"max fee per gas less than block base fee (%s < %s)",
coreMsg.GasFeeCap(), baseFee,
)