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

Test generationm: make nil-count randomization work for lists #1347

Merged
merged 1 commit into from
Aug 12, 2019
Merged

Conversation

protolambda
Copy link
Contributor

The "nil" randomization mode only targeted byte lists, this PR changes that to also make lists 0 in count. The previous tests generated are valid, but not nil. Problem found by @schroedingerscode.

Also see ethereum/consensus-spec-tests#11 which updates the tests to reflect this change, along with putting back the BLS tests (they somehow where not included in v0.8.2)

Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

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

LGTM

@djrtwo djrtwo merged commit 54a85ce into v08x Aug 12, 2019
@djrtwo djrtwo deleted the nil-count branch August 12, 2019 17: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