diff --git a/tests/core/pyspec/eth2spec/test/eip7594/networking/test_get_custody_columns.py b/tests/core/pyspec/eth2spec/test/eip7594/networking/test_get_custody_columns.py index 25cdbc4f8c..5d6bebc745 100644 --- a/tests/core/pyspec/eth2spec/test/eip7594/networking/test_get_custody_columns.py +++ b/tests/core/pyspec/eth2spec/test/eip7594/networking/test_get_custody_columns.py @@ -76,6 +76,14 @@ def test_get_custody_columns__max_node_id_max_custody_subnet_count_minus_1(spec) ) +@with_eip7594_and_later +@spec_test +@single_phase +def test_get_custody_columns__short_node_id(spec): + rng = random.Random(1234) + yield from _run_get_custody_columns(spec, rng, node_id=123) + + @with_eip7594_and_later @spec_test @single_phase diff --git a/tests/formats/networking/get_custody_columns.md b/tests/formats/networking/get_custody_columns.md index 03b21f729e..ee0c30859c 100644 --- a/tests/formats/networking/get_custody_columns.md +++ b/tests/formats/networking/get_custody_columns.md @@ -8,7 +8,7 @@ ```yaml description: string -- optional: description of test case, purely for debugging purposes. -node_id: int -- argument: the NodeId input. +node_id: int -- argument: the NodeID input. custody_subnet_count: int -- argument: the count of custody subnets. result: list of int -- output: the list of resulting column indices. ```