Skip to content

Commit

Permalink
Fix issue with build-in validators aggregating Electra attestations i…
Browse files Browse the repository at this point in the history
…n wrong committees
  • Loading branch information
povi committed Dec 9, 2024
1 parent a41add9 commit 992e17d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion validator/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,12 @@ impl<P: Preset, W: Wait + Sync> Validator<P, W> {
selection_proof,
})?;

Some((own_attestation.attestation.data(), aggregator))
let data = AttestationData {
index: committee_index,
..own_attestation.attestation.data()
};

Some((data, aggregator))
})
.pipe(group_into_btreemap);

Expand Down

0 comments on commit 992e17d

Please sign in to comment.