From 3c185f4585bceef0ea10b89f1bf45867d40ff6a4 Mon Sep 17 00:00:00 2001 From: linhaiyang <1183679527@qq.com> Date: Fri, 16 Jul 2021 15:31:58 +0800 Subject: [PATCH] pre_exec not support DynamicFeeTxType --- eth/api_pre_exec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/api_pre_exec.go b/eth/api_pre_exec.go index a5193d9558..b28f88b032 100644 --- a/eth/api_pre_exec.go +++ b/eth/api_pre_exec.go @@ -90,8 +90,8 @@ func (api *PreExecAPI) getBlockAndMsg(origin *PreExecTx, number *big.Int) (*type hexutil.MustDecodeBig(origin.Value), hexutil.MustDecodeUint64(origin.Gas), hexutil.MustDecodeBig(origin.GasPrice), - nil, - nil, + tx.GasFeeCap(), + tx.GasTipCap(), hexutil.MustDecode(origin.Data), nil, false, )