solana/programs/bpf_loader/src
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
..
syscalls Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
allocator_bump.rs Bump solana_rbpf to v0.2.40 (#30668) 2023-03-10 19:05:29 +01:00
deprecated.rs Revert "add default_cost as mandatory field for Builtin (#30639)" (#30749) 2023-03-16 11:21:06 -05:00
lib.rs Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
serialization.rs Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
upgradeable.rs Revert "add default_cost as mandatory field for Builtin (#30639)" (#30749) 2023-03-16 11:21:06 -05:00
upgradeable_with_jit.rs Revert "add default_cost as mandatory field for Builtin (#30639)" (#30749) 2023-03-16 11:21:06 -05:00
with_jit.rs Revert "add default_cost as mandatory field for Builtin (#30639)" (#30749) 2023-03-16 11:21:06 -05:00