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
Jeff Washington (jwash)
efc681b348
rename test var for clarity ( #28914 )
2022-11-21 13:22:16 -08:00
Jeff Washington (jwash)
d449b9ea26
test_new_from_file_crafted_zero_lamport_account uses static append vec file ( #28911 )
2022-11-21 12:43:03 -08:00
Jeff Washington (jwash)
8addf93de7
test_store_reuse uses write cache ( #28901 )
2022-11-21 11:17:33 -08:00
Brooks Prumo
ff7e82b5ff
Removes Accounts::bank_hash_at() ( #28879 )
2022-11-21 13:25:48 -05:00
Jeff Washington (jwash)
b29dea7a56
comment function ( #28906 )
2022-11-21 09:56:07 -08:00
Brooks Prumo
d698f982ee
Renames to AccountsHasher ( #28883 )
2022-11-18 18:25:44 -05:00
Jeff Washington (jwash)
8cbe83c725
cleanup CalcAccountsHashDataSource ( #28882 )
2022-11-18 14:49:22 -08:00
Jeff Washington (jwash)
f22104d46b
use write cache by default in some tests ( #28876 )
2022-11-18 14:35:52 -08:00
Jeff Washington (jwash)
aa1d319d48
add shrink ancient test ( #28858 )
...
* add shrink ancient test
* improvements
2022-11-18 13:11:57 -08:00
Brooks Prumo
7787cb2ab2
Renames BankHashInfo field to accounts_delta_hash ( #28878 )
2022-11-18 15:35:03 -05:00
Jeff Washington (jwash)
dcfb73f664
extract test append_account function ( #28875 )
2022-11-18 10:57:02 -08:00
Jeff Washington (jwash)
9acfa08838
remove per-account slot in ancient append vecs ( #28851 )
...
* remove per-account slot in ancient append vecs
* review fixes
2022-11-18 10:15:41 -08:00
Justin Starry
4c85850a73
Refactor: Rename `load_transaction` to `load_transaction_accounts` ( #28746 )
...
* Refactor: Rename load_transaction to load_transaction_accounts
* Refactor: map over account keys to load transaction accounts
2022-11-18 23:44:09 +08:00
Justin Starry
7371608722
Support versioned transactions in program test framework ( #28739 )
...
* Support versioned transactions in program test framework
* use working bank
* Update to process_transaction_with_metadata
* Migrate client apis from Transaction to Into<VersionedTransaction>
* feedback
2022-11-18 23:43:52 +08:00
Jeff Washington (jwash)
813f1f993a
remove test only append_account ( #28850 )
2022-11-17 12:26:51 -08:00
Trent Nelson
53a579bed1
ledger-tool: stream output of `accounts` subcommand
2022-11-17 12:45:26 -07:00
Jeff Washington (jwash)
e269fe3383
refactor into combine_one_store_into_ancient ( #28845 )
2022-11-17 08:42:42 -08:00
Brooks Prumo
2bafb0cb12
Requires EAH state cannot be Invalid ( #28817 )
2022-11-17 11:01:01 -05:00
K-anon
e8c8235474
Get Index Key Size RPC Support ( #28383 )
...
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2022-11-16 20:39:11 -07:00
Jeff Washington (jwash)
83a7b2ca6c
only log ancient append vec stats when they are useful ( #28843 )
2022-11-16 17:15:43 -08:00
Tao Zhu
ae48ac97dd
fix account resize test by requesting max tx data size ( #28826 )
...
* fix account resize test by requesting max tx data size
* define data size limit in incremental of 1024
2022-11-16 17:52:15 -06:00
Jeff Washington (jwash)
c17d594684
collect storage_read_elapsed for shrink and ancient ( #28833 )
2022-11-16 11:14:07 -08:00
Jeff Washington (jwash)
4837dc071f
cleanup return value from append_accounts ( #28836 )
2022-11-16 10:59:11 -08:00
Jeff Washington (jwash)
f7139532a6
acct hash: don't init accum or create hash file if no storages ( #28839 )
2022-11-16 10:58:39 -08:00
Jeff Washington (jwash)
2b1db39faa
refactor test ancient population code ( #28823 )
2022-11-16 08:31:39 -08:00
Brooks Prumo
c1e440acb6
Warping calculates and sets new EAH ( #28809 )
2022-11-15 23:16:38 -05:00