File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
beacon-node/src/network/gossip Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export function getGossipSSZType(topic: GossipTopic) {
8888 case GossipType . beacon_aggregate_and_proof :
8989 return sszTypesFor ( topic . fork ) . SignedAggregateAndProof ;
9090 case GossipType . beacon_attestation :
91- return sszTypesFor ( topic . fork ) . Attestation ;
91+ return sszTypesFor ( topic . fork ) . SingleAttestation ;
9292 case GossipType . proposer_slashing :
9393 return ssz . phase0 . ProposerSlashing ;
9494 case GossipType . attester_slashing :
Original file line number Diff line number Diff line change @@ -316,6 +316,8 @@ export const Attestation = new ContainerType(
316316 { typeName : "Attestation" , jsonCase : "eth2" }
317317) ;
318318
319+ export const SingleAttestation = Attestation ;
320+
319321export const AttesterSlashing = new ContainerType (
320322 {
321323 // In state transition, AttesterSlashing attestations are only partially validated. Their slot and epoch could
You can’t perform that action at this time.
0 commit comments