#122 Add network id to unicity id mint transaction#123
Conversation
There was a problem hiding this comment.
Code Review
This pull request integrates networkId into UnicityIdMintTransaction and its certified variant, updating CBOR serialization, verification rules, and test suites. It also introduces private _brand properties to several transaction classes and refactors TypeScript configurations. The review feedback correctly identifies a backward-compatibility issue: adding networkId to the CBOR array changes its length from 6 to 7 without incrementing the transaction version, which will break deserialization of existing version 1 transactions. It is recommended to either bump the version or support both array lengths.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Missing test for the new network-mismatch failure path
Given the project's emphasis on verification-rule coverage (cf. #115), please add a test that mints/verifies a unicity-id genesis with a mismatched
Otherwise a regression in this check would go unnoticed. |
No description provided.