mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-11 11:14:17 +00:00
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
parent
6f64d46bc4
commit
22719f2748
@ -127,7 +127,7 @@ def invalid_cases():
|
||||
))
|
||||
if mode == RandomizationMode.mode_max_count:
|
||||
serialized = serialize(container_case_fn(rng, mode, typ))
|
||||
serialized = serialized + serialized[0:2]
|
||||
serialized = serialized + serialized[:2]
|
||||
yield f'{name}_{mode.to_name()}_last offset_{offset_index}_overflow', \
|
||||
invalid_test_case(lambda: serialized)
|
||||
if mode == RandomizationMode.mode_one_count:
|
||||
|
Loading…
x
Reference in New Issue
Block a user