Skip to content

Commit

Permalink
initialize spec before
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Oct 23, 2023
1 parent de2949f commit 9472a3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public void runTest(final TestDefinition testDefinition) throws Throwable {

// Note: The fork choice spec says there may be settings in a meta.yaml file but currently no
// tests actually have one, so we currently don't bother trying to load it.
final Spec spec = testDefinition.getSpec(false);
final BeaconState anchorState =
TestDataUtils.loadStateFromSsz(testDefinition, "anchor_state" + SSZ_SNAPPY_EXTENSION);
final Spec spec = testDefinition.getSpec(false);
final SignedBeaconBlock anchorBlock = loadAnchorBlock(testDefinition);

final StorageSystem storageSystem =
Expand Down

0 comments on commit 9472a3a

Please sign in to comment.