From 030d8fa659f960d62e82b90b406816ae588601c8 Mon Sep 17 00:00:00 2001 From: buddh0 Date: Tue, 26 Nov 2024 13:38:36 +0800 Subject: [PATCH] internal/ethapi: downgrade log level for gas overflow --- internal/ethapi/transaction_args.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/transaction_args.go b/internal/ethapi/transaction_args.go index 37c45fd401..f820cd621d 100644 --- a/internal/ethapi/transaction_args.go +++ b/internal/ethapi/transaction_args.go @@ -388,7 +388,7 @@ func (args *TransactionArgs) CallDefaults(globalGasCap uint64, baseFee *big.Int, args.Gas = (*hexutil.Uint64)(&gas) } else { if globalGasCap > 0 && globalGasCap < uint64(*args.Gas) { - log.Warn("Caller gas above allowance, capping", "requested", args.Gas, "cap", globalGasCap) + log.Debug("Caller gas above allowance, capping", "requested", args.Gas, "cap", globalGasCap) args.Gas = (*hexutil.Uint64)(&globalGasCap) } }