From 317f5b43b516022da831708704a40cb8af79e87a Mon Sep 17 00:00:00 2001 From: yihuang Date: Mon, 17 Jan 2022 14:12:13 +0800 Subject: [PATCH] fix insufficient fee error message (#911) --- app/ante/eth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ante/eth.go b/app/ante/eth.go index 9f74039c..ae4dce5a 100644 --- a/app/ante/eth.go +++ b/app/ante/eth.go @@ -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, )