Fix dimension of nodeId and remove outdated comment (#3445)

* Fix dimension of nodeId and remove incorrect comment

* Remove debugging
This commit is contained in:
Dmitrii Shmatko 2023-08-03 19:12:07 +03:00 committed by GitHub
parent 56d6d1a51e
commit 36d9ea6cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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