solana/programs
Alexander Meißner a0c7fde90e
Cleanup - mock InvokeContext (#31007)
* Turns with_mock_invoke_context() into a macro.

* Removes prepare_mock_invoke_context().

* Replaces InvokeContext::new_mock() with with_mock_invoke_context().

* Removes InvokeContext::new_mock().

* Removes Cow from InvokeContext::sysvar_cache.

* Removes override parameters from mock_process_instruction().

* cargo fmt
2023-04-03 17:23:24 +02:00
..
address-lookup-table chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00
address-lookup-table-tests chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
bpf-loader-tests chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
bpf_loader Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
compute-budget Feature gate builtin consumes static units during processing instruction (#30702) 2023-03-24 11:31:01 -05:00
config Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
ed25519-tests chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
loader-v3 Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
sbf Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
stake Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
vote Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
zk-token-proof Feature gate builtin consumes static units during processing instruction (#30702) 2023-03-24 11:31:01 -05:00
zk-token-proof-tests chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00