Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Repair CLique Proposer Selection #339

Merged
merged 2 commits into from
Nov 30, 2018
Merged

Repair CLique Proposer Selection #339

merged 2 commits into from
Nov 30, 2018

Conversation

rain-on
Copy link
Contributor

@rain-on rain-on commented Nov 30, 2018

Clique Proposer Selection would choose an incorrect peer
when a signer was removed from the pool, as the algorithm worked
purely on the block count.

The algorithm has now been updated to ensure the next proposer is
incrementally the next signer in the ordered list, based on the
parent's proposer

Clique Proposer Selection would choose an incorrect peer
when a signer was removed from the pool, as the algorithm worked
purely on the block count.

The algorithm has now been updated to ensure the next proposer is
incrementally the next signer in the ordered list, based on the
parent's proposer
@rain-on rain-on added the bug Something isn't working label Nov 30, 2018
@rain-on rain-on merged commit b8dbfd5 into PegaSysEng:master Nov 30, 2018
@shemnon
Copy link
Contributor

shemnon commented Nov 30, 2018

This broke Görli, hard. I think it should be rolled back until it doesn't break Görli

shemnon added a commit that referenced this pull request Nov 30, 2018
shemnon added a commit to shemnon/pantheon that referenced this pull request Nov 30, 2018
…li testnet

Reverts PegaSysEng#339

Görli's testnet regularly has proposers miss their turn and their
genesis block actually had a bad validator specified (that was voted out
as soon as they could) So many blocks do not have the proper "proposer"
as their block generator. As a consequence the
CliqueDifficultyValidationRule fails regularly, in fact it fails at
block 3, so this should be easy to re-create locally.
shemnon added a commit to shemnon/pantheon that referenced this pull request Nov 30, 2018
…li testnet

Reverts PegaSysEng#339

Görli's testnet regularly has proposers miss their turn and their
genesis block actually had a bad validator specified (that was voted out
as soon as they could) So many blocks do not have the proper "proposer"
as their block generator. As a consequence the
CliqueDifficultyValidationRule fails regularly, in fact it fails at
block 3, so this should be easy to re-create locally.
shemnon added a commit that referenced this pull request Nov 30, 2018
…#343)

Reverts #339

Görli's testnet regularly has proposers miss their turn and their
genesis block actually had a bad validator specified (that was voted out
as soon as they could) So many blocks do not have the proper "proposer"
as their block generator. As a consequence the
CliqueDifficultyValidationRule fails regularly, in fact it fails at
block 3, so this should be easy to re-create locally.
@rain-on rain-on deleted the cpr branch January 16, 2019 21:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants