Skip to content

Commit

Permalink
fix breaking spec
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Feb 19, 2023
1 parent 95e4128 commit b17c69e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/beacon-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"@multiformats/multiaddr": "^11.0.0",
"@types/datastore-level": "^3.0.0",
"buffer-xor": "^2.0.2",
"c-kzg": "^1.0.9",
"cross-fetch": "^3.1.4",
"datastore-core": "^8.0.1",
"datastore-level": "^9.0.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/beacon-node/test/spec/presets/fork_choice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {getEmptyBlobsSidecar} from "../../../src/util/blobs.js";
import {ZERO_HASH_HEX} from "../../../src/constants/constants.js";
import {PowMergeBlock} from "../../../src/eth1/interface.js";
import {assertCorrectProgressiveBalances} from "../config.js";
import {initCKZG, loadEthereumTrustedSetup} from "../../../src/util/kzg.js";

/* eslint-disable @typescript-eslint/naming-convention */

Expand All @@ -41,6 +42,9 @@ export const forkChoiceTest = (opts: {onlyPredefinedResponses: boolean}): TestRu
) => {
return {
testFunction: async (testcase) => {
await initCKZG();
loadEthereumTrustedSetup();

const {steps, anchorState} = testcase;
const currentSlot = anchorState.slot;
const config = getConfig(fork);
Expand Down

0 comments on commit b17c69e

Please sign in to comment.