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 @@ -89,7 +89,7 @@ export function getGossipSSZType(topic: GossipTopic) {
8989 case GossipType . beacon_aggregate_and_proof :
9090 return sszTypesFor ( topic . fork ) . SignedAggregateAndProof ;
9191 case GossipType . beacon_attestation :
92- return sszTypesFor ( topic . fork ) . Attestation ;
92+ return sszTypesFor ( topic . fork ) . SingleAttestation ;
9393 case GossipType . proposer_slashing :
9494 return ssz . phase0 . ProposerSlashing ;
9595 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