@@ -22,22 +22,9 @@ package spec
2222
2323import (
2424 "github.com/berachain/beacon-kit/chain"
25- "github.com/berachain/beacon-kit/primitives/common"
26- "github.com/ethereum/go-ethereum/params"
2725)
2826
2927const (
30- // devnetEVMInflationAddress is the address of the EVM inflation contract.
31- devnetEVMInflationAddress = "0x6942069420694206942069420694206942069420"
32-
33- // devnetEVMInflationPerBlock is the amount of native EVM balance (in units
34- // of Gwei) to be minted per EL block.
35- devnetEVMInflationPerBlock = 10 * params .GWei
36-
37- // devnetMaxStakeAmount is the maximum amount of native EVM balance (in units
38- // of Gwei) that can be staked.
39- devnetMaxStakeAmount = 4000 * params .GWei
40-
4128 // devnetDeneb1ForkTime is the timestamp at which the Deneb1 fork occurs.
4229 // A value of 64 is set for the fork to occur 64 seconds into the test,
4330 // which is approximately 1 epoch.
@@ -52,20 +39,9 @@ const (
5239
5340 // devnetElectraForkTime is the timestamp at which the Electra fork occurs.
5441 devnetElectraForkTime = defaultElectraForkTime
55-
56- // devnetEVMInflationAddressDeneb1 is the address of the EVM inflation contract
57- // after the Deneb1 fork.
58- devnetEVMInflationAddressDeneb1 = "0x4206942069420694206942069420694206942069"
59-
60- // devnetEVMInflationPerBlockDeneb1 is the amount of native EVM balance (in units
61- // of Gwei) to be minted per EL block after the Deneb1 fork.
62- devnetEVMInflationPerBlockDeneb1 = 11 * params .GWei
6342)
6443
65- // DevnetChainSpecData is the chain.SpecData for a devnet. It is similar to mainnet but
66- // has different values for testing EVM inflation and staking.
67- //
68- // TODO: remove modifications from mainnet spec to align with mainnet behavior.
44+ // DevnetChainSpecData is the chain.SpecData for a devnet.
6945func DevnetChainSpecData () * chain.SpecData {
7046 specData := MainnetChainSpecData ()
7147 specData .DepositEth1ChainID = DevnetEth1ChainID
@@ -74,18 +50,6 @@ func DevnetChainSpecData() *chain.SpecData {
7450 specData .Deneb1ForkTime = devnetDeneb1ForkTime
7551 specData .ElectraForkTime = devnetElectraForkTime
7652
77- // EVM inflation is different from mainnet to test.
78- specData .EVMInflationAddressGenesis = common .NewExecutionAddressFromHex (devnetEVMInflationAddress )
79- specData .EVMInflationPerBlockGenesis = devnetEVMInflationPerBlock
80-
81- // EVM inflation is different from mainnet for now, after the Deneb1 fork.
82- specData .EVMInflationAddressDeneb1 = common .NewExecutionAddressFromHex (devnetEVMInflationAddressDeneb1 )
83- specData .EVMInflationPerBlockDeneb1 = devnetEVMInflationPerBlockDeneb1
84-
85- // Staking is different from mainnet for now.
86- specData .MaxEffectiveBalance = devnetMaxStakeAmount
87- specData .EjectionBalance = defaultEjectionBalance
88- specData .EffectiveBalanceIncrement = defaultEffectiveBalanceIncrement
8953 specData .SlotsPerEpoch = defaultSlotsPerEpoch
9054
9155 return specData
0 commit comments