Skip to content

docs(crypto): fix dangling reference to deleted hash-poseidon.ts#48

Merged
0xErgod merged 1 commit into
mainfrom
docs/fix-dangling-hash-poseidon-ref
May 28, 2026
Merged

docs(crypto): fix dangling reference to deleted hash-poseidon.ts#48
0xErgod merged 1 commit into
mainfrom
docs/fix-dangling-hash-poseidon-ref

Conversation

@0xErgod

@0xErgod 0xErgod commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up cleanup after the ZK-friendly migration. While auditing the repo for residual legacy artifacts, found one dangling doc reference: crates/crypto/src/poseidon.rs's domain_tag comment pointed at packages/sdk/src/hash-poseidon.ts, which Phase 3 (#37) deleted. The TS side now computes the same domain tag through the crypto-wasm domain_tag binding (this crate compiled to WASM). Reworded the comment accordingly.

Comment-only; cargo check -p crypto clean.

Audit result

This was the only dangling reference left. A repo-wide sweep confirms no other references to any deleted file (suite-x25519*, suites*, encrypt*, envelope-unified, envelope-codec, hash-poseidon, the 6 legacy specs, wallet-derived-keys, import-env-keys). The remaining ChaCha20 (babyjub-cipher.md) and Blake2b/HKDF (poseidon/kdf specs + source) matches are current-design references — rationale prose and the live domain-tag primitive — not legacy.

[agent PR]

poseidon.rs's domain_tag doc pointed at packages/sdk/src/hash-poseidon.ts,
which Phase 3 (#37) deleted — the TS side now calls this crate's
domain_tag through the crypto-wasm binding. Reword to reference the WASM
binding instead. Comment-only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@0xErgod 0xErgod added the documentation Improvements or additions to documentation label May 28, 2026
@0xErgod 0xErgod self-assigned this May 28, 2026
@0xErgod 0xErgod merged commit b1e4f16 into main May 28, 2026
3 checks passed
@0xErgod 0xErgod deleted the docs/fix-dangling-hash-poseidon-ref branch May 28, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant