44package params
55
66import (
7- "math/big"
8-
97 "github.com/ava-labs/avalanchego/utils/wrappers"
108)
119
@@ -19,27 +17,13 @@ const (
1917 ApricotPhase1GasLimit uint64 = 8_000_000
2018 CortinaGasLimit uint64 = 15_000_000
2119
22- ApricotPhase3MinBaseFee int64 = 75 * GWei
23- ApricotPhase3MaxBaseFee = 225 * GWei
24- ApricotPhase3InitialBaseFee int64 = 225 * GWei
25- ApricotPhase3TargetGas = 10_000_000
26- ApricotPhase3BaseFeeChangeDenominator = 12
27- ApricotPhase5TargetGas = 15_000_000
28- ApricotPhase5BaseFeeChangeDenominator uint64 = 36
29- EtnaMinBaseFee int64 = GWei
20+ ApricotPhase3MinBaseFee int64 = 75 * GWei
21+ ApricotPhase3MaxBaseFee = 225 * GWei
22+ ApricotPhase3InitialBaseFee int64 = 225 * GWei
23+ ApricotPhase3TargetGas = 10_000_000
24+ ApricotPhase3BaseFeeChangeDenominator = 12
25+ EtnaMinBaseFee int64 = GWei
3026
3127 RollupWindow = 10 // in seconds
3228 DynamicFeeExtraDataSize = wrappers .LongLen * RollupWindow
33-
34- // The base cost to charge per atomic transaction. Added in Apricot Phase 5.
35- AtomicTxBaseCost uint64 = 10_000
3629)
37-
38- // The atomic gas limit specifies the maximum amount of gas that can be consumed by the atomic
39- // transactions included in a block and is enforced as of ApricotPhase5. Prior to ApricotPhase5,
40- // a block included a single atomic transaction. As of ApricotPhase5, each block can include a set
41- // of atomic transactions where the cumulative atomic gas consumed is capped by the atomic gas limit,
42- // similar to the block gas limit.
43- //
44- // This value must always remain <= MaxUint64.
45- var AtomicGasLimit * big.Int = big .NewInt (100_000 )
0 commit comments