Skip to content

Gloas: send early payload envelopes to reprocess queue #8922

@jimmygchen

Description

@jimmygchen

Description

Early payload envelopes (arriving before their slot is current) are detected by the gossip handler but silently dropped instead of being sent to the reprocess queue:

"envelope arrived early"
);
// TODO(gloas) update metrics to note how early the envelope arrived
let inner_self = self.clone();
let _process_fn = Box::pin(async move {
inner_self
.process_gossip_verified_execution_payload_envelope(
peer_id,
verified_envelope,

Blocks already handle this by sending early arrivals to the reprocess queue with a delay. Envelopes should do the same to avoid unnecessary RPC lookups.

Related to #8806.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions