subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

`MechId` naming inconsistency

Open antlerminator opened this issue 1 year ago • 0 comments

This problem was already pointed out in CoR Discord but I find it annoying to the point that it requires an issue.

MechId naming is inconsistent across the internal and public-facing (extrinsics & runtime calls) Subtensor code. There are at least 3 different naming conventions throughout the codebase to name the same thing:

  • MechId (type)
  • mecId (arg name)
  • subId (arg name)

This should be refactored and everything should start using the same naming convention.

Personally, I find mechId for arg/var names and MechId for types perfect names for this.

antlerminator avatar Oct 02 '25 19:10 antlerminator