Skip to content

Conversation

@billythedummy
Copy link
Contributor

@billythedummy billythedummy commented Dec 4, 2025

  • verify_lst_state_list_no_dup
  • standardize instruction processor / verification args order abr, cpi, accounts, args, ..rest (sysvars)
  • make Rent top-level like Clock then pass by ref to ensure we make the syscall at most once in the program
  • use accs_split_first_chunk and split_suf_accs everywhere
  • use checked_mint_of everywhere, purge RawMint from program repo
  • checked_mint_of needs to use &data[..RawMint::ACCOUNT_LEN] instead of full slice for token-22 compat

@billythedummy billythedummy changed the title [WIP] Refactor program misc Refactor program misc Dec 5, 2025
@billythedummy billythedummy marked this pull request as ready for review December 5, 2025 07:29
@billythedummy billythedummy merged commit baab4ea into v2 Dec 5, 2025
10 checks passed
@billythedummy billythedummy deleted the refactor/misc branch December 5, 2025 07:55
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