Skip to content

Commit 7620678

Browse files
committed
chore: trim down readme
1 parent 420ea48 commit 7620678

2 files changed

Lines changed: 10 additions & 60 deletions

File tree

protocol-units/execution/maptos/framework/releases/README.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ The feature comparission between MVT Network and Aptos Network gives these featu
5151
### 4 APTOS_STD_CHAIN_ID_NATIVES
5252
Activate this function `native public fun get(): u8;` which allow to access the chain Id inside Move code.
5353

54-
Enable in Movement network and disable in Aptos. Value after migration ?
5554

5655
### 6 PERIODICAL_REWARD_RATE_DECREASE
5756
Enables scheduled reductions in validator/staker reward rates over epochs.
5857

59-
Disable in Movement network and enable in Aptos. Value after migration ?
6058
### 17 PARTIAL_GOVERNANCE_VOTING
6159
Changes how governance proposals are resolved when not all validators vote
6260

@@ -68,7 +66,6 @@ When this feature is enabled:
6866
- The proposal outcome only considers the validators who actually voted.
6967
- Abstention is no longer equivalent to a "no" vote.
7068

71-
Disable in Movement network and enable in Aptos. Value after migration ?
7269

7370
### 21 DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING
7471
Allows partial vote counting for delegated stake within validator delegation pools
@@ -83,8 +80,6 @@ With this feature enabled:
8380

8481
Without this feature, if a validator has 100 delegated tokens but only 30 are used to vote, the system assumes the other 70 abstained — and still counts them against quorum or majority thresholds
8582

86-
Disable in Movement network and enable in Aptos. Value after migration ?
87-
8883

8984
### 64 NEW_ACCOUNTS_DEFAULT_TO_FA_APT_STORE
9085
Changes the default storage model for APT coins in new accounts.
@@ -101,8 +96,6 @@ Without this feature :
10196
- Less concurrency for transfers
10297
- Less optimized for high-throughput workloads
10398

104-
Disable in Movement network and enable in Aptos. Value after migration ?
105-
10699
### 67 CONCURRENT_FUNGIBLE_BALANCE
107100
Enables a new implementation of CoinStore optimized for concurrency and performance
108101

@@ -113,14 +106,10 @@ When CONCURRENT_FUNGIBLE_BALANCE is enabled, Aptos switches the underlying CoinS
113106
- Reduced gas costs for coin transfers
114107
- Concurrent writes to many CoinStores
115108

116-
Enable in Movement network and disable in Aptos. Value after migration ?
117-
118109
### 71 DISALLOW_USER_NATIVES
119110
`DISALLOW_USER_NATIVES` is a VM feature flag that forbids non-framework modules from defining Move “native” items (i.e., native fun and native struct).
120111
When this flag is enabled, the Aptos VM will reject publishing or upgrading any module that contains user-defined natives unless it belongs to the core code addresses (e.g., 0x1 AptosFramework / AptosStd / MoveStdlib).
121112

122-
Disable in Movement network and enable in Aptos. Value after migration ?
123-
124113
### 72 ALLOW_SERIALIZED_SCRIPT_ARGS
125114
The Aptos feature flag ALLOW_SERIALIZED_SCRIPT_ARGS controls whether Move script/function arguments can be passed in serialized (BCS) form instead of structured command-line input.
126115

@@ -129,18 +118,12 @@ Use Cases
129118
- Cross-language SDKs: Rust, Python, JavaScript SDKs can encode arguments once and submit them to the chain without decoding
130119
- Batch transactions or replay systems can record + replay exact inputs
131120

132-
Disable in Movement network and enable in Aptos. Value after migration ?
133-
134121
### 74 ENABLE_ENUM_TYPES
135122
Enables the enum type system in Move (akin to Rust-style enums or sum types)
136123

137-
Disable in Movement network and enable in Aptos. Value after migration ?
138-
139124
### 76 REJECT_UNSTABLE_BYTECODE_FOR_SCRIPT
140125
Prevent scripts from using unstable VM bytecodes (e.g., Move 2 experimental opcodes).
141126

142-
Disable in Movement network and enable in Aptos. Value after migration ?
143-
144127
### 77 FEDERATED_KEYLESS
145128
Enables federated (off-chain) authentication and signing for special keyless Aptos accounts
146129

@@ -149,16 +132,12 @@ Keyless accounts:
149132
- Instead, rely on off-chain verifiable authentication protocols (e.g., WebAuthn, federated ID systems)
150133
- Authentication and signature checks are delegated to a federated service (trusted by the network)
151134

152-
Disable in Movement network and enable in Aptos. Value after migration ?
153-
154135
### 78 TRANSACTION_SIMULATION_ENHANCEMENT
155136
Improves consistency, safety, and reliability of transaction simulations
156137

157138
### 79 COLLECTION_OWNER
158139
Enables collection ownership logic for NFTs (Token v2), giving collection creators ownership rights and management capabilities
159140

