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

CanonicalVoteExtension signature support #837

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

tony-iqlusion
Copy link
Member

When present, computes a secondary signature over Vote::extension.

Closes #831 #835

When present, computes a secondary signature over `Vote::extension`.

Closes #831 #835
@mkaczanowski
Copy link
Contributor

mkaczanowski commented Jan 11, 2024

it's running for ~15 minutes already, so far no issue. Will keep it for the night and observe logs

UPDATE: I think it's working fine

@tony-iqlusion tony-iqlusion changed the title [WIP] CanonicalVoteExtension signature support CanonicalVoteExtension signature support Jan 12, 2024
@tony-iqlusion tony-iqlusion marked this pull request as ready for review January 12, 2024 00:55
@tony-iqlusion tony-iqlusion merged commit 6480827 into main Jan 12, 2024
8 checks passed
@tony-iqlusion tony-iqlusion deleted the canonical-vote-extension-support branch January 12, 2024 01:03
@tony-iqlusion tony-iqlusion mentioned this pull request Jan 18, 2024
match self {
Self::Proposal(_) => Ok(None),
Self::Vote(vote) => {
// Only sign extension if actually present
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if vote.extension is empty, but vote extensions are enabled, the signature must be present.

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.

consensus failure on cosmos-sdk v0.50.2 and comet v0.38.2
5 participants