mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 07:14:56 -05:00
Fix dimension of nodeId and remove outdated comment (#3445)
* Fix dimension of nodeId and remove incorrect comment * Remove debugging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user