Skip to content

Conversation

@Sandeep2566
Copy link

@Sandeep2566 Sandeep2566 commented Nov 7, 2025

This PR adds clear comments explaining how the hello_blockchain Move example works.
It improves readability for new Move learners and clarifies resource storage and event usage.
No logic or behavior was changed.


Note

Adds explanatory comments across hello_blockchain.move to clarify resource storage, event emission, view/entry functions, and the unit test; no behavior changes.

  • Docs (Move example):
    • Clarify MessageHolder resource purpose and storage under user accounts.
    • Document MessageChange event and its use during updates.
    • Add inline explanations in get_message (existence check, read-only) and set_message (account addr, create-or-update flow, event emission, write).
    • Comment the test sender_can_set_message to explain setup, call, and assertion steps.

Written by Cursor Bugbot for commit dd567c3. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant