diff --git a/tests/core/pyspec/eth2spec/test/phase0/unittests/validator/test_validator_unittest.py b/tests/core/pyspec/eth2spec/test/phase0/unittests/validator/test_validator_unittest.py index 918ab96e2..f5f417bba 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/unittests/validator/test_validator_unittest.py +++ b/tests/core/pyspec/eth2spec/test/phase0/unittests/validator/test_validator_unittest.py @@ -485,7 +485,7 @@ def test_get_aggregate_and_proof_signature(spec, state): def run_compute_subscribed_subnets_arguments(spec, rng=random.Random(1111)): - node_id = rng.randint(0, 2**40 - 1) # try VALIDATOR_REGISTRY_LIMIT + node_id = rng.randint(0, 2**256 - 1) epoch = rng.randint(0, 2**64 - 1) subnets = spec.compute_subscribed_subnets(node_id, epoch) assert len(subnets) == spec.config.SUBNETS_PER_NODE