diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index f329e2636b20d1d9fd92684f1dc688f952e7cc65..4d60c1a8c18f7a2b186239f0a9d98e56b6570a8c 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -783,7 +783,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