Skip to content

Commit

Permalink
Fix check-types
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed May 5, 2024
1 parent 77b839e commit 0de6dfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-node/test/spec/presets/fork_choice.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const forkChoiceTest =
if (!attestation) throw Error(`No attestation ${step.attestation}`);
const headState = chain.getHeadState();
const attDataRootHex = toHexString(ssz.phase0.AttestationData.hashTreeRoot(attestation.data));
chain.forkChoice.onAttestation(headState.epochCtx.getIndexedAttestation(attestation), attDataRootHex);
chain.forkChoice.onAttestation(headState.epochCtx.getIndexedAttestation(ForkSeq[fork], attestation), attDataRootHex);
}

// attester slashing step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ApiAttestation,
GossipAttestation,
validateApiAttestation,
validateAttestation,
validateAttestation,
} from "../../../../../src/chain/validation/index.js";
import {getAttDataBase64FromAttestationSerialized} from "../../../../../src/util/sszBytes.js";
import {memoOnce} from "../../../../utils/cache.js";
Expand Down

0 comments on commit 0de6dfa

Please sign in to comment.