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

zoneconcierge: fix flaky test FuzzProofEpochSealed_BLSSig #256

Merged
merged 2 commits into from
Dec 23, 2022

Conversation

SebastianElvis
Copy link
Member

Fixes #251

This PR fixes a flaky test FuzzProofEpochSealed_BLSSig. The test ensures that a BLS sig with a quorum can pass verification, otherwise it cannot. The test was flaky because checking whether a BLS sig has a quorum via comparing number of signed validators rather than voting power. Since each validator has 1000 voting power according to datagen.GenerateValidatorSetWithBLSPrivKeys, measuring quorum via voting power is more precise than via number of validators.

@SebastianElvis SebastianElvis merged commit 2b8e93b into dev Dec 23, 2022
@SebastianElvis SebastianElvis deleted the zoneconcierge-fix-fuzzproofepochsealed-bls branch December 23, 2022 05:49
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.

Flaky zoneconcierge test
2 participants