11# beacon_chain
2- # Copyright (c) 2018-2024 Status Research & Development GmbH
2+ # Copyright (c) 2018-2025 Status Research & Development GmbH
33# Licensed and distributed under either of
44# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
55# * 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.} =
5353from ../../ beacon_chain/ spec/ datatypes/ phase0 import BeaconState
5454
5555suite " EF - Phase 0 - Sanity - Slots " & preset ():
56- const phase0SanitySlotsDir = sanitySlotsDir (" phase0" )
56+ const sanitySlotsDir = sanitySlotsDir (" phase0" )
5757 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)
6060
6161from ../../ beacon_chain/ spec/ datatypes/ altair import BeaconState
6262
6363suite " EF - Altair - Sanity - Slots " & preset ():
64- const altairSanitySlotsDir = sanitySlotsDir (" altair" )
64+ const sanitySlotsDir = sanitySlotsDir (" altair" )
6565 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)
6868
6969from ../../ beacon_chain/ spec/ datatypes/ bellatrix import BeaconState
7070
7171suite " EF - Bellatrix - Sanity - Slots " & preset ():
72- const bellatrixSanitySlotsDir = sanitySlotsDir (" bellatrix" )
72+ const sanitySlotsDir = sanitySlotsDir (" bellatrix" )
7373 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)
7676
7777from ../../ beacon_chain/ spec/ datatypes/ capella import BeaconState
7878
7979suite " EF - Capella - Sanity - Slots " & preset ():
80- const capellaSanitySlotsDir = sanitySlotsDir (" capella" )
80+ const sanitySlotsDir = sanitySlotsDir (" capella" )
8181 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)
8484
8585from ../../ beacon_chain/ spec/ datatypes/ deneb import BeaconState
8686
8787suite " EF - Deneb - Sanity - Slots " & preset ():
88- const denebSanitySlotsDir = sanitySlotsDir (" deneb" )
88+ const sanitySlotsDir = sanitySlotsDir (" deneb" )
8989 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)
9292
9393from ../../ beacon_chain/ spec/ datatypes/ electra import BeaconState
9494
9595suite " EF - Electra - Sanity - Slots " & preset ():
96- const electraSanitySlotsDir = sanitySlotsDir (" electra" )
96+ const sanitySlotsDir = sanitySlotsDir (" electra" )
9797 for kind, path in walkDir (
98- electraSanitySlotsDir , relative = true , checkDir = true ):
98+ sanitySlotsDir , relative = true , checkDir = true ):
9999 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