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

improve: Relax the signature check in BatchVote #170

Merged
merged 5 commits into from
Aug 2, 2024

Conversation

aakoshh
Copy link
Contributor

@aakoshh aakoshh commented Aug 2, 2024

What ❔

BatchVote::update ignores invalid signatures instead of returning an error.

Why ❔

Because on stage-v2 the moby variant of the external node runs an earlier version of the code without the Batch::genesis field, which causes it to reject all votes coming from the main and the other external nodes. The error causes it to disconnect its gossip peers, which is a bit heavy handed given that this is an unstable feature.

Copy link
Collaborator

@pompon0 pompon0 left a comment

Choose a reason for hiding this comment

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

added comment

@aakoshh aakoshh requested a review from pompon0 August 2, 2024 12:58
@brunoffranca brunoffranca merged commit 920c95f into main Aug 2, 2024
5 checks passed
@brunoffranca brunoffranca deleted the relax-batch-vote-signature-check branch August 2, 2024 14:07
aakoshh added a commit that referenced this pull request Aug 2, 2024
## What ❔

Bumps the version to `0.1.0-rc.6`

## Why ❔

So that we can release
#170 and
#169 to make zksync-era
backwards compatible.
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.

3 participants