pub fn aggregated_attestation(
        message_id: MessageId,
        peer_id: PeerId,
        aggregate: SignedAggregateAndProof<T::EthSpec>,
        seen_timestamp: Duration,
    ) -> Self {
        Self {
            drop_during_sync: true,
            work: Work::GossipAggregate {
                message_id,
                peer_id,
                aggregate: Box::new(aggregate),
                seen_timestamp,
            },
        }
    }
/// Create a new `Work` event for some aggregated attestation.
Create a new `Work` event for some aggregated attestation.
Create a new ` Work ` event for some aggregated attestation .
pub fn aggregated_attestation(
        message_id: MessageId,
        peer_id: PeerId,
        aggregate: SignedAggregateAndProof<T::EthSpec>,
        seen_timestamp: Duration,
    ) -> Self {
        Self {
            drop_during_sync: true,
            work: Work::GossipAggregate {
                message_id,
                peer_id,
                aggregate: Box::new(aggregate),
                seen_timestamp,
            },
        }
    }
pub fn aggregated_attestation ( message_id : MessageId , peer_id : PeerId , aggregate : SignedAggregateAndProof < T :: EthSpec > , seen_timestamp : Duration , ) -> Self { Self { drop_during_sync : true , work : Work :: GossipAggregate { message_id , peer_id , aggregate : Box :: new ( aggregate ) , seen_timestamp , } , } }
Create a new `Work` event for some aggregated attestation.
Create a new ` Work ` event for some aggregated attestation .
message_id
MessageId
peer_id
PeerId
aggregate
SignedAggregateAndProof<T::EthSpec>
seen_timestamp
Duration