From 21dffcb7694c710c1507c78a93b1af23eebf4486 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Tue, 1 Aug 2023 23:08:31 +0800 Subject: [PATCH] internal/ethapi: api EstimateGas noBaseFee Signed-off-by: jsvisa --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 7f9be23ff949..58031776f712 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1266,7 +1266,7 @@ func (s *BlockChainAPI) EstimateGas(ctx context.Context, args TransactionArgs, b if blockNrOrHash != nil { bNrOrHash = *blockNrOrHash } - return DoEstimateGas(ctx, s.b, args, bNrOrHash, s.b.RPCGasCap(), false) + return DoEstimateGas(ctx, s.b, args, bNrOrHash, s.b.RPCGasCap(), true) } // RPCMarshalHeader converts the given header to the RPC output .