Skip to content

Conversation

@febo
Copy link
Collaborator

@febo febo commented Oct 1, 2024

This PR adds a few helpers:

  • get_account_info macro to get an account info from the accounts array by index. The helper does a range check to see if the index is valid.
  • compare and copy Pubkey helpers using syscalls to improve CU of those operations.

@febo febo merged commit dd36317 into main Oct 1, 2024
3 checks passed
@febo febo deleted the helpers branch October 1, 2024 22: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