solana/runtime/src
Alexander Meißner 7200c5106e
Replaces MockInvokeContext by ThisInvokeContext in tests (#20881)
* Replaces MockInvokeContext by ThisInvokeContext in BpfLoader, SystemInstructionProcessor, CLIs, ConfigProcessor, StakeProcessor and VoteProcessor.

* Finally, removes MockInvokeContext, MockComputeMeter and MockLogger.

* Adjusts assert_instruction_count test.

* Moves ThisInvokeContext to the program-runtime crate.
2021-11-04 21:47:32 +01:00
..
accounts_db Accountsdb plugin write ordering (#20948) 2021-10-25 14:07:56 -07:00
serde_snapshot
accounts.rs Refactor `RentDebits` to use hashmap instead of vec 2021-11-04 15:02:24 +00:00
accounts_background_service.rs hash calc uses all threads during startup (#20735) 2021-10-15 17:41:23 -05:00
accounts_cache.rs LoadedAccountAccessor::Cached does not store Pubkey (#21030) 2021-11-04 10:28:04 -05:00
accounts_db.rs add rent exempt count to get_total_accounts_stats (#21153) 2021-11-04 11:17:19 -05:00
accounts_hash.rs eliminate pubkey copy in eliminate_zeros (#21032) 2021-11-04 11:16:36 -05:00
accounts_index.rs clean_accounts calls AcctIdx: get_many (#20715) 2021-10-19 15:54:06 -05:00
accounts_index_storage.rs change bg waiting metrics to percent (#20955) 2021-10-26 15:09:17 -05:00
accounts_update_notifier_interface.rs Accountsdb plugin write ordering (#20948) 2021-10-25 14:07:56 -07:00
ancestors.rs
append_vec.rs
bank.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
bank_client.rs Update fee api to use blockhash (#21054) 2021-10-29 13:52:59 -07:00
bank_forks.rs Add set_root timing metrics (#21119) 2021-11-02 18:23:35 +01:00
bank_utils.rs Simplify replay vote tracking by using packet metadata (#21112) 2021-11-03 09:02:48 +00:00
block_cost_limits.rs update config by testnet (#20699) 2021-10-15 15:32:46 +00:00
blockhash_queue.rs Update deprecation versions (#20959) 2021-10-26 09:06:41 -07:00
bloom.rs
bucket_map_holder.rs change bg waiting metrics to percent (#20955) 2021-10-26 15:09:17 -05:00
bucket_map_holder_stats.rs percent stats 0-1 -> 0-100 (#21028) 2021-10-27 18:08:27 -05:00
builtins.rs Add compute budget program as a noop (#20992) 2021-10-26 20:08:59 -07:00
cache_hash_data.rs AcctIdx: support 2^24 bins (#20739) 2021-10-18 14:05:16 -05:00
cache_hash_data_stats.rs
commitment.rs
contains.rs
cost_model.rs Clean up sanitized tx creation for tests (#21006) 2021-10-27 18:09:16 +01:00
cost_tracker.rs Clean up sanitized tx creation for tests (#21006) 2021-10-27 18:09:16 +01:00
epoch_stakes.rs
execute_cost_table.rs fix unstable test (#20645) 2021-10-13 11:43:18 -05:00
genesis_utils.rs
hardened_unpack.rs
in_mem_accounts_index.rs change bg waiting metrics to percent (#20955) 2021-10-26 15:09:17 -05:00
inline_spl_token_v2_0.rs
lib.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
loader_utils.rs
message_processor.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
neon_evm_program.rs
non_circulating_supply.rs runtime: Add foundation stake pool withdraw authority (#20797) 2021-10-19 21:49:21 +00:00
nonce_keyed_account.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
pubkey_bins.rs AcctIdx: support 2^24 bins (#20739) 2021-10-18 14:05:16 -05:00
read_only_accounts_cache.rs
rent_collector.rs add rent exempt count to get_total_accounts_stats (#21153) 2021-11-04 11:17:19 -05:00
secondary_index.rs
serde_snapshot.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
shared_buffer_reader.rs
snapshot_archive_info.rs
snapshot_config.rs Call `Bank::update_accounts_hash()` before taking bank snapshot (#19765) 2021-09-13 08:27:50 -05:00
snapshot_hash.rs
snapshot_package.rs
snapshot_utils.rs Update fee api to use blockhash (#21054) 2021-10-29 13:52:59 -07:00
sorted_storages.rs fix hash calc # storages, # slots (#20832) 2021-10-25 19:37:50 +00:00
stake_weighted_timestamp.rs
stakes.rs Simplify replay vote tracking by using packet metadata (#21112) 2021-11-03 09:02:48 +00:00
status_cache.rs
system_instruction_processor.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
transaction_batch.rs Clean up sanitized tx creation for tests (#21006) 2021-10-27 18:09:16 +01:00
vote_account.rs
vote_sender_types.rs
waitable_condvar.rs