Skip to content

fix(dns): use sha256 for category keys (TEP-81) - #96

Open
TONresistor wants to merge 2 commits into
ton-blockchain:masterfrom
TONresistor:fix/dns-category-sha256
Open

fix(dns): use sha256 for category keys (TEP-81)#96
TONresistor wants to merge 2 commits into
ton-blockchain:masterfrom
TONresistor:fix/dns-category-sha256

Conversation

@TONresistor

Copy link
Copy Markdown

TEP-81 keys DNS categories by sha256(name); these contracts used .toBase256() (raw bytes). Switched dns/ to .sha256(). Tests green.

Mainnet .ton reads categories as sha256 (nft-item.fc); the example used
.toBase256() (raw bytes), breaking interop. Align contracts/scripts/tests.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@TONresistor

Copy link
Copy Markdown
Author

CI exposed six deprecated reserveToncoinsOnBalance calls. The latest commit replaces them with reserveGramsOnBalance without changing behavior.

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