160-
Disable in Movement network and enable in Aptos. Value after migration ?
161-
162141
### 80 NATIVE_MEMORY_OPERATIONS
163142
Enables native (Rust-implemented) Move functions for low-level memory access or manipulation.
164143
It enable these functions:
@@ -168,28 +147,18 @@ native public fun memcpy(dst: &mut vector<u8>, src: &vector<u8>, len: u64);
168147
native public fun memcmp(a: &vector<u8>, b: &vector<u8>): bool;
169148
```
170149

171-
Disable in Movement network and enable in Aptos. Value after migration ?
172-
173150
### ENABLE_LOADER_V2
174151
Activates Loader v2, a new Move module loading engine with improved design and performance
175152

176-
Disable in Movement network and enable in Aptos. Value after migration ?
177-
178153
### 82 DISALLOW_INIT_MODULE_TO_PUBLISH_MODULES
179154
Prevent modules from calling move_to or publish_module during their own initialization (init_module)
180155

181-
Disable in Movement network and enable in Aptos. Value after migration ?
182-
183156
### 90 NEW_ACCOUNTS_DEFAULT_TO_FA_STORE
184157
Makes all newly created accounts default to using FA (aggregator-based) CoinStores for any fungible token, not just APT
185158

186-
Disable in Movement network and enable in Aptos. Value after migration ?
187-
188159
### 91 DEFAULT_ACCOUNT_RESOURCE
189160
Enables the use of the new DefaultAccount resource layout for newly created accounts
190161

191-
Disable in Movement network and enable in Aptos. Value after migration ?
192-
193162
### GOVERNED_GAS_POOL
194163
Movement feature removed.
195164

@@ -208,22 +177,4 @@ ENABLE_LOADER_V2
208177
DISALLOW_INIT_MODULE_TO_PUBLISH_MODULES
209178
DISALLOW_USER_NATIVES
210179

211-
### Features that can be disable without risk
212-
None
213-
214-
### Feature that can cause an issue where we need to decide.
215-
These feature can change the current movement network behavior is their state is changed.
216-
217-
APTOS_STD_CHAIN_ID_NATIVES: Disable in Aptos, some of our deployed smart contract can use it so it would break their execution.
218-
219-
PERIODICAL_REWARD_RATE_DECREASE: Depend on how we reward validators.
220-
221-
PARTIAL_GOVERNANCE_VOTING and DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING depends on own the new network governance should work.
222-
223-
NEW_ACCOUNTS_DEFAULT_TO_FA_APT_STORE: change how new account are created. Perhaps, it can create some incompatibilities with the current deployed smart contract.
224-
225-
ENABLE_ENUM_TYPES: I think it's related to move2 that won't be activated during the migration but after.
226-
227-
FEDERATED_KEYLESS: It's a new feature, do we support it?
228180

229-
NEW_ACCOUNTS_DEFAULT_TO_FA_STORE and DEFAULT_ACCOUNT_RESOURCE: change how account are created, it can affect existing application.

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

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

5555
let mut enable_feature_flags = AptosFeatureFlag::default_features();
56-
let mut disable_feature_flags = AptosFeatureFlag::default_features();
5756

5857
// To Enable
5958
enable_feature_flags.push(AptosFeatureFlag::GOVERNED_GAS_POOL);
6059
enable_feature_flags.push(AptosFeatureFlag::PARTIAL_GOVERNANCE_VOTING);
6160
enable_feature_flags.push(AptosFeatureFlag::DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING);
62-
63-
// To Disable
64-
// disable_feature_flags.push(AptosFeatureFlag::REMOVE_DETAILED_ERROR_FROM_HASH);
65-
// disable_feature_flags.push(AptosFeatureFlag::PERIODICAL_REWARD_RATE_DECREASE);
66-
// disable_feature_flags.push(AptosFeatureFlag::VM_BINARY_FORMAT_V7);
67-
// disable_feature_flags.push(AptosFeatureFlag::KEYLESS_ACCOUNTS);
68-
// disable_feature_flags.push(AptosFeatureFlag::KEYLESS_BUT_ZKLESS_ACCOUNTS);
69-
//@ TODO: Check this one, not sure about it
70-
//disable_feature_flags.push(AptosFeatureFlag::KEYLESS_ACCOUNTS_WITH_PASSKEYS);
61+
enable_feature_flags.push(AptosFeatureFlag::CONCURRENT_FUNGIBLE_BALANCE);
62+
enable_feature_flags.push(AptosFeatureFlag::REJECT_UNSTABLE_BYTECODE);
7163

7264
Features {
7365
enabled: enable_feature_flags.into_iter().map(FeatureFlag::from).collect(),
74-
disabled: vec![],
66+
disabled: vec![
67+
FeatureFlag::RemoveDetailedError,
68+
FeatureFlag::PeriodicalRewardRateReduction,
69+
FeatureFlag::VMBinaryFormatV7,
70+
FeatureFlag::KeylessAccounts,
71+
FeatureFlag::KeylessButZklessAccounts,
72+
FeatureFlag::KeylessAccountsWithPasskeys,
73+
],
7574
}
7675
});
7776
}

0 commit comments

Comments
 (0)