Remove frozen account support

This commit is contained in:
Michael Vines
2021-11-28 21:55:35 -08:00
parent 09799590ac
commit ba9dfa0d22
14 changed files with 2 additions and 399 deletions

View File

@ -169,7 +169,6 @@ fn load_from_snapshot(
&snapshot_config.bank_snapshots_dir,
&snapshot_config.snapshot_archives_dir,
&account_paths,
&process_options.frozen_accounts,
genesis_config,
process_options.debug_keys.clone(),
Some(&crate::builtins::get(process_options.bpf_jit)),

View File

@ -464,7 +464,6 @@ pub struct ProcessOptions {
pub entry_callback: Option<ProcessCallback>,
pub override_num_threads: Option<usize>,
pub new_hard_forks: Option<Vec<Slot>>,
pub frozen_accounts: Vec<Pubkey>,
pub debug_keys: Option<Arc<HashSet<Pubkey>>>,
pub account_indexes: AccountSecondaryIndexes,
pub accounts_db_caching_enabled: bool,
@ -500,7 +499,6 @@ pub fn process_blockstore(
let bank0 = Bank::new_with_paths(
genesis_config,
account_paths,
&opts.frozen_accounts,
opts.debug_keys.clone(),
Some(&crate::builtins::get(opts.bpf_jit)),
opts.account_indexes.clone(),
@ -3376,7 +3374,6 @@ pub mod tests {
let bank = Bank::new_with_paths_for_tests(
genesis_config,
account_paths,
&[],
None,
None,
AccountSecondaryIndexes::default(),