Skip to content

Commit ebdf83e

Browse files
committed
Merge branch 'master' into merge-v1.14.4
2 parents b6f989a + b487f6f commit ebdf83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ethapi/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args TransactionArgs, blockNr
13081308
call := args.ToMessage(header.BaseFee, gasCap, header, state, core.MessageGasEstimationMode)
13091309

13101310
// Arbitrum: raise the gas cap to ignore L1 costs so that it's compute-only
1311-
{
1311+
if gasCap > 0 {
13121312
postingGas, err := core.RPCPostingGasHook(call, header, state)
13131313
if err != nil {
13141314
return 0, err

0 commit comments

Comments
 (0)