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 20:15:13 +0800 |
commit | e872ba7a9e8123a4010198ee8dfaada9f71fa24a (patch) | |
tree | 11a3ae72a1ee1854fc77795c76c232fcde0cd186 /eth/config.go | |
parent | 9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216 (diff) | |
download | dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.tar dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.tar.gz dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.tar.bz2 dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.tar.lz dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.tar.xz dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.tar.zst dexon-e872ba7a9e8123a4010198ee8dfaada9f71fa24a.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 7c041d1af..5b9db2502 100644 --- a/eth/config.go +++ b/eth/config.go @@ -135,6 +135,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 { |