aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-09-20 14:42:34 -0400
committerDeterminant <[email protected]>2020-09-20 14:42:34 -0400
commit37c055adfb9b440d4848ae64e7a7b0dd3ab8aba8 (patch)
treeae53aa29f67d0e3f1a2cc6689e2b8e7997123299 /plugin/evm
parent3c8282bebe65b493ffb55fe9bce81ffd34fe7975 (diff)
raise the RPC tx fee cap to 100 AVAXv0.3.3-rc.1
Diffstat (limited to 'plugin/evm')
-rw-r--r--plugin/evm/vm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index 52e4acf..13d4d3f 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -259,6 +259,7 @@ 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 = minGasPrice
+ config.RPCTxFeeCap = 100 // 100 AVAX
config.GPO.Default = minGasPrice
config.TxPool.PriceLimit = minGasPrice.Uint64()
config.TxPool.NoLocals = true