Skip to content

Commit

Permalink
Add temp todos
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Mar 13, 2023
1 parent 4c1ca33 commit 090104f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/validator/src/services/attestation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ export class AttestationService {

await Promise.all(
duties.map(async ({duty}) => {
// TODO: duty <> attestation consistency check required? slot and index are checked by lighthouse
// see https://github.com/sigp/lighthouse/blob/319cc61afeb1dbf3692e280dfa18e7b455542b16/validator_client/src/attestation_service.rs#L367
const index = duty.committeeIndex;
// TODO: mutating is not required if attestation grouping is disabled as actual committee index is already set
const attestationData: phase0.AttestationData = {...attestationNoCommittee, index};
const logCtxValidator = {slot, index, head: headRootHex, validatorIndex: duty.validatorIndex};

Expand Down

0 comments on commit 090104f

Please sign in to comment.