Update ssz_container.py
This commit is contained in:
parent
c4a60225cb
commit
7255faf41b
|
@ -104,7 +104,7 @@ def invalid_cases():
|
||||||
RandomizationMode.mode_nil_count,
|
RandomizationMode.mode_nil_count,
|
||||||
RandomizationMode.mode_one_count,
|
RandomizationMode.mode_one_count,
|
||||||
RandomizationMode.mode_max_count]:
|
RandomizationMode.mode_max_count]:
|
||||||
for offset_index in offsets:
|
for index, offset_index in enumerate(offsets):
|
||||||
yield f'{name}_{mode.to_name()}_offset_{offset_index}_plus_one', \
|
yield f'{name}_{mode.to_name()}_offset_{offset_index}_plus_one', \
|
||||||
invalid_test_case(lambda: mod_offset(
|
invalid_test_case(lambda: mod_offset(
|
||||||
b=serialize(container_case_fn(rng, mode, typ)),
|
b=serialize(container_case_fn(rng, mode, typ)),
|
||||||
|
|
Loading…
Reference in New Issue