[N-03] M3 Audit - #1744
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThe pull request updates documentation in the type hash module. It clarifies SNIP-12 type categories, tuple extensions, user-defined types, and macro-facing type names. Runtime behavior and public declarations remain unchanged. ChangesType Hash Documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/macros/src/attribute/type_hash/types.rs`:
- Around line 1-19: Update the module documentation near the “Types recognized
by the type hash derive macro” heading so SNIP-12 lists only basic, preset, and
user-defined types as its type categories; describe arrays and parenthesized
enum parameter lists separately, while retaining the note that tuple-typed
members are an OpenZeppelin-specific extension.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 52fddd15-9dbb-4477-97a0-b58baab46751
📒 Files selected for processing (1)
packages/macros/src/attribute/type_hash/types.rs
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
* [N-01] M3 Audit (#1731) * fix: N-01 * feat: apply review updates (cherry picked from commit 13b7454) * fix: L-04 (#1732) (cherry picked from commit fc158d4) * fix: L-01 (#1733) (cherry picked from commit bd4e0e2) * [L-03] M3 Audit (#1734) * fix: L-04 * fix: L-01 * fix: L-03 * feat: apply review updates * fix: L-03 * feat: apply auditors feedback (cherry picked from commit 62e17d4) * fix: L-02 (#1743) (cherry picked from commit edd76a9) * [L-06] M3 Audit (#1736) * fix: L-06 * feat: apply review updates (cherry picked from commit 9a47516) * fix: L-07 (#1737) (cherry picked from commit 23da4ee) * fix: L-05 (#1738) (cherry picked from commit 00ec4c3) * fix: L-11 (#1739) (cherry picked from commit 9ba97df) * fix: L-08 (#1740) (cherry picked from commit 7b911da) * fix: L-09 (#1741) (cherry picked from commit 6bc3911) * [N-03] M3 Audit (#1744) * fix: N-03 * feat: apply review updates * feat: apply auditors review comments (cherry picked from commit 37ba01b) * feat: update CHANGELOG
Clarifies the type-hash macro documentation, including SNIP-12 collections and the tuple-member extension.
Summary by CodeRabbit