Skip to content

Commit

Permalink
Fix dimension of nodeId and remove outdated comment (#3445)
Browse files Browse the repository at this point in the history
* Fix dimension of nodeId and remove incorrect comment

* Remove debugging
  • Loading branch information
zilm13 authored Aug 3, 2023
1 parent 56d6d1a commit 36d9ea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36d9ea6

Please sign in to comment.