Skip to content

validator index: mv compute_subnet_id to ValidatorIndex#370

Merged
tcoratger merged 2 commits intoleanEthereum:mainfrom
tcoratger:compute_subnet_id
Feb 6, 2026
Merged

validator index: mv compute_subnet_id to ValidatorIndex#370
tcoratger merged 2 commits intoleanEthereum:mainfrom
tcoratger:compute_subnet_id

Conversation

@tcoratger
Copy link
Collaborator

🗒️ Description

@kamilsa Since we already have a ValidatorIndex class I think that is simpler to just move the compute_subnet_id method inside so that we don't need the subnet.py file anymore and the function is well classified inside a class.

🔗 Related Issues or PRs

✅ Checklist

  • Ran tox checks to avoid unnecessary CI fails:
    uvx tox
  • Considered adding appropriate tests for the changes.
  • Considered updating the online docs in the ./docs/ directory.

@tcoratger tcoratger requested a review from kamilsa February 6, 2026 17:38
@tcoratger tcoratger merged commit 6446f86 into leanEthereum:main Feb 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants