Its not just with uint. Other folders also have similar same tests. Looks like a bug in test generator script.
Also the containers. Ssz requires a structure. There it goes input {a, b, c, d, e}
But it actually is { [a,b], c, d, e} or similar. And the container also has redundant tests
How to fix it?
Go thought the get_random_ssz_object helper and check if variation was wrongly used in non-random tests.
Thank @winsvega for reporting it.
Issue
For example, the tests uint_128_max_0 - uint_128_max_4 are redundant because
variation
doesn't make difference in non-random tests.It also applies to other SSZ types:
How to fix it?
Go thought the
get_random_ssz_object
helper and check ifvariation
was wrongly used in non-random tests.