Skip to content

Commit 86362bd

Browse files
authored
feat: disable remove detailed error feat flag (#1263)
1 parent 5a454cb commit 86362bd

File tree

1 file changed

+7
-7
lines changed
  • protocol-units/execution/maptos/framework/releases/pre-l1-merge/src

1 file changed

+7
-7
lines changed

protocol-units/execution/maptos/framework/releases/pre-l1-merge/src/cached.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,22 @@ pub mod full {
5353
use aptos_types::on_chain_config::FeatureFlag as AptosFeatureFlag;
5454

5555
// start with the default features and append the Governed Gas Pool feature
56-
let mut aptos_feature_flags = AptosFeatureFlag::default_features();
56+
let mut enable_feature_flags = AptosFeatureFlag::default_features();
5757
// Note: when testing into the future, you may have to use a different revision of [aptos_types] in this crate's Cargo.toml
5858
// Or, I suppose you can keep and GOVERNED_GAS_POOL feature flag and a GOVERNED_GAS_POOL_V2 feature flag and just make sure you're disabling the former and enabling the latter. Thereafter, it won't matter what happens to the GOVERNED_GAS_POOL feature flag, i.e., it can be replaced.
59-
aptos_feature_flags.push(AptosFeatureFlag::GOVERNED_GAS_POOL);
59+
enable_feature_flags.push(AptosFeatureFlag::GOVERNED_GAS_POOL);
6060

6161
// Note: before the upgrade to the newest version to the Aptos framework
6262
// we need to activate features that are currently active on the Aptos testnet
6363
// See: https://github.com/movementlabsxyz/movement-migration/issues/30#issuecomment-2862738427
6464
// aptos_feature_flags.push(AptosFeatureFlag::PERIODICAL_REWARD_RATE_DECREASE);
65-
aptos_feature_flags.push(AptosFeatureFlag::PARTIAL_GOVERNANCE_VOTING);
66-
aptos_feature_flags.push(AptosFeatureFlag::DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING);
67-
aptos_feature_flags.push(AptosFeatureFlag::VM_BINARY_FORMAT_V7);
65+
enable_feature_flags.push(AptosFeatureFlag::PARTIAL_GOVERNANCE_VOTING);
66+
enable_feature_flags.push(AptosFeatureFlag::DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING);
67+
enable_feature_flags.push(AptosFeatureFlag::VM_BINARY_FORMAT_V7);
6868

6969
Features {
70-
enabled: aptos_feature_flags.into_iter().map(FeatureFlag::from).collect(),
71-
disabled: vec![],
70+
enabled: enable_feature_flags.into_iter().map(FeatureFlag::from).collect(),
71+
disabled: vec![AptosFeatureFlag::REMOVE_DETAILED_ERROR_FROM_HASH.into()],
7272
}
7373
});
7474
}

0 commit comments

Comments
 (0)