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

re-enable dropped ssz test generators #2740

Merged
merged 1 commit into from
Nov 30, 2021
Merged

Conversation

asanso
Copy link
Contributor

@asanso asanso commented Nov 24, 2021

Some test were skipped to the missing mode part:{mode.to_name()}

Copy link
Member

@ralexstokes ralexstokes left a comment

Choose a reason for hiding this comment

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

nice work! it seems that these tests were unintentionally dropped the last time this generator was written.

i ran this generator on dev and against this pr:

  • dev
    • completed generation of ssz_generic with 1905 tests (42 skipped tests) in 25.14 seconds
  • this-pr
    • completed generation of ssz_generic with 1947 tests (0 skipped tests) in 25.71 seconds

where this PR avoids the collision to produce the 42 "skipped" tests.

i'll approve now and run against another ssz implementation to verify before merging.

@djrtwo djrtwo changed the title Update ssz_container.py re-enable dropped ssz test generators Nov 24, 2021
@ralexstokes
Copy link
Member

i ran the new tests against my ssz implementation and they all seem to pass (and not cause any issues).

bc of the way randomness works in the test generator, it does modify two existing tests and removes the handful of previous "collapsed" tests but i don't see an immediate issue with this.

i'll go ahead and merge

@ralexstokes ralexstokes merged commit a20ed34 into ethereum:dev Nov 30, 2021
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.

None yet

3 participants