mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
42 lines
1.2 KiB
Go
42 lines
1.2 KiB
Go
// Copyright (C) 2022, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package vm
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/luxfi/evm/v2/commontype"
|
|
"github.com/luxfi/geth/common"
|
|
)
|
|
|
|
const (
|
|
defaultEvmAirdropAmount = "1000000000000000000000000"
|
|
goBackMsg = "Go back to previous step"
|
|
)
|
|
|
|
var (
|
|
Difficulty = big.NewInt(0)
|
|
|
|
slowTarget = big.NewInt(15_000_000)
|
|
mediumTarget = big.NewInt(20_000_000)
|
|
fastTarget = big.NewInt(50_000_000)
|
|
|
|
// This is the current c-chain gas config
|
|
StarterFeeConfig = commontype.FeeConfig{
|
|
GasLimit: big.NewInt(8_000_000),
|
|
MinBaseFee: big.NewInt(25_000_000_000),
|
|
TargetGas: big.NewInt(15_000_000),
|
|
BaseFeeChangeDenominator: big.NewInt(36),
|
|
MinBlockGasCost: big.NewInt(0),
|
|
MaxBlockGasCost: big.NewInt(1_000_000),
|
|
TargetBlockRate: 2,
|
|
BlockGasCostStep: big.NewInt(200_000),
|
|
}
|
|
|
|
PrefundedEwoqAddress = common.HexToAddress("0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC")
|
|
PrefundedEwoqPrivate = "56289e99c94b6912bfc12adc093c9b51124f0dc54ac7a766b2bc5ccf558d8027"
|
|
|
|
oneLux = new(big.Int).SetUint64(1000000000000000000)
|
|
)
|