Repository navigation
Update remaining TODOs #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
05558f4
remaining TODOs
JanKuczma 4f8f147
release todo
JanKuczma 269a6ff
upd RADME
JanKuczma a780d1d
rm unused imports
JanKuczma d2abc67
restrict visibility
JanKuczma fd42a9d
rm TODOs
JanKuczma 1b009f3
Merge branch 'main' into jk-misc
JanKuczma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # TODO / Improvements | ||
|
|
||
| ## Features | ||
|
|
||
| - **Mask NHK**: Currently the TS SDK passes `Fq.ZERO` as the NHK mask (`migration-base-wallet.ts:getMaskedNhk`). The plan is to compute the mask from the new account's app-siloed nullifier hiding key (`newAccount.getNhkApp(newAppAddress)`) so it can be unmasked in the circuit. | ||
|
|
||
| - **Constants codegen**: Noir constants (`constants.nr`) are manually mirrored in `ts/aztec-state-migration/constants.ts`. Add a build step to auto-generate the TS constants from the Noir source. | ||
|
|
||
| ## Release | ||
|
|
||
| - **Publish TS SDK package**: Run the publish workflow (`.github/workflows/publish.yml`) to publish `aztec-state-migration` to npm. | ||
|
|
||
| ## Testing | ||
|
|
||
| - **More coverage**: Test more scenarios and edge cases — multi-note migrations, duplicate migrations, cross-contract migrations, error paths. | ||
|
|
||
| ## PoC limitations (documented in `docs/security.md`) | ||
|
|
||
| - No supply cap enforcement on mint | ||
| - No access control on `set_snapshot_height()` (first caller wins) | ||
| - In-memory key storage (unencrypted) | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.