Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to publish same message to multiple topics #272

Open
dapplion opened this issue Jun 9, 2022 · 1 comment · May be fixed by #326
Open

Allow to publish same message to multiple topics #272

dapplion opened this issue Jun 9, 2022 · 1 comment · May be fixed by #326
Assignees

Comments

@dapplion
Copy link
Contributor

dapplion commented Jun 9, 2022

Ethereum beacon chain requires to publish the same SyncCommitteeSignature to multiple topics on small networks.

Currently gossipsub prevents doing that by throwing PublishError.Duplicate

throw Error('PublishError.Duplicate')

Signature of async publish(topic: TopicStr, data: Uint8Array) could be changed to topics: TopicStr[] to publish to multiple topics. Or add an option to disable checking for duplicate messages

@stale
Copy link

stale bot commented Aug 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant