Skip to content

dotns-gateway: drop references to the removed StringUtils.isLitePersonLabel - #250

Merged
csmnprschv merged 5 commits into
mainfrom
fix/th-dotns-stale-label-refs
Nov 25, 2026
Merged

csmnprschv merged 5 commits into
mainfrom
fix/th-dotns-stale-label-refs

Conversation

@agustinustheo

@agustinustheo agustinustheo commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

dotNS v1.0.0 renamed StringUtils.isLitePersonLabel to isDeviceLabel. The pallet check never matched it, so these docs drop the reference instead of renaming it.

Merge after #226.

Changes

  • Remove the StringUtils.isLitePersonLabel references from the reserve_name, BaseLabel::is_valid_lite and reserve_name benchmark comments.
  • Remove the dotNS mirror claims from support/src/labels.rs, and note that MIN_LITE_USERNAME_DIGITS has the value of dotNS DEVICE_SUFFIX_DIGITS but sets a minimum rather than an exact count.

@agustinustheo
agustinustheo requested a review from a team November 16, 2026 17:55
@csmnprschv csmnprschv added D2-no audit No audit is needed C0-non-breaking This PR is not a breaking change for any runtime consuming it. labels Nov 17, 2026
…bel-refs

Signed-off-by: Cosmin Paraschiv <cosmin@parity.io>
@csmnprschv
csmnprschv enabled auto-merge (squash) November 18, 2026 11:53

@re-gius re-gius left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

support/src/labels.rs still cites StringUtils.isLitePersonLabel and StringUtils.MIN_LITE_SUFFIX_DIGITS , now DEVICE_SUFFIX_DIGITS on dotNS. Could this PR drop the mirror claim there too

@csmnprschv
csmnprschv merged commit b101b18 into main Nov 25, 2026
19 of 21 checks passed
@csmnprschv
csmnprschv deleted the fix/th-dotns-stale-label-refs branch November 25, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C0-non-breaking This PR is not a breaking change for any runtime consuming it. D2-no audit No audit is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants