mirror of
https://github.com/AtHeartEngineering/lodestar.git
synced 2026-01-09 01:28:11 -05:00
Activate ex-ante fork-choice spec tests (#4003)
This commit is contained in:
@@ -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}`,
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user