fix insufficient fee error message (#911)
This commit is contained in:
parent
351e6d6eb3
commit
317f5b43b5
@ -286,7 +286,7 @@ func (ctd CanTransferDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate
|
|||||||
}
|
}
|
||||||
if coreMsg.GasFeeCap().Cmp(baseFee) < 0 {
|
if coreMsg.GasFeeCap().Cmp(baseFee) < 0 {
|
||||||
return ctx, sdkerrors.Wrapf(
|
return ctx, sdkerrors.Wrapf(
|
||||||
evmtypes.ErrInvalidBaseFee,
|
sdkerrors.ErrInsufficientFee,
|
||||||
"max fee per gas less than block base fee (%s < %s)",
|
"max fee per gas less than block base fee (%s < %s)",
|
||||||
coreMsg.GasFeeCap(), baseFee,
|
coreMsg.GasFeeCap(), baseFee,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user