solana/programs/vote/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
..
vote_state Revert "Add new vote state version that replaces Lockout with LandedV… (#30817) 2023-03-21 22:54:13 +08:00
lib.rs Eliminate unchecked arithmetic in vote program (#29885) 2023-01-25 21:55:52 -08:00
vote_processor.rs Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
vote_transaction.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00