Skip to content

Conversation

vicentevieytes
Copy link
Collaborator

@vicentevieytes vicentevieytes commented Jun 12, 2025

Implements the Ownable2Step Struct (Trait) in Tolk.

Updates wrappers, and tests.

Adds documentation.

TODO: Clean up .tact files from the repo (I think it should be done all together on a separate PR

@vicentevieytes vicentevieytes changed the title implement wrappers and tests, start debugging migrate Ownable2Step to Tolk Jun 12, 2025

/// Handles `Ownable2Step` messages for ownership management.
fun Ownable2Step.onInternalMessage(mutate self, myBalance: int, msgValue: int, msgFull: cell, msgBody: slice): bool {
try {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably need to also filter bounced messages, just in case? The parent should already do that but still

@vicentevieytes vicentevieytes marked this pull request as ready for review June 17, 2025 13:53
@vicentevieytes vicentevieytes requested a review from archseer June 17, 2025 16:03
Copy link
Collaborator

@patricios-space patricios-space left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, but I think some parts can be improved.

Copy link
Collaborator

@patricios-space patricios-space left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job 🔏

@archseer archseer merged commit 2172ba3 into main Jun 19, 2025
16 checks passed
@archseer archseer deleted the migrate-ownable-to-tolk branch June 19, 2025 06:35
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.

3 participants