Jeff Washington (jwash)
ca8372efc1
with_chained_zero_lamport_accounts works with write cache ( #29104 )
2022-12-06 10:56:37 -08:00
Jeff Washington (jwash)
26472a13ea
migrating tests to use write cache ( #29101 )
...
* test_account_update uses write cache
* test_accounts_db_purge_keep_live works with write cache
* enable caching for test_accounts_db_purge_keep_live
2022-12-06 10:25:37 -08:00
Jeff Washington (jwash)
5d0d4a6b95
test_accounts_db_serialize_zero_and_free uses write cache ( #29102 )
2022-12-06 10:25:07 -08:00
Jeff Washington (jwash)
7180345ee1
test_verify_bank_capitalization works with write cache ( #29107 )
2022-12-06 10:24:43 -08:00
Jeff Washington (jwash)
5833e2f85e
test_account_grow uses write cache ( #29099 )
2022-12-06 09:28:24 -08:00
Jeff Washington (jwash)
94a6665995
test_clean_multiple_zero_lamport_decrements_index_ref_count uses write cache ( #29088 )
2022-12-06 08:56:37 -08:00
Jeff Washington (jwash)
fe8b15b43a
test_accountsdb_count_stores uses write cache ( #29086 )
2022-12-06 07:40:51 -08:00
Jeff Washington (jwash)
93cc3b1d3d
test_shrink_stale_slots_skipped only uses non-write cache ( #29081 )
2022-12-06 07:03:30 -08:00
Jeff Washington (jwash)
4de13be926
test_accounts_db_serialize1 uses write cache ( #29085 )
2022-12-06 06:36:28 -08:00
Jeff Washington (jwash)
f88398cbcf
test_shrink_stale_slots_processed uses write cache ( #29082 )
2022-12-06 06:35:49 -08:00
Jeff Washington (jwash)
ed0c9e285b
test_partial_clean supports write cache ( #29091 )
2022-12-06 06:35:02 -08:00
Jeff Washington (jwash)
c106c7e349
test_clean_accounts_with_last_full_snapshot_slot uses write cache ( #29087 )
2022-12-05 20:41:11 -08:00
Jeff Washington (jwash)
6935ff74ce
test_uncleaned_roots_with_account uses write cache ( #29084 )
2022-12-05 20:37:42 -08:00
Jeff Washington (jwash)
1b49c52d98
store_uncached -> store_for_tests ( #29083 )
2022-12-05 14:42:16 -08:00
Jeff Washington (jwash)
b4075a0e29
bank tests use write cache ( #28885 )
2022-12-05 14:08:28 -08:00
Jeff Washington (jwash)
9746eb2c8d
test_lazy_gc_slot can use write cache ( #29080 )
2022-12-05 12:48:15 -08:00
Jeff Washington (jwash)
8c47e2168e
test_accounts_clean_after_snapshot_restore_then_old_revives can use write cache ( #29050 )
...
* test_accounts_clean_after_snapshot_restore_then_old_revives can use write cache
* combine flush and set root
2022-12-05 12:39:26 -08:00
Jeff Washington (jwash)
293a5860b8
test_process_stale_slot_with_budget never uses write cache ( #29076 )
2022-12-05 11:40:14 -08:00
Jeff Washington (jwash)
1036d4409b
test_verify_snapshot_bank works without write cache ( #29075 )
2022-12-05 11:00:01 -08:00
Brooks Prumo
c65a8ce6c3
AccountsDb::get_snapshot_storages() takes a Range for slots ( #29054 )
2022-12-05 11:21:21 -05:00
Brooks Prumo
544e430a0d
Use AccountsHash instead of bare Hash ( #29052 )
2022-12-05 11:19:29 -05:00
Jeff Washington (jwash)
7f268e0f6d
rebuild_bank_from_snapshots uses write cache ( #29047 )
2022-12-02 13:28:21 -08:00
Jeff Washington (jwash)
babc241345
tests use write cache ( #29027 )
...
* test_add_precompiled_account uses write cache
* test_add_precompiled_account_squatted_while_not_replacing uses write cache
2022-12-02 10:26:51 -08:00
Jeff Washington (jwash)
5104f4ef0d
test_bank_update_vote_stake_rewards works with write cache ( #29044 )
2022-12-02 10:19:43 -08:00
Jeff Washington (jwash)
00ba78bd2d
test_bank_update_rewards_determinism works with write cache ( #29043 )
2022-12-02 09:56:58 -08:00
Jeff Washington (jwash)
6852d5768a
test_add_builtin_account* works with write cache ( #29030 )
2022-12-02 09:48:21 -08:00
Jeff Washington (jwash)
87a3130226
test_bank_hash_internal_state works with write cache ( #29042 )
2022-12-02 09:37:22 -08:00
Jeff Washington (jwash)
d17a740a99
test_bank_hash_internal_state_verify works with write cache ( #29041 )
2022-12-02 09:22:42 -08:00
Tao Zhu
0809a4df78
remove redundant internal functions ( #29035 )
...
remove redundant _internal functions
2022-12-02 10:21:25 -06:00
Jeff Washington (jwash)
63e19c0068
do_test_clean_dropped_unrooted_banks uses write cache ( #29029 )
2022-12-02 08:04:57 -08:00
Jeff Washington (jwash)
911a8d2a4a
test_add_instruction_processor_for_existing_unrelated_accounts works with write cache ( #29031 )
2022-12-02 08:04:34 -08:00
Tao Zhu
5850af5316
Refactor to remove requested_cu from cost_trarcker ( #29015 )
...
* refactor cost tracker by removing requested_cu from it, call sites to use cost_model forr consistency
* review fix
2022-12-02 00:25:09 +00:00
Jeff Washington (jwash)
20aeff3632
test_purge_empty_accounts uses write cache ( #29018 )
2022-12-01 15:22:26 -08:00
Jeff Washington (jwash)
dbd6ce8f21
test_bank_update_sysvar_account uses write cache ( #29022 )
...
* test_add_precompiled_account_inherited_cap_while_replacing uses write cache
* test_bank_update_sysvar_account uses write cache
2022-12-01 15:21:05 -08:00
Jeff Washington (jwash)
a9c8f26a66
test_add_precompiled_account_inherited_cap_while_replacing uses write cache ( #29019 )
2022-12-01 14:07:39 -08:00
Jeff Washington (jwash)
631d93dd2d
tests use write cache ( #29012 )
2022-12-01 12:17:13 -08:00
Jeff Washington (jwash)
e6cc5052c3
pass alive bytes to AccountsToStore::new ( #28994 )
2022-11-30 15:46:52 -08:00
Jeff Washington (jwash)
2c912c9049
use files for merkle tree inputs on accounts hash ( #28965 )
...
* use files for merkle tree inputs on accounts hash
* remove multi-pass scan, simplify
* cleanup and comments
* rework writing into the hash file for clarity
* add test, cleanup
* rename
* move count into option
2022-11-30 12:27:27 -08:00
Jeff Washington (jwash)
58e12cf963
avoid copies when writing to an ancient append vec ( #28981 )
...
* avoid copies when writing to an ancient append vec
* update comments
2022-11-30 10:09:23 -08:00
Jeff Washington (jwash)
2427004dba
add 'bytes' to aligned/alive_total for clarity ( #28982 )
2022-11-30 07:38:57 -08:00
Jeff Washington (jwash)
c8cc1270f1
log # append vecs open ( #28958 )
2022-11-29 16:48:02 -08:00
Jeff Washington (jwash)
e42649a8ba
remove cli arg to specify # accounts hash scan passes ( #28976 )
2022-11-29 16:47:51 -08:00
Jeff Washington (jwash)
19d86bd2b1
add balance to cap overflow message ( #28975 )
2022-11-29 13:55:07 -08:00
Brooks Prumo
9327658007
Promotes accounts hash to a strong type ( #28930 )
2022-11-28 10:09:47 -05:00
Brooks Prumo
267bbcadcf
Cleans up accounts hash testing in ABS ( #28931 )
2022-11-23 10:07:22 -05:00
Jeff Washington (jwash)
9a24743d2a
expect only 1 store per slot ( #28844 )
...
expect only 1 store per slot in shrink
2022-11-23 06:20:36 -08:00
Brooks Prumo
04016e3bcf
Don't wait for EAH unless feature is enabled ( #28938 )
2022-11-23 09:11:28 -05:00
Brooks Prumo
40a7c6d46a
Renames fn to insert_default_bank_hash() ( #28929 )
2022-11-22 19:31:59 -05:00
Jeff Washington (jwash)
5d88a9b32b
improve perf of storing accounts for shrink/ancient ( #28880 )
...
* improve perf of storing accounts for shrink/ancient
* rename
* phantom data
* update comment
* make impl Borrow<Hash> consistent
* remove unused static
2022-11-22 15:36:57 -08:00
Maximilian Schneider
c8b0c3ede9
Update cost model to use requested_cu instead of estimated cu #27608 ( #28281 )
...
* Update cost model to use requested_cu instead of estimated cu #27608
* remove CostUpdate and CostModel from replay/tvu
* revive cost update service to send cost tracker stats
* CostModel is now static
* remove unused package
Co-authored-by: Tao Zhu <tao@solana.com>
2022-11-22 11:55:56 -06:00