Skip to content

docs(cfxaddress): design strict CIP-37 network prefix validation - #251

Open
wangdayong228 wants to merge 2 commits into
masterfrom
cfxaddress-strict-cip37-prefix-validation
Open

wangdayong228 wants to merge 2 commits into
masterfrom
cfxaddress-strict-cip37-prefix-validation

Conversation

@wangdayong228

@wangdayong228 wangdayong228 commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add design spec for strict CIP-37 network prefix validation in types/cfxaddress (netN must be canonical decimal; reject reserved net1/net1029, leading zeros, and non-decimal forms).
  • Ignore local superpowers/ working directories so leftover plan/spec artifacts stay out of git status by default.

Test plan

  • Review the design doc against CIP-37 prefix rules and current getIDWhenBeginWithNet behavior
  • Confirm follow-up implementation will cover the listed accept/reject cases and NewFromBase32 regression path
  • No production code changes in this PR; implementation should follow in a subsequent PR

Made with Cursor


This change is Reviewable

wangdayong228 and others added 2 commits September 15, 2026 11:13
Keep local Superpowers plan/spec artifacts out of git status by default.

Co-authored-by: Cursor <cursoragent@cursor.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

1 participant