Brooks Prumo
1e0a0e0ced
Cleans up CacheHashData ( #29267 )
2022-12-15 14:16:27 -05:00
Jeff Washington (jwash)
5a687fa818
make AccountStorage::map private ( #29268 )
2022-12-14 20:03:25 -08:00
Jeff Washington (jwash)
3a7b67ea55
refactor unwrap_or_default for type that will soon not have a default ( #29257 )
2022-12-14 15:11:36 -08:00
Jeff Washington (jwash)
49a136a374
move AccountStorage out of accounts_db.rs ( #29261 )
2022-12-14 15:08:39 -08:00
Jeff Washington (jwash)
f9db75768c
Vec<Arc<AccountStorageEntry>> becomes SnapshotStorage ( #29253 )
2022-12-14 12:18:43 -08:00
Jeff Washington (jwash)
fab0ce21a2
remove shrink_candidate_slots_v1 ( #29252 )
2022-12-14 08:57:16 -08:00
Jeff Washington (jwash)
b77bef4ee3
write_version -> write_version_obsolete ( #29176 )
2022-12-14 07:43:40 -08:00
Jeff Washington (jwash)
b8e25282c2
remove rebuild_bank_from_snapshots(caching_enabled) ( #29247 )
...
* fix tests broken by add_root change
* remove rebuild_bank_from_snapshots(caching_enabled)
2022-12-13 16:33:06 -08:00
Jeff Washington (jwash)
f355066456
remove caching_enabled from serde_snapshot ( #29246 )
...
* fix tests broken by add_root change
* remove caching_enabled from serde_snapshot
2022-12-13 16:32:43 -08:00
Jeff Washington (jwash)
62be54a75e
remove process_stale_slot_v1 and other fns ( #29244 )
2022-12-13 16:32:24 -08:00
Jeff Washington (jwash)
4ae12bf5fa
fix tests broken by add_root change ( #29248 )
2022-12-13 14:43:52 -08:00
Jeff Washington (jwash)
250ec3f2a4
improve write_version usage in geyser scan from snapshot ( #29223 )
2022-12-13 14:40:12 -08:00
Alexander Meißner
721496b900
Feature - Program redeployment cooldown ( #29136 )
...
* Registers the feature enable_program_redeployment_cooldown.
* Adds redeployment slot constraint.
* Adds test to assert that closed programs can not be reopened.
* Ensure that program close truncates the account data.
* Adds set_sysvar_for_tests() to SBF program tests.
2022-12-13 22:54:24 +01:00
Jeff Washington (jwash)
3e649d2aa0
remove add_root(caching_enabled) ( #29245 )
2022-12-13 11:26:28 -08:00
Jeff Washington (jwash)
8da82e68fc
remove handle_snapshot_request(caching_enabled) ( #29241 )
2022-12-13 09:31:47 -08:00
dependabot[bot]
dca5d7f9b4
chore: bump test-case from 2.1.0 to 2.2.2 ( #28184 )
...
Bumps [test-case](https://github.com/frondeus/test-case ) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/frondeus/test-case/releases )
- [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frondeus/test-case/compare/v2.1.0...v2.2.2 )
---
updated-dependencies:
- dependency-name: test-case
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 16:07:50 +00:00
Jeff Washington (jwash)
1a0a465416
handle unclean roots explicitly during index generation ( #29230 )
2022-12-13 07:51:33 -08:00
Jeff Washington (jwash)
b779134020
remove process_stale_slot_with_budget ( #29236 )
2022-12-13 07:50:14 -08:00
Jeff Washington (jwash)
c8e7c706df
remove bank_from_streams(caching_enabled) ( #29235 )
2022-12-13 07:49:33 -08:00
Brooks Prumo
bcbf3374fd
Avoids copying hashes when computing merkle root ( #29225 )
2022-12-13 10:20:14 -05:00
Jeff Washington (jwash)
e1c6de9ef4
remove handle_snapshot_requests(caching_enabled) ( #29232 )
2022-12-13 07:19:45 -08:00
Jeff Washington (jwash)
7034f4cbbe
remove new_with_config_for_benches(caching_enabled) ( #29231 )
2022-12-13 07:19:24 -08:00
Jeff Washington (jwash)
5983363b03
remove test_store_scan_consistency(caching_enabled) ( #29233 )
2022-12-13 07:18:55 -08:00
Jeff Washington (jwash)
b95835143e
remove AccountsBackgroundService::new(caching_enabled) ( #29234 )
2022-12-13 07:18:02 -08:00
Jeff Washington (jwash)
3b4c27b727
remove some if accounts_db_caching_enabled { ( #29237 )
2022-12-13 07:17:14 -08:00
Jeff Washington (jwash)
bb0bfc4214
remove bank_from_latest_snapshot_archives(caching_enabled) ( #29238 )
2022-12-13 07:16:24 -08:00
Jeff Washington (jwash)
a57247a78e
handle write_version correctly in geyser api ( #29224 )
2022-12-13 06:42:28 -08:00
Jeff Washington (jwash)
c3001abef7
don't rely on write_version increasing - just assert that it is for now ( #29180 )
2022-12-12 19:24:45 -08:00
Jeff Washington (jwash)
ceeec9d625
remove enable_caching from Bank::new_with_config_for_tests ( #29215 )
2022-12-12 15:33:12 -08:00
Jeff Washington (jwash)
2c2324f4ea
remove caching_enabled from Bank::new_with_paths_for_tests ( #29214 )
2022-12-12 15:30:46 -08:00
Jeff Washington (jwash)
dd4393e46d
remove accounts_caching from Bank::new_with_paths ( #29213 )
2022-12-12 15:18:12 -08:00
Jeff Washington (jwash)
536b879aa7
remove accounts.new_with_config_for_tests.caching_enabled ( #29168 )
2022-12-12 11:31:51 -08:00
Jeff Washington (jwash)
7b1d00ee80
remove dead just_rewrites ( #29188 )
2022-12-12 10:04:16 -08:00
Jeff Washington (jwash)
5e799ad563
remove AccountsDb::new_with_config.caching_enabled ( #29167 )
2022-12-12 08:50:00 -08:00
Jeff Washington (jwash)
db2cc53967
remove skip rewrites from bank ( #29182 )
2022-12-10 09:27:15 -08:00
Brooks Prumo
5f74fb9c87
Removes erroneous duplicate `#[ignore]` ( #29193 )
2022-12-09 20:58:22 -05:00
Jeff Washington (jwash)
f9c4170d34
remove caching_enabled ( #29117 )
...
* warp_from_parents works with write_cache enabled
* remove caching_enabled
2022-12-09 14:31:54 -08:00
Jeff Washington (jwash)
631a98a3b6
warp_from_parents works with write_cache enabled ( #29185 )
2022-12-09 14:28:18 -08:00
Jeff Washington (jwash)
7f1b71a2b0
remove AccountsDb::new_with_config_for_tests.caching_enabled ( #29181 )
2022-12-09 13:54:37 -08:00
Jeff Washington (jwash)
04c10a9382
panic on process_stale_slot_with_budget and remove test ( #29045 )
2022-12-09 13:25:34 -08:00
Jeff Washington (jwash)
a3c95eaa53
remove BankTestConfig.caching_enabled ( #29173 )
2022-12-09 11:52:36 -08:00
Jeff Washington (jwash)
6a90abd056
remove handle_snapshot_requests.caching_enabled ( #29174 )
2022-12-09 10:51:44 -08:00
Jeff Washington (jwash)
45ba5ef6fd
remove bank_from_snapshot_archives caching_enabled ( #29171 )
2022-12-09 10:45:21 -08:00
Jeff Washington (jwash)
99f0113450
remove Accounts::new_with_config_for_tests.caching_enabled ( #29169 )
2022-12-09 10:44:56 -08:00
Jeff Washington (jwash)
ec5098a723
remove bank_test_config_caching_enabled ( #29170 )
2022-12-09 08:28:02 -08:00
apfitzge
151727f633
Storage Rebuilder: better error propagation ( #29150 )
2022-12-09 10:00:12 -06:00
Jeff Washington (jwash)
3d268be800
change RentResult enum values ( #29139 )
...
* test_shrink_candidate_slots uses write cache (#29145 )
* add tests for collect_from_existing_account
2022-12-08 19:48:42 -08:00
Jeff Washington (jwash)
06a806bb9d
introduce aligned_stored_size to flush write cache ( #29147 )
2022-12-08 19:44:23 -08:00
Jeff Washington (jwash)
072070ba80
test_shrink_candidate_slots uses write cache ( #29145 )
2022-12-08 15:13:05 -08:00
Jeff Washington (jwash)
ea19fe9219
support for accounts tests loading accounts with excluded feature ( #29142 )
2022-12-08 11:46:37 -08:00