solana/program-runtime
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
..
benches Upgrades to Rust 1.65.0 (#28741) 2022-11-09 17:15:03 -05:00
src Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
Cargo.toml chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00
build.rs