Skip to content

Conversation

febo
Copy link
Contributor

@febo febo commented Aug 12, 2025

Problem

Few Instructions require specific account ownership checks when executed in a batch since ownership is only enforced by the runtime at the end of the batch processing.

Solution

Add specific ownership checks for instructions when they are executed in batch.

@febo febo requested a review from joncinque August 12, 2025 18:47
@febo febo marked this pull request as draft August 15, 2025 10:11
@febo febo marked this pull request as ready for review August 15, 2025 12:39
@febo febo changed the title p-token: Add ownership checks for transfer in batch p-token: Add explicitly ownership checks in batch Aug 15, 2025
joncinque
joncinque previously approved these changes Aug 19, 2025
Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Looks great! I went through and validated all of the instructions on my side too

@febo
Copy link
Contributor Author

febo commented Aug 20, 2025

Just a few typos in the comments.

@febo febo merged commit cf136e7 into main Aug 20, 2025
17 checks passed
@febo febo deleted the febo/transfer-in-batch branch August 20, 2025 11:09
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.

2 participants