Skip to content

Commit 11d5323

Browse files
committed
fix lint
1 parent 87f5203 commit 11d5323

2 files changed

Lines changed: 55 additions & 2 deletions

File tree

aptos-move/framework/move-stdlib/doc/features.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ return true.
130130
- [Function `default_to_concurrent_fungible_balance_enabled`](#0x1_features_default_to_concurrent_fungible_balance_enabled)
131131
- [Function `get_abort_if_multisig_payload_mismatch_feature`](#0x1_features_get_abort_if_multisig_payload_mismatch_feature)
132132
- [Function `abort_if_multisig_payload_mismatch_enabled`](#0x1_features_abort_if_multisig_payload_mismatch_enabled)
133+
- [Function `get_allow_serialized_script_args_feature`](#0x1_features_get_allow_serialized_script_args_feature)
134+
- [Function `allow_serialized_script_args_enabled`](#0x1_features_allow_serialized_script_args_enabled)
133135
- [Function `get_atomic_bridge_feature`](#0x1_features_get_atomic_bridge_feature)
134136
- [Function `abort_atomic_bridge_enabled`](#0x1_features_abort_atomic_bridge_enabled)
135137
- [Function `get_native_bridge_feature`](#0x1_features_get_native_bridge_feature)
@@ -297,6 +299,8 @@ Lifetime: transient
297299

298300
<a id="0x1_features_ALLOW_SERIALIZED_SCRIPT_ARGS"></a>
299301

302+
Whether to allow serialized script arguments in the transaction payload.
303+
Lifetime: permanent
300304

301305

302306
<pre><code><b>const</b> <a href="features.md#0x1_features_ALLOW_SERIALIZED_SCRIPT_ARGS">ALLOW_SERIALIZED_SCRIPT_ARGS</a>: u64 = 72;
@@ -1126,6 +1130,9 @@ Lifetime: transient
11261130

11271131
<a id="0x1_features_TRANSACTION_SIMULATION_ENHANCEMENT"></a>
11281132

1133+
Whether to enhance the transaction simulation with additional checks and features.
1134+
This is needed because of the introduction of new features in transaction simulation.
1135+
Lifetime: transient
11291136

11301137

11311138
<pre><code><b>const</b> <a href="features.md#0x1_features_TRANSACTION_SIMULATION_ENHANCEMENT">TRANSACTION_SIMULATION_ENHANCEMENT</a>: u64 = 78;
@@ -3457,6 +3464,52 @@ We do not expect use from Move, so for now only for documentation purposes here
34573464

34583465

34593466

3467+
</details>
3468+
3469+
<a id="0x1_features_get_allow_serialized_script_args_feature"></a>
3470+
3471+
## Function `get_allow_serialized_script_args_feature`
3472+
3473+
3474+
3475+
<pre><code><b>public</b> <b>fun</b> <a href="features.md#0x1_features_get_allow_serialized_script_args_feature">get_allow_serialized_script_args_feature</a>(): u64
3476+
</code></pre>
3477+
3478+
3479+
3480+
<details>
3481+
<summary>Implementation</summary>
3482+
3483+
3484+
<pre><code><b>public</b> <b>fun</b> <a href="features.md#0x1_features_get_allow_serialized_script_args_feature">get_allow_serialized_script_args_feature</a>(): u64 { <a href="features.md#0x1_features_ALLOW_SERIALIZED_SCRIPT_ARGS">ALLOW_SERIALIZED_SCRIPT_ARGS</a> }
3485+
</code></pre>
3486+
3487+
3488+
3489+
</details>
3490+
3491+
<a id="0x1_features_allow_serialized_script_args_enabled"></a>
3492+
3493+
## Function `allow_serialized_script_args_enabled`
3494+
3495+
3496+
3497+
<pre><code><b>public</b> <b>fun</b> <a href="features.md#0x1_features_allow_serialized_script_args_enabled">allow_serialized_script_args_enabled</a>(): bool
3498+
</code></pre>
3499+
3500+
3501+
3502+
<details>
3503+
<summary>Implementation</summary>
3504+
3505+
3506+
<pre><code><b>public</b> <b>fun</b> <a href="features.md#0x1_features_allow_serialized_script_args_enabled">allow_serialized_script_args_enabled</a>(): bool <b>acquires</b> <a href="features.md#0x1_features_Features">Features</a> {
3507+
<a href="features.md#0x1_features_is_enabled">is_enabled</a>(<a href="features.md#0x1_features_ALLOW_SERIALIZED_SCRIPT_ARGS">ALLOW_SERIALIZED_SCRIPT_ARGS</a>)
3508+
}
3509+
</code></pre>
3510+
3511+
3512+
34603513
</details>
34613514

34623515
<a id="0x1_features_get_atomic_bridge_feature"></a>

aptos-move/framework/move-stdlib/sources/configs/features.move

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ module std::features {
267267
}
268268

269269
/// Whether we refund storage costs to the user upon deletion
270-
///
270+
///
271271
/// Lifetime: transient
272272
const STORAGE_DELETION_REFUND: u64 = 28;
273273

@@ -792,7 +792,7 @@ module std::features {
792792
is_enabled(DISTRIBUTE_TRANSACTION_FEE)
793793
}
794794

795-
/// Whether the staking rewards are mint (diseable) or withdraw from the gouverned gas pool treasury (enable).
795+
/// Whether the staking rewards are mint (diseable) or withdraw from the gouverned gas pool treasury (enable).
796796
///
797797
/// Lifetime: permanent
798798
const STAKE_REWARD_USING_TREASURY: u64 = 224;

0 commit comments

Comments
 (0)