Update coin exercises scaffolding for coin_registry#177
Open
alilloig wants to merge 2 commits into
Open
Conversation
- Update I1/silver, I2/fixed_supply, I3/king_credits to use coin_registry imports - Maintain todo!() macros for learners to complete - Add scaffolded tests with clear task comments Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
Code Review SummaryCritical Issues (Must Fix)None identified - all packages build successfully and scaffolding is consistent with the solution branch. Important Issues (Should Fix)Documentation & Clarity (High Priority)
Task Comment Improvements (Medium Priority)
Scaffolding Consistency (Medium Priority)
Positive Notes
🤖 Automated review by Claude Code |
- Fix test_mint to call mint() directly instead of using todo!() - Make todo!() macro visibility consistent (private) across I1 and I2 - Add numbered steps to multi-step task comments in I2/I3 init functions - Add hints about return types and function purposes in task comments - Add explanation of make_supply_fixed behavior consequence Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
Final Review - Issues AddressedFixed in this update
Remaining itemsNone - all requested fixes have been applied. Verification
🤖 Final review by Claude Code |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Updates I1, I2, I3 coin exercises to use the new
coin_registrystandard while maintaining the scaffolded TODO structure for learners.sui::coin_registrytodo!()macros with clear task commentsChanges
I1/silver: Create currency and mint functions scaffoldedI2/fixed_supply: Fixed supply pattern with coin_registryI3/king_credits: Multi-sig treasury with coin_registryCompanion to #176 (solution branch)
Part of SBF-256
🤖 Generated with Claude Code