diff options
author | Martin Holst Swende <martin@swende.se> | 2019-04-08 19:49:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-04-08 19:49:52 +0800 |
commit | e2f3465e83a4c03b48977ed367e68b0d63ca2ed1 (patch) | |
tree | b8cb683600672789aa7b56ed349fbceaaa2ae4ae /eth/config.go | |
parent | ed97517ff4db1982251d8bf7dbeca565159e3604 (diff) | |
download | go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.tar go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.tar.gz go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.tar.bz2 go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.tar.lz go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.tar.xz go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.tar.zst go-tangerine-e2f3465e83a4c03b48977ed367e68b0d63ca2ed1.zip |
eth, les, geth: implement cli-configurable global gas cap for RPC calls (#19401)
* eth, les, geth: implement cli-configurable global gas cap for RPC calls
* graphql, ethapi: place gas cap in DoCall
* ethapi: reformat log message
Diffstat (limited to 'eth/config.go')
-rw-r--r-- | eth/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eth/config.go b/eth/config.go index a98e69053..d97ae3070 100644 --- a/eth/config.go +++ b/eth/config.go @@ -151,6 +151,9 @@ type Config struct { // Constantinople block override (TODO: remove after the fork) ConstantinopleOverride *big.Int + + // RPCGasCap is the global gas cap for eth-call variants. + RPCGasCap *big.Int `toml:",omitempty"` } type configMarshaling struct { |