aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/evm/vm.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index f656d02..b4026a8 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -20,6 +20,7 @@ import (
"github.com/ava-labs/coreth/core/types"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/coreth/node"
+ "github.com/ava-labs/coreth/params"
"github.com/ava-labs/go-ethereum/common"
ethcrypto "github.com/ava-labs/go-ethereum/crypto"
@@ -81,8 +82,8 @@ const (
var (
// minGasPrice is the number of nAVAX required per gas unit for a transaction
- // to be valid
- minGasPrice = big.NewInt(47)
+ // to be valid, measured in wei
+ minGasPrice = big.NewInt(47*params.GWei)
txFee = units.MilliAvax