diff options
author | Aaron Buchwald <[email protected]> | 2020-10-20 12:20:49 -0400 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-10-20 12:20:49 -0400 |
commit | cccb47666b2bccce378a9a56824061ea3a9a95fa (patch) | |
tree | 36822cea4b16638e6a246af209ccdf77b3eb2088 /plugin/evm/config.go | |
parent | 77681f0af89a2c22ed24b4a7edb1f7b3d3a6c442 (diff) |
Add RPC GasCap and TxFeeCap to CLI config
Diffstat (limited to 'plugin/evm/config.go')
-rw-r--r-- | plugin/evm/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/evm/config.go b/plugin/evm/config.go index 909992a..4669807 100644 --- a/plugin/evm/config.go +++ b/plugin/evm/config.go @@ -7,6 +7,10 @@ type CommandLineConfig struct { Web3APIEnabled bool `json:"web3APIEnabled"` CorethAdminAPIEnabled bool `json:"corethAdminAPIEnabled"` + // Coreth API Gas/Price Caps + RPCGasCap uint64 `json:"rpcGasCap"` + RPCTxFeeCap float64 `json:"rpcTxFeeCap"` + // Eth APIs EthAPIEnabled bool `json:"ethAPIEnabled"` PersonalAPIEnabled bool `json:"personalAPIEnabled"` |