Commit eb19ffe7 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1285 from ethereum-optimism/rpcGasCap

fix(l2geth): revert rpcGasCap logic to upstream geth behavior
parents 87459d5e bb7b916e
---
'@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