solana/program-runtime/src
Alexander Meißner ee7e411d68
Replaces `KeyedAccount` by `BorrowedAccount` in `system_instruction_processor`. (#23217)
* Adds InstructionContext::check_number_of_instruction_accounts() and InstructionContext::get_instruction_account_key().
Bases check_sysvar_account() on instuction account indices.

* Adds instruction_account_indices enums to system_instruction_processor.

* Reorders parameters and adds InstructionContext.

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 1).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 2).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 3).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 4).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 5).

* Code cleanup
2022-02-19 02:06:33 +01:00
..
accounts_data_meter.rs Move cap_accounts_data_len feature gate only around new error (#23048) 2022-02-10 11:57:00 -06:00
compute_budget.rs Add fees to tx-wide caps (#22081) 2022-02-11 16:23:16 -08:00
instruction_recorder.rs Refactor: CPI Instruction Recording (#22111) 2021-12-25 13:35:43 +01:00
invoke_context.rs Cleanup: get_program_key() and get_loader_key() in TransactionContext (#23191) 2022-02-17 10:16:28 +01:00
lib.rs Refactor: Move `InstructionRecorder` into `TransactionContext` (#22578) 2022-01-19 22:40:09 +01:00
log_collector.rs Fix program log filtering (#22133) 2021-12-28 12:13:03 -08:00
native_loader.rs Cleanup: get_program_key() and get_loader_key() in TransactionContext (#23191) 2022-02-17 10:16:28 +01:00
neon_evm_program.rs Fix compute budget bump (#21238) 2021-11-11 14:09:28 -08:00
pre_account.rs Refactor: Remove Rc from PreAccount and InvokeContext::get_account() (#21882) 2021-12-14 15:44:31 +01:00
stable_log.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
sysvar_cache.rs Replaces `KeyedAccount` by `BorrowedAccount` in `system_instruction_processor`. (#23217) 2022-02-19 02:06:33 +01:00
timings.rs Add execute timings (#23097) 2022-02-17 01:14:32 -05:00