Skip to content

Conversation

@buffalojoec
Copy link
Collaborator

Refactors the process_instruction and process_instruction_chain methods to use an inner function after the key/account compilation step. Also refactors the accounts compilation to accept an Iterator<Item = &(Pubkey, Account)>.

This sets the stage to allow insertions via chained iterators to the provided accounts list before the keys and accounts are compiled. One such example is the work to enable the Instructions Sysvar.

@buffalojoec buffalojoec changed the title account compilation refactor harness: refactor account compilation step Sep 5, 2025
@buffalojoec buffalojoec force-pushed the account-compilation-refactor branch from 0522208 to 8c89e8d Compare September 5, 2025 13:35
@buffalojoec buffalojoec force-pushed the account-compilation-refactor branch from 8c89e8d to 964cd5e Compare November 18, 2025 12:52
@buffalojoec buffalojoec merged commit 1c0e142 into main Nov 18, 2025
5 checks passed
@buffalojoec buffalojoec deleted the account-compilation-refactor branch November 18, 2025 13:03
@sonicfromnewyoke sonicfromnewyoke mentioned this pull request Nov 25, 2025
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