Skip to content

Commit

Permalink
Generate SSZ and correct Attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bez625 committed Jan 16, 2025
1 parent ebb545b commit ea83322
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spec/electra/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Attestation struct {
Data *phase0.AttestationData
Signature phase0.BLSSignature `ssz-size:"96"`
// bitfield.Bitvector64 is an 8 byte array so dynamic sizing doesn't make sense.
CommitteeBits bitfield.Bitvector64 `ssz-size:"64"`
CommitteeBits bitfield.Bitvector64 `ssz-size:"8"`
}

// attestationJSON is a raw representation of the struct.
Expand Down
12 changes: 6 additions & 6 deletions spec/electra/attestation_ssz.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea83322

Please sign in to comment.