Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Jan 15, 2025
2 parents 72da039 + e900bb8 commit b9b9b99
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,13 +464,11 @@ impl<T: SlotClock + 'static, E: EthSpec> AttestationService<T, E> {
match a.to_single_attestation_with_attester_index(*i as usize) {
Ok(a) => Some(a),
Err(e) => {
// If the BN and VC are out of sync, we could get an `IncorrectStateVariant` error here.
// Assuming the BN and VC are in sync, we shouldn't see any other errors.
// The unaggregated attestation was constructed using the validator index `i`.
// It's an unaggregated attestation so it's guaranteed to have one committee bit set.
// This shouldn't happen unless BN and VC are out of sync with
// respect to the Electra fork.
error!(
log,
"Unable to convert to single_attestation";
"Unable to convert to SingleAttestation";
"error" => ?e,
"committee_index" => attestation_data.index,
"slot" => slot.as_u64(),
Expand Down

0 comments on commit b9b9b99

Please sign in to comment.