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

Two tests for proposer indices being off because of (in)active validators #1518

Merged
merged 3 commits into from
Dec 12, 2019

Conversation

protolambda
Copy link
Contributor

fixes #1515

As described in the issue:

  • test for a block with a proposer index higher than an inactive index
  • test for a block with a proposer index higher than active validator count

Since we can't rely on the other tests, since transitions may not fully run and hit it, and the registry size is small enough that chances would be low for this kind of thing to happen.

@terencechain
Copy link
Contributor

Thanks proto!

@djrtwo djrtwo merged commit c1dc4a0 into v09x Dec 12, 2019
@djrtwo djrtwo deleted the proposers-1515 branch December 12, 2019 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants