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

Add signatures to ProposalPart and Vote and remove ConsensusMessage #45

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

romac
Copy link

@romac romac commented Aug 26, 2024

As discussed with @matan-starkware off band, we can remove the ConsensusMessage proto as votes and proposal parts will transmitted over different GossipSub topics and can therefore each have their own message types instead of an enumeration.

We therefore need to add a signature field to the Vote and ProposalPart (previously Proposal) protos.

/cc @matan-starkware @ShahakShama @ittayd

romac added 3 commits August 26, 2024 16:29
Proposal parts and votes will be transmitted over different GossipSub topics,
therefore they can each have their own message type instead of an enumeration.
@ittaysw
Copy link
Collaborator

ittaysw commented Sep 1, 2024

The reasoning is that a proposal is a stream of messages and votes are single messages. Stream messages require a different protocol than single messages and so it's not "worth it" to cobble the votes into that protocol.

@romac
Copy link
Author

romac commented Sep 25, 2024

Anything else needed for merging this PR?

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

Successfully merging this pull request may close these issues.

2 participants