diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 0d6ace9b5be603eb54e7b5bd73411687b185fab9..3140ee112cf8a595c96931927381bcf478bad84a 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -778,7 +778,7 @@ func (args *CallArgs) ToMessage(globalGasCap uint64) types.Message { gas = uint64(*args.Gas) } if globalGasCap != 0 && globalGasCap < gas { - log.Warn("Caller gas above allowance, capping", "requested", gas, "cap", globalGasCap) + log.Debug("Caller gas above allowance, capping", "requested", gas, "cap", globalGasCap) gas = globalGasCap } gasPrice := new(big.Int) @@ -997,7 +997,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNrOrHash } // Recap the highest gas allowance with specified gascap. if gasCap != 0 && hi > gasCap { - log.Warn("Caller gas above allowance, capping", "requested", hi, "cap", gasCap) + log.Debug("Caller gas above allowance, capping", "requested", hi, "cap", gasCap) hi = gasCap } cap = hi