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

Implement the logic for quorum check #837

Merged
merged 15 commits into from
Nov 10, 2022

Conversation

vcastellm
Copy link
Contributor

@vcastellm vcastellm commented Oct 25, 2022

Description

This PR goes together with 0xPolygon/go-ibft#39

Depending on the message type it will implement different kinds of quorum checks.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

Manual tests

Local cluster can run fine.

@codecov
Copy link

codecov bot commented Oct 25, 2022

Codecov Report

❗ No coverage uploaded for pull request base (feature/v3-parity@8db3965). Click here to learn what that means.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             feature/v3-parity     #837   +/-   ##
====================================================
  Coverage                     ?   53.96%           
====================================================
  Files                        ?      158           
  Lines                        ?    21442           
  Branches                     ?        0           
====================================================
  Hits                         ?    11571           
  Misses                       ?     8924           
  Partials                     ?      947           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@b00ris
Copy link
Contributor

b00ris commented Oct 26, 2022

The solution looks good to me.

@vcastellm vcastellm changed the base branch from develop to feature/v3-parity November 8, 2022 08:26
@vcastellm vcastellm changed the base branch from feature/v3-parity to develop November 8, 2022 08:27
@vcastellm vcastellm changed the base branch from develop to feature/v3-parity November 8, 2022 09:34
Copy link
Collaborator

@Stefan-Ethernal Stefan-Ethernal left a comment

Choose a reason for hiding this comment

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

LGTM

consensus/ibft/consensus_backend.go Outdated Show resolved Hide resolved
@vcastellm vcastellm merged commit 2f06ecd into feature/v3-parity Nov 10, 2022
@vcastellm vcastellm deleted the feature/move-quorum-to-edge branch November 10, 2022 11:08
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New update to Polygon Edge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants