We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1af9c0 commit cc16d7bCopy full SHA for cc16d7b
config/spec/devnet.go
@@ -33,7 +33,8 @@ const (
33
devnetElectraForkTime = 0
34
)
35
36
-// DevnetChainSpecData is the chain.SpecData for a devnet.
+// DevnetChainSpecData is the chain.SpecData for a devnet. We try to keep this
37
+// as close to the mainnet spec as possible.
38
func DevnetChainSpecData() *chain.SpecData {
39
specData := MainnetChainSpecData()
40
specData.DepositEth1ChainID = DevnetEth1ChainID
@@ -42,6 +43,9 @@ func DevnetChainSpecData() *chain.SpecData {
42
43
specData.Deneb1ForkTime = devnetDeneb1ForkTime
44
specData.ElectraForkTime = devnetElectraForkTime
45
46
+ // Use fewer slots per epoch for devnet to speed up testing.
47
+ specData.SlotsPerEpoch = 32
48
+
49
return specData
50
}
51
0 commit comments