Skip to content

Commit

Permalink
Tweak VC error message
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Jan 15, 2025
1 parent 8cc43c1 commit e900bb8
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +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) => {
// I can't think of a reason why we'd reach this error case. The
// unaggregated attestation was constructed using the validator index `i`.
// Since it's an unaggregated attestation it should only 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 e900bb8

Please sign in to comment.