features - [devnet]
此内容尚不支持你的语言。
Defines feature flags for Aptos. Those are used in Aptos specific implementations of features in the Move stdlib, the Aptos stdlib, and the Aptos framework.
============================================================================================ Feature Flag Definitions
Each feature flag should come with documentation which justifies the need of the flag. Introduction of a new feature flag requires approval of framework owners. Be frugal when introducing new feature flags, as too many can make it hard to understand the code.
Each feature flag should come with a specification of a lifetime:
-
a transient feature flag is only needed until a related code rollout has happened. This is typically associated with the introduction of new native Move functions, and is only used from Move code. The owner of this feature is obliged to remove it once this can be done.
-
a permanent feature flag is required to stay around forever. Typically, those flags guard behavior in native code, and the behavior with or without the feature need to be preserved for playback.
Note that removing a feature flag still requires the function which tests for the feature
(like code_dependency_check_enabled below) to stay around for compatibility reasons, as it
is a public function. However, once the feature flag is disabled, those functions can constantly
return true.
use 0x1::error;use 0x1::signer;use 0x1::vector;Resources
Features
The enabled features, represented by a bitset stored on chain.
struct Features has keyPendingFeatures
This resource holds the feature vec updates received in the current epoch. On epoch change, the updates take effect and this buffer is cleared.
struct PendingFeatures has keyFunctions
code_dependency_check_enabled
public fun code_dependency_check_enabled(): booltreat_friend_as_private
public fun treat_friend_as_private(): boolget_sha_512_and_ripemd_160_feature
public fun get_sha_512_and_ripemd_160_feature(): u64sha_512_and_ripemd_160_enabled
public fun sha_512_and_ripemd_160_enabled(): boolget_aptos_stdlib_chain_id_feature
public fun get_aptos_stdlib_chain_id_feature(): u64aptos_stdlib_chain_id_enabled
public fun aptos_stdlib_chain_id_enabled(): boolget_vm_binary_format_v6
public fun get_vm_binary_format_v6(): u64allow_vm_binary_format_v6
public fun allow_vm_binary_format_v6(): boolget_collect_and_distribute_gas_fees_feature
Deprecated feature
#[deprecated]public fun get_collect_and_distribute_gas_fees_feature(): u64collect_and_distribute_gas_fees
#[deprecated]public fun collect_and_distribute_gas_fees(): boolmulti_ed25519_pk_validate_v2_feature
public fun multi_ed25519_pk_validate_v2_feature(): u64multi_ed25519_pk_validate_v2_enabled
public fun multi_ed25519_pk_validate_v2_enabled(): boolget_blake2b_256_feature
public fun get_blake2b_256_feature(): u64blake2b_256_enabled
public fun blake2b_256_enabled(): boolget_resource_groups_feature
public fun get_resource_groups_feature(): u64resource_groups_enabled
public fun resource_groups_enabled(): boolget_multisig_accounts_feature
public fun get_multisig_accounts_feature(): u64multisig_accounts_enabled
public fun multisig_accounts_enabled(): boolget_delegation_pools_feature
public fun get_delegation_pools_feature(): u64delegation_pools_enabled
public fun delegation_pools_enabled(): boolget_cryptography_algebra_natives_feature
public fun get_cryptography_algebra_natives_feature(): u64cryptography_algebra_enabled
public fun cryptography_algebra_enabled(): boolget_bls12_381_strutures_feature
public fun get_bls12_381_strutures_feature(): u64bls12_381_structures_enabled
public fun bls12_381_structures_enabled(): boolget_periodical_reward_rate_decrease_feature
public fun get_periodical_reward_rate_decrease_feature(): u64periodical_reward_rate_decrease_enabled
public fun periodical_reward_rate_decrease_enabled(): boolget_partial_governance_voting
public fun get_partial_governance_voting(): u64partial_governance_voting_enabled
public fun partial_governance_voting_enabled(): boolget_delegation_pool_partial_governance_voting
public fun get_delegation_pool_partial_governance_voting(): u64delegation_pool_partial_governance_voting_enabled
public fun delegation_pool_partial_governance_voting_enabled(): boolfee_payer_enabled
public fun fee_payer_enabled(): boolget_auids
public fun get_auids(): u64auids_enabled
public fun auids_enabled(): boolget_bulletproofs_feature
public fun get_bulletproofs_feature(): u64bulletproofs_enabled
public fun bulletproofs_enabled(): boolget_signer_native_format_fix_feature
public fun get_signer_native_format_fix_feature(): u64signer_native_format_fix_enabled
public fun signer_native_format_fix_enabled(): boolget_module_event_feature
public fun get_module_event_feature(): u64module_event_enabled
public fun module_event_enabled(): boolget_aggregator_v2_api_feature
public fun get_aggregator_v2_api_feature(): u64aggregator_v2_api_enabled
public fun aggregator_v2_api_enabled(): boolget_aggregator_snapshots_feature
#[deprecated]public fun get_aggregator_snapshots_feature(): u64aggregator_snapshots_enabled
#[deprecated]public fun aggregator_snapshots_enabled(): boolget_sponsored_automatic_account_creation
public fun get_sponsored_automatic_account_creation(): u64sponsored_automatic_account_creation_enabled
public fun sponsored_automatic_account_creation_enabled(): boolget_concurrent_token_v2_feature
public fun get_concurrent_token_v2_feature(): u64concurrent_token_v2_enabled
public fun concurrent_token_v2_enabled(): boolget_concurrent_assets_feature
#[deprecated]public fun get_concurrent_assets_feature(): u64concurrent_assets_enabled
#[deprecated]public fun concurrent_assets_enabled(): boolget_operator_beneficiary_change_feature
public fun get_operator_beneficiary_change_feature(): u64operator_beneficiary_change_enabled
public fun operator_beneficiary_change_enabled(): boolget_commission_change_delegation_pool_feature
public fun get_commission_change_delegation_pool_feature(): u64commission_change_delegation_pool_enabled
public fun commission_change_delegation_pool_enabled(): boolget_bn254_strutures_feature
public fun get_bn254_strutures_feature(): u64bn254_structures_enabled
public fun bn254_structures_enabled(): boolget_reconfigure_with_dkg_feature
public fun get_reconfigure_with_dkg_feature(): u64reconfigure_with_dkg_enabled
public fun reconfigure_with_dkg_enabled(): boolget_keyless_accounts_feature
public fun get_keyless_accounts_feature(): u64keyless_accounts_enabled
public fun keyless_accounts_enabled(): boolget_keyless_but_zkless_accounts_feature
public fun get_keyless_but_zkless_accounts_feature(): u64keyless_but_zkless_accounts_feature_enabled
public fun keyless_but_zkless_accounts_feature_enabled(): boolget_jwk_consensus_feature
public fun get_jwk_consensus_feature(): u64jwk_consensus_enabled
public fun jwk_consensus_enabled(): boolget_concurrent_fungible_assets_feature
public fun get_concurrent_fungible_assets_feature(): u64concurrent_fungible_assets_enabled
public fun concurrent_fungible_assets_enabled(): boolis_object_code_deployment_enabled
#[deprecated]public fun is_object_code_deployment_enabled(): boolget_max_object_nesting_check_feature
public fun get_max_object_nesting_check_feature(): u64max_object_nesting_check_enabled
public fun max_object_nesting_check_enabled(): boolget_keyless_accounts_with_passkeys_feature
public fun get_keyless_accounts_with_passkeys_feature(): u64keyless_accounts_with_passkeys_feature_enabled
public fun keyless_accounts_with_passkeys_feature_enabled(): boolget_multisig_v2_enhancement_feature
public fun get_multisig_v2_enhancement_feature(): u64multisig_v2_enhancement_feature_enabled
public fun multisig_v2_enhancement_feature_enabled(): boolget_delegation_pool_allowlisting_feature
public fun get_delegation_pool_allowlisting_feature(): u64delegation_pool_allowlisting_enabled
public fun delegation_pool_allowlisting_enabled(): boolget_module_event_migration_feature
public fun get_module_event_migration_feature(): u64module_event_migration_enabled
public fun module_event_migration_enabled(): boolget_transaction_context_extension_feature
public fun get_transaction_context_extension_feature(): u64transaction_context_extension_enabled
public fun transaction_context_extension_enabled(): boolget_coin_to_fungible_asset_migration_feature
public fun get_coin_to_fungible_asset_migration_feature(): u64coin_to_fungible_asset_migration_feature_enabled
public fun coin_to_fungible_asset_migration_feature_enabled(): boolget_primary_apt_fungible_store_at_user_address_feature
#[deprecated]public fun get_primary_apt_fungible_store_at_user_address_feature(): u64primary_apt_fungible_store_at_user_address_enabled
#[deprecated]public fun primary_apt_fungible_store_at_user_address_enabled(): boolaggregator_v2_is_at_least_api_enabled
#[deprecated]public fun aggregator_v2_is_at_least_api_enabled(): boolget_object_native_derived_address_feature
#[deprecated]public fun get_object_native_derived_address_feature(): u64object_native_derived_address_enabled
#[deprecated]public fun object_native_derived_address_enabled(): boolget_dispatchable_fungible_asset_feature
#[deprecated]public fun get_dispatchable_fungible_asset_feature(): u64dispatchable_fungible_asset_enabled
#[deprecated]public fun dispatchable_fungible_asset_enabled(): boolget_new_accounts_default_to_fa_apt_store_feature
#[deprecated]public fun get_new_accounts_default_to_fa_apt_store_feature(): u64new_accounts_default_to_fa_apt_store_enabled
#[deprecated]public fun new_accounts_default_to_fa_apt_store_enabled(): boolget_operations_default_to_fa_apt_store_feature
#[deprecated]public fun get_operations_default_to_fa_apt_store_feature(): u64operations_default_to_fa_apt_store_enabled
#[deprecated]public fun operations_default_to_fa_apt_store_enabled(): boolget_concurrent_fungible_balance_feature
public fun get_concurrent_fungible_balance_feature(): u64concurrent_fungible_balance_enabled
public fun concurrent_fungible_balance_enabled(): boolget_default_to_concurrent_fungible_balance_feature
public fun get_default_to_concurrent_fungible_balance_feature(): u64default_to_concurrent_fungible_balance_enabled
public fun default_to_concurrent_fungible_balance_enabled(): boolget_abort_if_multisig_payload_mismatch_feature
public fun get_abort_if_multisig_payload_mismatch_feature(): u64abort_if_multisig_payload_mismatch_enabled
public fun abort_if_multisig_payload_mismatch_enabled(): boolget_transaction_simulation_enhancement_feature
public fun get_transaction_simulation_enhancement_feature(): u64transaction_simulation_enhancement_enabled
public fun transaction_simulation_enhancement_enabled(): boolget_collection_owner_feature
public fun get_collection_owner_feature(): u64is_collection_owner_enabled
public fun is_collection_owner_enabled(): boolget_native_memory_operations_feature
public fun get_native_memory_operations_feature(): u64is_native_memory_operations_enabled
public fun is_native_memory_operations_enabled(): boolget_permissioned_signer_feature
public fun get_permissioned_signer_feature(): u64is_permissioned_signer_enabled
public fun is_permissioned_signer_enabled(): boolget_account_abstraction_feature
public fun get_account_abstraction_feature(): u64is_account_abstraction_enabled
public fun is_account_abstraction_enabled(): boolget_bulletproofs_batch_feature
public fun get_bulletproofs_batch_feature(): u64bulletproofs_batch_enabled
public fun bulletproofs_batch_enabled(): boolis_derivable_account_abstraction_enabled
public fun is_derivable_account_abstraction_enabled(): boolis_domain_account_abstraction_enabled
#[deprecated]public fun is_domain_account_abstraction_enabled(): boolget_new_accounts_default_to_fa_store_feature
#[deprecated]public fun get_new_accounts_default_to_fa_store_feature(): u64new_accounts_default_to_fa_store_enabled
#[deprecated]public fun new_accounts_default_to_fa_store_enabled(): boolget_default_account_resource_feature
public fun get_default_account_resource_feature(): u64is_default_account_resource_enabled
public fun is_default_account_resource_enabled(): boolget_jwk_consensus_per_key_mode_feature
public fun get_jwk_consensus_per_key_mode_feature(): u64is_jwk_consensus_per_key_mode_enabled
public fun is_jwk_consensus_per_key_mode_enabled(): boolget_orderless_transactions_feature
public fun get_orderless_transactions_feature(): u64orderless_transactions_enabled
public fun orderless_transactions_enabled(): boolget_calculate_transaction_fee_for_distribution_feature
public fun get_calculate_transaction_fee_for_distribution_feature(): u64is_calculate_transaction_fee_for_distribution_enabled
public fun is_calculate_transaction_fee_for_distribution_enabled(): boolget_distribute_transaction_fee_feature
public fun get_distribute_transaction_fee_feature(): u64is_distribute_transaction_fee_enabled
public fun is_distribute_transaction_fee_enabled(): boolget_monotonically_increasing_counter_feature
#[deprecated]public fun get_monotonically_increasing_counter_feature(): u64is_monotonically_increasing_counter_enabled
#[deprecated]public fun is_monotonically_increasing_counter_enabled(): boolget_function_reflection_feature
public fun get_function_reflection_feature(): u64is_function_reflection_enabled
public fun is_function_reflection_enabled(): boolget_slh_dsa_sha2_128s_signature_feature
public fun get_slh_dsa_sha2_128s_signature_feature(): u64slh_dsa_sha2_128s_signature_enabled
public fun slh_dsa_sha2_128s_signature_enabled(): boolget_encrypted_transactions_feature
public fun get_encrypted_transactions_feature(): u64is_encrypted_transactions_enabled
public fun is_encrypted_transactions_enabled(): boolget_transaction_limits_feature
public fun get_transaction_limits_feature(): u64is_transaction_limits_enabled
public fun is_transaction_limits_enabled(): boolis_storage_slot_natives_enabled
public fun is_storage_slot_natives_enabled(): boolget_multisig_timelock_feature
public fun get_multisig_timelock_feature(): u64is_multisig_timelock_enabled
public fun is_multisig_timelock_enabled(): boolchange_feature_flags
Deprecated to prevent validator set changes during DKG.
Genesis/tests should use change_feature_flags_internal() for feature vec initialization.
Governance proposals should use change_feature_flags_for_next_epoch() to enable/disable features.
public fun change_feature_flags(_framework: &signer, _enable: vector<u64>, _disable: vector<u64>)change_feature_flags_for_next_epoch
Enable and disable features for the next epoch.
public fun change_feature_flags_for_next_epoch(framework: &signer, enable: vector<u64>, disable: vector<u64>)on_new_epoch
Apply all the pending feature flag changes. Should only be used at the end of a reconfiguration with DKG.
While the scope is public, it can only be usd in system transactions like block_prologue and governance proposals,
who have permission to set the flag that’s checked in extract().
public fun on_new_epoch(framework: &signer)is_enabled
Check whether the feature is enabled.
#[view]public fun is_enabled(feature: u64): boolConstants
Whether the multisig v2 fix is enabled. Once enabled, the multisig transaction execution will explicitly abort if the provided payload does not match the payload stored on-chain.
Lifetime: transient
const ABORT_IF_MULTISIG_PAYLOAD_MISMATCH: u64 = 70;Whether the account abstraction is enabled.
Lifetime: transient
const ACCOUNT_ABSTRACTION: u64 = 85;Whether the new aptos_stdlib::type_info::chain_id() native for fetching the chain ID is enabled.
This is needed because of the introduction of a new native function.
Lifetime: transient
const APTOS_STD_CHAIN_ID_NATIVES: u64 = 4;Whether enable MOVE functions to call create_auid method to create AUIDs. Lifetime: transient
const APTOS_UNIQUE_IDENTIFIERS: u64 = 23;Whether the new BLAKE2B-256 hash function native is enabled. This is needed because of the introduction of new native function(s). Lifetime: transient
const BLAKE2B_256_NATIVE: u64 = 8;Whether the generic algebra implementation for BLS12381 operations are enabled.
Lifetime: transient
const BLS12_381_STRUCTURES: u64 = 13;Whether the generic algebra implementation for BN254 operations are enabled.
Lifetime: transient
const BN254_STRUCTURES: u64 = 43;Whether the batch Bulletproofs native functions are available. This is needed because of the introduction of a new native function. Lifetime: transient
const BULLETPROOFS_BATCH_NATIVES: u64 = 87;Whether the Bulletproofs zero-knowledge range proof module is enabled, and the related native function is available. This is needed because of the introduction of a new native function. Lifetime: transient
const BULLETPROOFS_NATIVES: u64 = 24;Whether to calculate the transaction fee for distribution.
const CALCULATE_TRANSACTION_FEE_FOR_DISTRIBUTION: u64 = 96;Charge invariant violation error. Lifetime: transient
const CHARGE_INVARIANT_VIOLATION: u64 = 20;Whether validation of package dependencies is enabled, and the related native function is available. This is needed because of introduction of a new native function. Lifetime: transient
const CODE_DEPENDENCY_CHECK: u64 = 1;Whether migration from coin to fungible asset feature is enabled.
Lifetime: transient
const COIN_TO_FUNGIBLE_ASSET_MIGRATION: u64 = 60;const COLLECTION_OWNER: u64 = 79;Whether the operator commission rate change in delegation pool is enabled. Lifetime: transient
const COMMISSION_CHANGE_DELEGATION_POOL: u64 = 42;Whether enable Fungible Asset creation to create higher throughput concurrent variants. Lifetime: transient
const CONCURRENT_FUNGIBLE_ASSETS: u64 = 50;Whether enable concurent Fungible Balance to create higher throughput concurrent variants. Lifetime: transient
const CONCURRENT_FUNGIBLE_BALANCE: u64 = 67;Whether generic algebra basic operation support in crypto_algebra.move are enabled.
Lifetime: permanent
const CRYPTOGRAPHY_ALGEBRA_NATIVES: u64 = 12;Lifetime: transient
const DEFAULT_ACCOUNT_RESOURCE: u64 = 91;Whether to default new Fungible Store to the concurrent variant. Lifetime: transient
const DEFAULT_TO_CONCURRENT_FUNGIBLE_BALANCE: u64 = 68;Whether delegation pools are enabled. Lifetime: transient
const DELEGATION_POOLS: u64 = 11;Whether delegators allowlisting for delegation pools is supported. Lifetime: transient
const DELEGATION_POOL_ALLOWLISTING: u64 = 56;Whether enable paritial governance voting on delegation_pool. Lifetime: transient
const DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING: u64 = 21;Whether the account abstraction is enabled.
Lifetime: transient
const DERIVABLE_ACCOUNT_ABSTRACTION: u64 = 88;Whether to distribute transaction fee to validators.
const DISTRIBUTE_TRANSACTION_FEE: u64 = 97;const EAPI_DISABLED: u64 = 2;Whether native_public_key_validate aborts when a public key of the wrong length is given Lifetime: ephemeral
const ED25519_PUBKEY_VALIDATE_RETURN_FALSE_WRONG_LENGTH: u64 = 14;Deployed to production, and disabling is deprecated.
const EFEATURE_CANNOT_BE_DISABLED: u64 = 3;The provided signer has not a framework address.
const EFRAMEWORK_SIGNER_NEEDED: u64 = 1;const EINVALID_FEATURE: u64 = 1;Whether the encrypted mempool feature is enabled.
const ENCRYPTED_TRANSACTIONS: u64 = 108;const FEE_PAYER_ACCOUNT_OPTIONAL: u64 = 35;Whether alternate gas payer is supported Lifetime: transient
const FEE_PAYER_ENABLED: u64 = 22;Whether function reflection is enabled.
const FUNCTION_REFLECTION: u64 = 105;When enabled, per-block hot-state promotions are persisted through the block
epilogue: the promotion set is embedded into the block epilogue transaction
payload (BlockEpiloguePayload::V2), and every transaction output in the block
uses the V1 write-set format, which encodes hot-state changes in its serialized
writes.
Lifetime: permanent
const HOTNESS_IN_EPILOGUE: u64 = 116;Deprecated by aptos_framework::jwk_consensus_config::JWKConsensusConfig.
const JWK_CONSENSUS: u64 = 49;If enabled, JWK consensus should run in per-key mode, where:
- The consensus is for key-level updates (e.g., “issuer A key 1 should be deleted”, “issuer B key 2 should be upserted”);
- transaction type
ValidatorTransaction::ObservedJWKUpdateis reused; - while a key-level update is mostly represented by a new type
KeyLevelUpdatelocally, For simplicity, it is represented by typeProviderJWKs(used to represent issuer-level update) in JWK Consensus messages, in validator transactions, and in Move.
const JWK_CONSENSUS_PER_KEY_MODE: u64 = 92;Whether the OIDB feature is enabled, possibly with the ZK-less verification mode.
Lifetime: transient
const KEYLESS_ACCOUNTS: u64 = 46;Whether keyless accounts support passkey-based ephemeral signatures.
Lifetime: transient
const KEYLESS_ACCOUNTS_WITH_PASSKEYS: u64 = 54;Whether the ZK-less mode of the keyless accounts feature is enabled.
Lifetime: transient
const KEYLESS_BUT_ZKLESS_ACCOUNTS: u64 = 47;Whether checking the maximum object nesting is enabled.
const MAX_OBJECT_NESTING_CHECK: u64 = 53;Whether emit function in event.move are enabled for module events.
Lifetime: transient
const MODULE_EVENT: u64 = 26;Whether aptos_framwork enables the behavior of module event migration.
Lifetime: transient
const MODULE_EVENT_MIGRATION: u64 = 57;Whether multisig accounts (different from accounts with multi-ed25519 auth keys) are enabled.
const MULTISIG_ACCOUNTS: u64 = 10;Whether the multisig timelock feature is enabled.
const MULTISIG_TIMELOCK: u64 = 115;Whether the Multisig V2 enhancement feature is enabled.
Lifetime: transient
const MULTISIG_V2_ENHANCEMENT: u64 = 55;Whether the new aptos_stdlib::multi_ed25519::public_key_validate_internal_v2() native is enabled.
This is needed because of the introduction of a new native function.
Lifetime: transient
const MULTI_ED25519_PK_VALIDATE_V2_NATIVES: u64 = 7;const NATIVE_MEMORY_OPERATIONS: u64 = 80;Whether new accounts default to the Fungible Asset store. Lifetime: transient
const NEW_ACCOUNTS_DEFAULT_TO_FA_STORE: u64 = 90;Whether allow changing beneficiaries for operators. Lifetime: transient
const OPERATOR_BENEFICIARY_CHANGE: u64 = 39;Whether orderless transactions are enabled. Lifetime: transient
const ORDERLESS_TRANSACTIONS: u64 = 94;Whether enable paritial governance voting on aptos_governance. Lifetime: transient
const PARTIAL_GOVERNANCE_VOTING: u64 = 17;Whether reward rate decreases periodically. Lifetime: transient
const PERIODICAL_REWARD_RATE_DECREASE: u64 = 16;const PERMISSIONED_SIGNER: u64 = 84;Deprecated by aptos_framework::randomness_config::RandomnessConfig.
const RECONFIGURE_WITH_DKG: u64 = 45;Whether resource groups are enabled. This is needed because of new attributes for structs and a change in storage representation.
const RESOURCE_GROUPS: u64 = 9;Whether the new SHA2-512, SHA3-512 and RIPEMD-160 hash function natives are enabled. This is needed because of the introduction of new native functions. Lifetime: transient
const SHA_512_AND_RIPEMD_160_NATIVES: u64 = 3;Whether the fix for a counting bug in the script path of the signature checker pass is enabled. Lifetime: transient
const SIGNATURE_CHECKER_V2_SCRIPT_FIX: u64 = 29;Fix the native formatter for signer. Lifetime: transient
const SIGNER_NATIVE_FORMAT_FIX: u64 = 25;Whether SLH-DSA-SHA2-128s signature scheme is enabled for transaction authentication. Lifetime: transient
const SLH_DSA_SHA2_128S_SIGNATURE: u64 = 107;Whether the automatic creation of accounts is enabled for sponsored transactions. Lifetime: transient
const SPONSORED_AUTOMATIC_ACCOUNT_CREATION: u64 = 34;Whether the storage slot natives are enabled.
const STORAGE_SLOT_NATIVES: u64 = 113;Whether struct constructors are enabled
Lifetime: transient
const STRUCT_CONSTRUCTORS: u64 = 15;Whether the transaction context extension is enabled. This feature allows the module
transaction_context to provide contextual information about the user transaction.
Lifetime: transient
const TRANSACTION_CONTEXT_EXTENSION: u64 = 59;When enabled, execution assembles TransactionInfoV1, which carries the hot
state root hash, so it is committed to the ledger accumulator.
Lifetime: permanent
const TRANSACTION_INFO_V1: u64 = 117;Whether the transaction limits feature is enabled. Allows transactions to request higher execution/IO gas limits backed by staking voting power.
const TRANSACTION_LIMITS: u64 = 111;Whether the simulation enhancement is enabled. This enables the simulation without an authentication check, the sponsored transaction simulation when the fee payer is set to 0x0, and the multisig transaction simulation consistnet with the execution.
Lifetime: transient
const TRANSACTION_SIMULATION_ENHANCEMENT: u64 = 78;Whether during upgrade compatibility checking, friend functions should be treated similar like private functions. Lifetime: permanent
const TREAT_FRIEND_AS_PRIVATE: u64 = 2;Whether to allow the use of binary format version v6. Lifetime: transient
const VM_BINARY_FORMAT_V6: u64 = 5;Whether bytecode version v8 is enabled. Lifetime: transient
We do not expect use from Move, so for now only for documentation purposes here
const VM_BINARY_FORMAT_V8: u64 = 86;