diff options
author | Determinant <[email protected]> | 2020-09-20 21:19:43 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-20 21:19:43 -0400 |
commit | 9780b8dad893ac5ee3d1c3f365487c408e10527f (patch) | |
tree | 1cb81bfb88522b6aced7f1fe56246b7e01b50750 /plugin/evm/vm.go | |
parent | 7f9485a16b5f02acae95f787e616e32056ad14ee (diff) |
fix the gas estimation issuev0.3.3-rc.6
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r-- | plugin/evm/vm.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index 2c6dc1a..140a0e2 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -255,7 +255,8 @@ func (vm *VM) Initialize( // Set minimum price for mining and default gas price oracle value to the min // gas price to prevent so transactions and blocks all use the correct fees config.Miner.GasPrice = params.MinGasPrice - config.RPCTxFeeCap = 100 // 100 AVAX + config.RPCGasCap = 2500000000 // 25000000 x 100 + config.RPCTxFeeCap = 100 // 100 AVAX config.GPO.Default = params.MinGasPrice config.TxPool.PriceLimit = params.MinGasPrice.Uint64() config.TxPool.NoLocals = true |