Skip to content

Commit

Permalink
enable loader v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rahxephon89 committed Nov 4, 2024
1 parent 23b51cf commit 3724ea0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aptos-move/aptos-e2e-comparison-testing/src/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3724ea0

Please sign in to comment.