Skip to content

Conversation

@panniki
Copy link

@panniki panniki commented Dec 2, 2025

Description

This PR fixes various typos throughout the subtensor pallet codebase in comments, constants, and test variable names.

Fixed typos:

  • MIN_COMMIT_REVEAL_PEROIDSMIN_COMMIT_REVEAL_PERIODS
  • MAX_COMMIT_REVEAL_PEROIDSMAX_COMMIT_REVEAL_PERIODS
  • chidlkeychildkey (in comment)
  • occuredoccurred (in comments)
  • recievedreceived (in comments)
  • pandingpending (in comments)
  • AvtiveActive (in comments)
  • alph_lowalpha_low (in test variable)

Related Issue(s)

  • N/A

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

Breaking Change

N/A - This PR only fixes typos in comments, constants, and test code. No storage items or runtime logic is modified.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run ./scripts/fix_rust.sh to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)

N/A

Additional Notes

All changes are non-functional spelling corrections that improve code readability and consistency. Storage item names have been
intentionally left unchanged to avoid requiring runtime migrations.

@panniki panniki changed the title Fix typos in subtensor pallettypos Typos Dec 2, 2025
@cuteolaf
Copy link
Contributor

cuteolaf commented Dec 2, 2025

Renaming a storage item requires migration.

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