Skip to content

Commit

Permalink
Fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 9, 2023
1 parent 43ef4f0 commit ee665df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ describe("Sync Committee Signature validation", function () {
const headState = generateCachedAltairState({slot: currentSlot}, altairForkEpoch);

chain.getHeadState.mockReturnValue(headState);
chain.bls.verifySignatureSets.mockReturnValue(false);
await expectRejectedWithLodestarError(
validateGossipSyncCommittee(chain, syncCommittee, 0),
SyncCommitteeErrorCode.INVALID_SIGNATURE
Expand Down

0 comments on commit ee665df

Please sign in to comment.