1
1
# beacon_chain
2
- # Copyright (c) 2018-2024 Status Research & Development GmbH
2
+ # Copyright (c) 2018-2025 Status Research & Development GmbH
3
3
# Licensed and distributed under either of
4
4
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
5
5
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
@@ -53,48 +53,57 @@ func sanitySlotsDir(preset_dir: string): string {.compileTime.} =
53
53
from ../../ beacon_chain/ spec/ datatypes/ phase0 import BeaconState
54
54
55
55
suite " EF - Phase 0 - Sanity - Slots " & preset ():
56
- const phase0SanitySlotsDir = sanitySlotsDir (" phase0" )
56
+ const sanitySlotsDir = sanitySlotsDir (" phase0" )
57
57
for kind, path in walkDir (
58
- phase0SanitySlotsDir , relative = true , checkDir = true ):
59
- runTest (phase0.BeaconState , phase0SanitySlotsDir , " Phase 0" , suiteName, path)
58
+ sanitySlotsDir , relative = true , checkDir = true ):
59
+ runTest (phase0.BeaconState , sanitySlotsDir , " Phase 0" , suiteName, path)
60
60
61
61
from ../../ beacon_chain/ spec/ datatypes/ altair import BeaconState
62
62
63
63
suite " EF - Altair - Sanity - Slots " & preset ():
64
- const altairSanitySlotsDir = sanitySlotsDir (" altair" )
64
+ const sanitySlotsDir = sanitySlotsDir (" altair" )
65
65
for kind, path in walkDir (
66
- altairSanitySlotsDir , relative = true , checkDir = true ):
67
- runTest (altair.BeaconState , altairSanitySlotsDir , " Altair" , suiteName, path)
66
+ sanitySlotsDir , relative = true , checkDir = true ):
67
+ runTest (altair.BeaconState , sanitySlotsDir , " Altair" , suiteName, path)
68
68
69
69
from ../../ beacon_chain/ spec/ datatypes/ bellatrix import BeaconState
70
70
71
71
suite " EF - Bellatrix - Sanity - Slots " & preset ():
72
- const bellatrixSanitySlotsDir = sanitySlotsDir (" bellatrix" )
72
+ const sanitySlotsDir = sanitySlotsDir (" bellatrix" )
73
73
for kind, path in walkDir (
74
- bellatrixSanitySlotsDir , relative = true , checkDir = true ):
75
- runTest (bellatrix.BeaconState , bellatrixSanitySlotsDir , " Bellatrix" , suiteName, path)
74
+ sanitySlotsDir , relative = true , checkDir = true ):
75
+ runTest (bellatrix.BeaconState , sanitySlotsDir , " Bellatrix" , suiteName, path)
76
76
77
77
from ../../ beacon_chain/ spec/ datatypes/ capella import BeaconState
78
78
79
79
suite " EF - Capella - Sanity - Slots " & preset ():
80
- const capellaSanitySlotsDir = sanitySlotsDir (" capella" )
80
+ const sanitySlotsDir = sanitySlotsDir (" capella" )
81
81
for kind, path in walkDir (
82
- capellaSanitySlotsDir , relative = true , checkDir = true ):
83
- runTest (capella.BeaconState , capellaSanitySlotsDir , " Capella" , suiteName, path)
82
+ sanitySlotsDir , relative = true , checkDir = true ):
83
+ runTest (capella.BeaconState , sanitySlotsDir , " Capella" , suiteName, path)
84
84
85
85
from ../../ beacon_chain/ spec/ datatypes/ deneb import BeaconState
86
86
87
87
suite " EF - Deneb - Sanity - Slots " & preset ():
88
- const denebSanitySlotsDir = sanitySlotsDir (" deneb" )
88
+ const sanitySlotsDir = sanitySlotsDir (" deneb" )
89
89
for kind, path in walkDir (
90
- denebSanitySlotsDir , relative = true , checkDir = true ):
91
- runTest (deneb.BeaconState , denebSanitySlotsDir , " Deneb" , suiteName, path)
90
+ sanitySlotsDir , relative = true , checkDir = true ):
91
+ runTest (deneb.BeaconState , sanitySlotsDir , " Deneb" , suiteName, path)
92
92
93
93
from ../../ beacon_chain/ spec/ datatypes/ electra import BeaconState
94
94
95
95
suite " EF - Electra - Sanity - Slots " & preset ():
96
- const electraSanitySlotsDir = sanitySlotsDir (" electra" )
96
+ const sanitySlotsDir = sanitySlotsDir (" electra" )
97
97
for kind, path in walkDir (
98
- electraSanitySlotsDir , relative = true , checkDir = true ):
98
+ sanitySlotsDir , relative = true , checkDir = true ):
99
99
runTest (
100
- electra.BeaconState , electraSanitySlotsDir, " Electra" , suiteName, path)
100
+ electra.BeaconState , sanitySlotsDir, " Electra" , suiteName, path)
101
+
102
+ from ../../ beacon_chain/ spec/ datatypes/ fulu import BeaconState
103
+
104
+ suite " EF - Fulu - Sanity - Slots " & preset ():
105
+ const sanitySlotsDir = sanitySlotsDir (" fulu" )
106
+ for kind, path in walkDir (
107
+ sanitySlotsDir, relative = true , checkDir = true ):
108
+ runTest (
109
+ fulu.BeaconState , sanitySlotsDir, " Fulu" , suiteName, path)
0 commit comments