solana/programs/sbf
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 Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
c Adds test for programs which read from a program account (#30803) 2023-03-21 18:12:19 +01:00
rust chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00
tests Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02:00
.gitignore
Cargo.lock ledger: confirm_slot_entries(): confirmation_elapsed metric (#30807) 2023-03-29 13:11:29 -07:00
Cargo.toml ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
build.rs Update references to platform-tools (#30764) 2023-03-22 07:41:40 -07:00