From 3724ea08b2784b29cc529fe2820ef8d101986b28 Mon Sep 17 00:00:00 2001 From: Teng Zhang Date: Mon, 4 Nov 2024 12:45:17 -0800 Subject: [PATCH] enable loader v2 --- aptos-move/aptos-e2e-comparison-testing/src/execution.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aptos-move/aptos-e2e-comparison-testing/src/execution.rs b/aptos-move/aptos-e2e-comparison-testing/src/execution.rs index 7a3c3023f453e..ae83f439b63d0 100644 --- a/aptos-move/aptos-e2e-comparison-testing/src/execution.rs +++ b/aptos-move/aptos-e2e-comparison-testing/src/execution.rs @@ -398,9 +398,10 @@ impl Execution { // Update features if needed to the correct binary format used by V2 compiler. let mut features = Features::fetch_config(&state).unwrap_or_default(); features.enable(FeatureFlag::VM_BINARY_FORMAT_V7); - if v2_flag { - features.enable(FeatureFlag::FAKE_FEATURE_FOR_COMPARISON_TESTING); - } + features.enable(FeatureFlag::ENABLE_LOADER_V2); + // if v2_flag { + // features.enable(FeatureFlag::FAKE_FEATURE_FOR_COMPARISON_TESTING); + // } state.set_features(features); // We use executor only to get access to block executor and avoid some of