Commit bb7b916e authored by Tim Myers's avatar Tim Myers Committed by Mark Tyneway

fix(l2geth): revert rpcGasCap logic to upstream geth behavior

parent 87459d5e
---
'@eth-optimism/l2geth': patch
---
revert rpcGasCap logic to upstream geth behavior
......@@ -905,7 +905,7 @@ func DoCall(ctx context.Context, b Backend, args CallArgs, blockNrOrHash rpc.Blo
}
}
// Set default gas & gas price if none were set
gas := b.GasLimit()
gas := uint64(math.MaxUint64 / 2)
if args.Gas != nil {
gas = uint64(*args.Gas)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment