Skip to content

Gossipsub sends duplicate messages to lodestar #535

@twoeths

Description

@twoeths

As debugged in lodestar ChainSafe/lodestar#8629, lodestar has to uncompress ~180 DataColumnSidecars per slot while there should only be 128

this is because the validateReceivedMessage() function being async

private async validateReceivedMessage (
and gossipsub sends some duplicate messages to lodestar in race condition

for lodestar, it could/should be synced function because:

if we can do that, then we can detect duplicate messages more efficiently in order to send exactly 128 messages per slot and lodestar doesn't have to uncompress unnecessary messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions