From f170a4061098846572af68b5be08c5ad157a86c5 Mon Sep 17 00:00:00 2001 From: George Mitenkov Date: Sat, 2 Nov 2024 15:29:37 +0000 Subject: [PATCH] [experiment] Shared cache --- aptos-move/aptos-vm/src/block_executor/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aptos-move/aptos-vm/src/block_executor/mod.rs b/aptos-move/aptos-vm/src/block_executor/mod.rs index c7764b2a6160f..de16c676676b6 100644 --- a/aptos-move/aptos-vm/src/block_executor/mod.rs +++ b/aptos-move/aptos-vm/src/block_executor/mod.rs @@ -554,9 +554,7 @@ impl BlockAptosVM { Arc::clone(&RAYON_EXEC_POOL), signature_verified_block, state_view, - // TODO(loader_v2): Remove me once replay is done. For debug only. - Arc::new(ImmutableModuleCache::empty()), - // Arc::clone(&GLOBAL_MODULE_CACHE), + Arc::clone(&GLOBAL_MODULE_CACHE), config, transaction_commit_listener, )