Skip to content

Commit

Permalink
Activate ex-ante fork-choice spec tests (#4003)
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech authored May 10, 2022
1 parent 15d8ae2 commit fd6f702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lodestar/test/spec/allForks/forkChoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const POW_BLOCK_FILE_NAME = "^(pow_block)_([0-9a-zA-Z]+)$";
const ATTESTATION_FILE_NAME = "^(attestation)_([0-9a-zA-Z])+$";

const logger = testLogger("spec-test");
export function forkChoiceTest(fork: ForkName, testFolders: string[] = ["get_head", "on_block"]): void {
export function forkChoiceTest(fork: ForkName, testFolders: string[] = ["get_head", "on_block", "ex_ante"]): void {
for (const testFolder of testFolders) {
describeDirectorySpecTest<IForkChoiceTestCase, void>(
`${ACTIVE_PRESET}/${fork}/fork_choice/${testFolder}`,
Expand Down
2 changes: 1 addition & 1 deletion packages/lodestar/test/spec/bellatrix/fork_choice.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ForkName} from "@chainsafe/lodestar-params";
import {forkChoiceTest} from "../allForks/forkChoice";

forkChoiceTest(ForkName.bellatrix, ["get_head", "on_block", "on_merge_block"]);
forkChoiceTest(ForkName.bellatrix, ["get_head", "on_block", "ex_ante", "on_merge_block"]);

0 comments on commit fd6f702

Please sign in to comment.