Skip to content

Commit

Permalink
fix: state-transition CachedBeaconState unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Sep 18, 2024
1 parent 5d0ba07 commit ecfda6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe("CachedBeaconState", () => {

expect(state1.epochCtx.getValidatorIndex(pubkey1)).toBe(index1);
expect(state2.epochCtx.getValidatorIndex(pubkey1)).toBe(index1);
expect(state1.epochCtx.getValidatorIndex(pubkey2)).toBe(undefined);
expect(state1.epochCtx.getValidatorIndex(pubkey2)).toBe(null);
expect(state2.epochCtx.getValidatorIndex(pubkey2)).toBe(index2);
});

Expand Down

0 comments on commit ecfda6b

Please sign in to comment.