From 2bc125d830da5a8ba29ba1c2a4852ac145933ec3 Mon Sep 17 00:00:00 2001 From: Karan Dhareshwar Date: Tue, 30 Jul 2024 14:32:36 -0500 Subject: [PATCH] Clear named keys instead of prune --- execution_engine/src/core/engine_state/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/execution_engine/src/core/engine_state/mod.rs b/execution_engine/src/core/engine_state/mod.rs index 6cc3a91a99..84f950a032 100644 --- a/execution_engine/src/core/engine_state/mod.rs +++ b/execution_engine/src/core/engine_state/mod.rs @@ -447,14 +447,6 @@ where tracking_copy.borrow_mut().write(unbonding_delay_key, value); } - // match system_upgrader - // .clear_named_keys_for_packages(correlation_id, upgrade_config.global_state_update()) - // { Ok(()) => { info!("cleared named keys for contracts")} - // Err(error) => { - // error!("error in clearing named keys: {:?}", error); - // } - // } - // apply the accepted modifications to global state. for (key, value) in upgrade_config.global_state_update() { // Skip the key hashes associated with values as we mark these as records to be