diff --git a/Cargo.lock b/Cargo.lock index 027b46b6c6..3d33e1ddd1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8833,7 +8833,6 @@ dependencies = [ "bcs-ext", "hex", "log 0.4.17", - "move-binary-format", "move-transactional-test-runner", "once_cell", "serde 1.0.140", @@ -8914,7 +8913,7 @@ dependencies = [ [[package]] name = "starcoin-framework" version = "11.0.0" -source = "git+https://github.com/starcoinorg/starcoin-framework?rev=e618173d44fb4e57b8c735cb3eda6844de22d930#e618173d44fb4e57b8c735cb3eda6844de22d930" +source = "git+https://github.com/starcoinorg/starcoin-framework?rev=cf1deda180af40a8b3e26c0c7b548c4c290cd7e7#cf1deda180af40a8b3e26c0c7b548c4c290cd7e7" dependencies = [ "anyhow", "include_dir", diff --git a/Cargo.toml b/Cargo.toml index cd99af2cc4..ad3fe542fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -425,7 +425,7 @@ starcoin-crypto = { git = "https://github.com/starcoinorg/starcoin-crypto", rev starcoin-decrypt = { path = "commons/decrypt" } starcoin-dev = { path = "vm/dev" } starcoin-executor = { path = "executor" } -starcoin-framework = { git = "https://github.com/starcoinorg/starcoin-framework", rev = "e618173d44fb4e57b8c735cb3eda6844de22d930" } +starcoin-framework = { git = "https://github.com/starcoinorg/starcoin-framework", rev = "cf1deda180af40a8b3e26c0c7b548c4c290cd7e7" } starcoin-genesis = { path = "genesis" } starcoin-logger = { path = "commons/logger" } starcoin-metrics = { path = "commons/metrics" } diff --git a/executor/Cargo.toml b/executor/Cargo.toml index 198b8c8128..286f208d24 100644 --- a/executor/Cargo.toml +++ b/executor/Cargo.toml @@ -30,7 +30,6 @@ stest = { workspace = true } tempfile = { workspace = true } test-helper = { workspace = true } move-transactional-test-runner = { workspace = true } -move-binary-format = { workspace = true } [features] default = [] diff --git a/executor/tests/error_code_test.rs b/executor/tests/error_code_test.rs index ab6e03c4f3..619661a2bb 100644 --- a/executor/tests/error_code_test.rs +++ b/executor/tests/error_code_test.rs @@ -182,7 +182,7 @@ fn test_execute_transfer_txn_with_dummy_gas_token_code() -> Result<()> { let output = execute_and_apply(&chain_state, txn2); //FIXME:: More detailed error code assert_eq!( - TransactionStatus::Discard(StatusCode::UNEXPECTED_ERROR_FROM_KNOWN_MOVE_FUNCTION), + TransactionStatus::Discard(StatusCode::BAD_TRANSACTION_FEE_CURRENCY), *output.status() ); diff --git a/executor/tests/module_upgrade_test.rs b/executor/tests/module_upgrade_test.rs index fdfd8b94e1..b8c636c19c 100644 --- a/executor/tests/module_upgrade_test.rs +++ b/executor/tests/module_upgrade_test.rs @@ -179,11 +179,8 @@ fn test_upgrade_stdlib_with_incremental_package() -> Result<()> { Ok(()) } -#[stest::test(timeout = 3000)] -// Since stdlib version 12, the Dao is upgraded to StarcoinDAO based on DAOSpace. -// The proposal and upgrade methods were refactored, so the unit test is different -// before and after stdlib version 12. -fn test_stdlib_upgrade_before_v12() -> Result<()> { +#[stest::test(timeout = 300)] +fn test_stdlib_upgrade() -> Result<()> { let mut genesis_config = BuiltinNetworkID::Test.genesis_config().clone(); let stdlib_versions = G_STDLIB_VERSIONS.clone(); let mut current_version = stdlib_versions[0]; @@ -198,9 +195,6 @@ fn test_stdlib_upgrade_before_v12() -> Result<()> { let alice = Account::new(); for new_version in stdlib_versions.into_iter().skip(1) { - if current_version >= StdlibVersion::Version(12) { - break; - } // if upgrade from 7 to later, we need to update language version to 3. if let StdlibVersion::Version(7) = current_version { dao_vote_test( @@ -289,7 +283,10 @@ fn test_stdlib_upgrade_before_v12() -> Result<()> { Ok(()) } - +// this is daospace-v12 starcoin-framework +// https://github.com/starcoinorg/starcoin-framework/releases/tag/daospace-v12 +// in starcoin master we don't use it +#[ignore] #[stest::test(timeout = 3000)] fn test_stdlib_upgrade_since_v12() -> Result<()> { let mut genesis_config = BuiltinNetworkID::Test.genesis_config().clone(); @@ -446,196 +443,199 @@ fn ext_execute_after_upgrade( "expect 0x1::GenesisNFT::GenesisNFTInfo in global storage, but go none." ); } - StdlibVersion::Version(12) => { - // New resources at genesis_account. - assert_genesis_resouce_exist(chain_state, "Block", "Checkpoints", vec![]); - assert_genesis_resouce_exist(chain_state, "DAORegistry", "DAORegistry", vec![]); - assert_genesis_resouce_exist( - chain_state, - "DAOExtensionPoint", - "NFTMintCapHolder", - vec![], - ); - assert_genesis_resouce_exist(chain_state, "DAOExtensionPoint", "Registry", vec![]); - assert_genesis_resouce_exist( - chain_state, - "DAOExtensionPoint", - "RegistryEventHandlers", - vec![], - ); - assert_genesis_resouce_exist( - chain_state, - "DAOPluginMarketplace", - "PluginRegistry", - vec![], - ); - assert_genesis_resouce_exist( - chain_state, - "DAOPluginMarketplace", - "RegistryEventHandlers", - vec![], - ); - assert_genesis_resouce_exist( - chain_state, - "DAOPluginMarketplace", - "PluginRegistry", - vec![], - ); - - // DAOSpace plugins - let plugin_names = vec![ - "AnyMemberPlugin", - "ConfigProposalPlugin", - "GrantProposalPlugin", - "InstallPluginProposalPlugin", - "MemberProposalPlugin", - "MintProposalPlugin", - "StakeToSBTPlugin", - "UpgradeModulePlugin", - "GasOracleProposalPlugin", - "TreasuryPlugin", - ]; - plugin_names.into_iter().for_each(|name| { - let any_member_tag = TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new(name).unwrap(), - name: Identifier::new(name).unwrap(), - type_params: vec![], - }); - assert_genesis_resouce_exist( - chain_state, - "DAOPluginMarketplace", - "PluginEntry", - vec![any_member_tag.clone()], - ); - assert_genesis_resouce_exist( - chain_state, - "DAOPluginMarketplace", - "PluginEventHandlers", - vec![any_member_tag], - ); - }); - - // New resources of StarcoinDAO - assert_genesis_resouce_exist(chain_state, "DAOAccount", "DAOAccount", vec![]); - vec![ - "InstallPluginProposalPlugin", - "UpgradeModulePlugin", - "ConfigProposalPlugin", - "StakeToSBTPlugin", - "GasOracleProposalPlugin", - "TreasuryPlugin", - ] - .into_iter() - .for_each(|name| { - assert_genesis_resouce_exist( - chain_state, - "DAOSpace", - "InstalledPluginInfo", - vec![TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new(name).unwrap(), - name: Identifier::new(name).unwrap(), - type_params: vec![], - })], - ) - }); - assert_genesis_resouce_exist( - chain_state, - "TreasuryPlugin", - "WithdrawCapabilityHolder", - vec![TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new("STC").unwrap(), - name: Identifier::new("STC").unwrap(), - type_params: vec![], - })], - ); - - // DAOCustomConfigModifyCapHolder of StarcoinDAO - vec![ - "TransactionPublishOption", - "VMConfig", - "ConsensusConfig", - "RewardConfig", - "TransactionTimeoutConfig", - "LanguageVersion", - ] - .into_iter() - .for_each(|name| { - assert_genesis_resouce_exist( - chain_state, - "DAOSpace", - "DAOCustomConfigModifyCapHolder", - vec![ - TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new("StarcoinDAO").unwrap(), - name: Identifier::new("StarcoinDAO").unwrap(), - type_params: vec![], - }), - TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new(name).unwrap(), - name: Identifier::new(name).unwrap(), - type_params: vec![], - }), - ], - ); - }); - - // Removed old DAO resources. - vec![ - ("ModifyDaoConfigProposal", "DaoConfigModifyCapability"), - ("UpgradeModuleDaoProposal", "UpgradeModuleDaoProposal"), - ("TreasuryWithdrawDaoProposal", "WrappedWithdrawCapability"), - ] - .into_iter() - .for_each(|(module, name)| { - assert_genesis_resouce_not_exist( - chain_state, - module, - name, - vec![TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new("STC").unwrap(), - name: Identifier::new("STC").unwrap(), - type_params: vec![], - })], - ) - }); - - vec![ - "TransactionPublishOption", - "VMConfig", - "ConsensusConfig", - "RewardConfig", - "TransactionTimeoutConfig", - "LanguageVersion", - ] - .into_iter() - .for_each(|name| { - assert_genesis_resouce_not_exist( - chain_state, - "OnChainConfigDao", - "WrappedConfigModifyCapability", - vec![ - TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new("STC").unwrap(), - name: Identifier::new("STC").unwrap(), - type_params: vec![], - }), - TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new(name).unwrap(), - name: Identifier::new(name).unwrap(), - type_params: vec![], - }), - ], - ); - }); - } + // this is old daospace-v12 starcoin-framework, + // https://github.com/starcoinorg/starcoin-framework/releases/tag/daospace-v12 + // master don't use it + // StdlibVersion::Version(12) => { + // // New resources at genesis_account. + // assert_genesis_resouce_exist(chain_state, "Block", "Checkpoints", vec![]); + // assert_genesis_resouce_exist(chain_state, "DAORegistry", "DAORegistry", vec![]); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOExtensionPoint", + // "NFTMintCapHolder", + // vec![], + // ); + // assert_genesis_resouce_exist(chain_state, "DAOExtensionPoint", "Registry", vec![]); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOExtensionPoint", + // "RegistryEventHandlers", + // vec![], + // ); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOPluginMarketplace", + // "PluginRegistry", + // vec![], + // ); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOPluginMarketplace", + // "RegistryEventHandlers", + // vec![], + // ); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOPluginMarketplace", + // "PluginRegistry", + // vec![], + // ); + // + // // DAOSpace plugins + // let plugin_names = vec![ + // "AnyMemberPlugin", + // "ConfigProposalPlugin", + // "GrantProposalPlugin", + // "InstallPluginProposalPlugin", + // "MemberProposalPlugin", + // "MintProposalPlugin", + // "StakeToSBTPlugin", + // "UpgradeModulePlugin", + // "GasOracleProposalPlugin", + // "TreasuryPlugin", + // ]; + // plugin_names.into_iter().for_each(|name| { + // let any_member_tag = TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new(name).unwrap(), + // name: Identifier::new(name).unwrap(), + // type_params: vec![], + // }); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOPluginMarketplace", + // "PluginEntry", + // vec![any_member_tag.clone()], + // ); + // assert_genesis_resouce_exist( + // chain_state, + // "DAOPluginMarketplace", + // "PluginEventHandlers", + // vec![any_member_tag], + // ); + // }); + // + // // New resources of StarcoinDAO + // assert_genesis_resouce_exist(chain_state, "DAOAccount", "DAOAccount", vec![]); + // vec![ + // "InstallPluginProposalPlugin", + // "UpgradeModulePlugin", + // "ConfigProposalPlugin", + // "StakeToSBTPlugin", + // "GasOracleProposalPlugin", + // "TreasuryPlugin", + // ] + // .into_iter() + // .for_each(|name| { + // assert_genesis_resouce_exist( + // chain_state, + // "DAOSpace", + // "InstalledPluginInfo", + // vec![TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new(name).unwrap(), + // name: Identifier::new(name).unwrap(), + // type_params: vec![], + // })], + // ) + // }); + // assert_genesis_resouce_exist( + // chain_state, + // "TreasuryPlugin", + // "WithdrawCapabilityHolder", + // vec![TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new("STC").unwrap(), + // name: Identifier::new("STC").unwrap(), + // type_params: vec![], + // })], + // ); + // + // // DAOCustomConfigModifyCapHolder of StarcoinDAO + // vec![ + // "TransactionPublishOption", + // "VMConfig", + // "ConsensusConfig", + // "RewardConfig", + // "TransactionTimeoutConfig", + // "LanguageVersion", + // ] + // .into_iter() + // .for_each(|name| { + // assert_genesis_resouce_exist( + // chain_state, + // "DAOSpace", + // "DAOCustomConfigModifyCapHolder", + // vec![ + // TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new("StarcoinDAO").unwrap(), + // name: Identifier::new("StarcoinDAO").unwrap(), + // type_params: vec![], + // }), + // TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new(name).unwrap(), + // name: Identifier::new(name).unwrap(), + // type_params: vec![], + // }), + // ], + // ); + // }); + // + // // Removed old DAO resources. + // vec![ + // ("ModifyDaoConfigProposal", "DaoConfigModifyCapability"), + // ("UpgradeModuleDaoProposal", "UpgradeModuleDaoProposal"), + // ("TreasuryWithdrawDaoProposal", "WrappedWithdrawCapability"), + // ] + // .into_iter() + // .for_each(|(module, name)| { + // assert_genesis_resouce_not_exist( + // chain_state, + // module, + // name, + // vec![TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new("STC").unwrap(), + // name: Identifier::new("STC").unwrap(), + // type_params: vec![], + // })], + // ) + // }); + // + // vec![ + // "TransactionPublishOption", + // "VMConfig", + // "ConsensusConfig", + // "RewardConfig", + // "TransactionTimeoutConfig", + // "LanguageVersion", + // ] + // .into_iter() + // .for_each(|name| { + // assert_genesis_resouce_not_exist( + // chain_state, + // "OnChainConfigDao", + // "WrappedConfigModifyCapability", + // vec![ + // TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new("STC").unwrap(), + // name: Identifier::new("STC").unwrap(), + // type_params: vec![], + // }), + // TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new(name).unwrap(), + // name: Identifier::new(name).unwrap(), + // type_params: vec![], + // }), + // ], + // ); + // }); + // } _ => { //do nothing. } @@ -712,6 +712,7 @@ where .unwrap_or(false)) } +#[allow(dead_code)] fn assert_genesis_resouce_exist( chain_state: &ChainStateDB, module: &str, @@ -737,6 +738,7 @@ fn assert_genesis_resouce_exist( ); } +#[allow(dead_code)] fn assert_genesis_resouce_not_exist( chain_state: &ChainStateDB, module: &str, diff --git a/executor/tests/sip_flag_test.rs b/executor/tests/sip_flag_test.rs index 0891a1353e..2d718eec89 100644 --- a/executor/tests/sip_flag_test.rs +++ b/executor/tests/sip_flag_test.rs @@ -1,16 +1,9 @@ // Copyright (c) The Starcoin Core Contributors // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; -use starcoin_crypto::hash::PlainCryptoHash; use starcoin_state_api::StateReaderExt; -use starcoin_types::account_config::core_code_address; -use starcoin_types::account_config::genesis_address; -use starcoin_types::identifier::Identifier; -use starcoin_types::language_storage::ModuleId; -use starcoin_types::transaction::{Package, ScriptFunction, TransactionPayload}; use starcoin_vm_types::sips::{G_SIPS, SIP}; use test_helper::executor::*; -use test_helper::starcoin_dao::{self, starcoin_dao_type_tag}; use test_helper::Account; pub const TEST_SIP_10000: &str = r#" @@ -20,8 +13,8 @@ pub const TEST_SIP_10000: &str = r#" #[stest::test] fn test_sip_flags() -> Result<()> { - let alice = Account::new(); - let (chain_state, net) = prepare_genesis(); + let _alice = Account::new(); + let (chain_state, _net) = prepare_genesis(); for sip in G_SIPS.iter() { assert!(chain_state.is_activated(*sip)?); } @@ -35,50 +28,57 @@ fn test_sip_flags() -> Result<()> { assert!(!chain_state.is_activated(sip_10000)?); // TODO: test with StarcoinDAO - let module = compile_modules_with_address(genesis_address(), TEST_SIP_10000) - .pop() - .unwrap(); - let package = Package::new_with_module(module)?; - let package_hash = package.crypto_hash(); + // let dao_action_type_tag = TypeTag::Struct(StructTag { + // address: genesis_address(), + // module: Identifier::new("UpgradeModuleDaoProposal").unwrap(), + // name: Identifier::new("UpgradeModuleV2").unwrap(), + // type_params: vec![], + // }); - let vote_script_function = ScriptFunction::new( - ModuleId::new( - core_code_address(), - Identifier::new("UpgradeModulePlugin").unwrap(), - ), - Identifier::new("create_proposal_entry").unwrap(), - vec![starcoin_dao_type_tag()], - vec![ - bcs_ext::to_bytes("upgrade sip").unwrap(), - bcs_ext::to_bytes("upgrade sip").unwrap(), - bcs_ext::to_bytes("upgrade sip").unwrap(), - bcs_ext::to_bytes(&3600000u64).unwrap(), - bcs_ext::to_bytes(&package_hash.to_vec()).unwrap(), - bcs_ext::to_bytes(&1u64).unwrap(), - bcs_ext::to_bytes(&false).unwrap(), - ], - ); - let proposal_id = 1u64; - let execute_script_function = ScriptFunction::new( - ModuleId::new( - core_code_address(), - Identifier::new("UpgradeModulePlugin").unwrap(), - ), - Identifier::new("execute_proposal_entry").unwrap(), - vec![starcoin_dao_type_tag()], - vec![bcs_ext::to_bytes(&proposal_id).unwrap()], - ); - starcoin_dao::dao_vote_test( - &alice, - &chain_state, - &net, - vote_script_function, - execute_script_function, - proposal_id, - )?; + // let module = compile_modules_with_address(genesis_address(), TEST_SIP_10000) + // .pop() + // .unwrap(); + // let package = Package::new_with_module(module)?; + // let package_hash = package.crypto_hash(); - association_execute_should_success(&net, &chain_state, TransactionPayload::Package(package))?; + // let vote_script_function = ScriptFunction::new( + // ModuleId::new( + // core_code_address(), + // Identifier::new("ModuleUpgradeScripts").unwrap(), + // ), + // Identifier::new("propose_module_upgrade_v2").unwrap(), + // vec![stc_type_tag()], + // vec![ + // bcs_ext::to_bytes(&genesis_address()).unwrap(), + // bcs_ext::to_bytes(&package_hash.to_vec()).unwrap(), + // bcs_ext::to_bytes(&1u64).unwrap(), + // bcs_ext::to_bytes(&0u64).unwrap(), + // bcs_ext::to_bytes(&false).unwrap(), + // ], + // ); + // let execute_script_function = ScriptFunction::new( + // ModuleId::new( + // core_code_address(), + // Identifier::new("ModuleUpgradeScripts").unwrap(), + // ), + // Identifier::new("submit_module_upgrade_plan").unwrap(), + // vec![stc_type_tag()], + // vec![ + // bcs_ext::to_bytes(alice.address()).unwrap(), + // bcs_ext::to_bytes(&0u64).unwrap(), + // ], + // ); + // dao_vote_test( + // &alice, + // &chain_state, + // &net, + // vote_script_function, + // dao_action_type_tag, + // execute_script_function, + // 0, + // )?; + // association_execute_should_success(&net, &chain_state, TransactionPayload::Package(package))?; - assert!(chain_state.is_activated(sip_10000)?); + // assert!(chain_state.is_activated(sip_10000)?); Ok(()) } diff --git a/genesis/generated/halley/genesis b/genesis/generated/halley/genesis index d0aca84ddd..96cd86f540 100644 Binary files a/genesis/generated/halley/genesis and b/genesis/generated/halley/genesis differ diff --git a/test-helper/src/dao.rs b/test-helper/src/dao.rs index 1b84aefbfc..0548d5e40c 100644 --- a/test-helper/src/dao.rs +++ b/test-helper/src/dao.rs @@ -120,7 +120,7 @@ pub fn txn_publish_config_type_tag() -> TypeTag { }) } -pub fn execute_create_account( +fn execute_create_account( chain_state: &ChainStateDB, net: &ChainNetwork, alice: &Account, @@ -435,7 +435,6 @@ pub fn empty_txn_payload() -> TransactionPayload { TransactionPayload::ScriptFunction(build_empty_script()) } -// Vote methods before stdlib version 12. pub fn dao_vote_test( alice: &Account, chain_state: &ChainStateDB, diff --git a/test-helper/src/starcoin_dao.rs b/test-helper/src/starcoin_dao.rs index 0fbef6960a..e966df9440 100644 --- a/test-helper/src/starcoin_dao.rs +++ b/test-helper/src/starcoin_dao.rs @@ -499,9 +499,9 @@ fn execute_block( block_from_metadata(block_meta, chain_state) } -// Vote methods since stdlib version 12. +// Vote methods use in daospace-v12, master not use it // The proposal process is based on: -// https://github.com/starcoinorg/starcoin-framework/blob/main/integration-tests/starcoin_dao/starcoin_upgrade_module.move +// https://github.com/starcoinorg/starcoin-framework/blob/daospace-v12/integration-tests/starcoin_dao/starcoin_upgrade_module.move pub fn dao_vote_test( alice: &Account, chain_state: &ChainStateDB, diff --git a/testsuite/features/cmd.feature b/testsuite/features/cmd.feature index d864dd4b99..da607d3116 100644 --- a/testsuite/features/cmd.feature +++ b/testsuite/features/cmd.feature @@ -186,7 +186,7 @@ Feature: cmd integration test #StarcoinFramework checkpoint - Scenario Outline: [cmd] starcoin-framework checkpoint + Scenario Outline: [ignore] starcoin-framework checkpoint Then cmd: "dev get-coin" Then cmd: "account unlock" Then cmd: "account execute-function --function 0x1::Block::checkpoint_entry -b" @@ -200,7 +200,7 @@ Feature: cmd integration test #easy gas testing - Scenario Outline: [cmd] starcoin easy gas test + Scenario Outline: [ignore] starcoin easy gas test Then cmd: "dev get-coin -v 1000000" Then cmd: "account show" Then cmd: "account unlock" diff --git a/vm/starcoin-transactional-test-harness/tests/cases/call_api_cmd.exp b/vm/starcoin-transactional-test-harness/tests/cases/call_api_cmd.exp index 6c77189071..da095c4880 100644 --- a/vm/starcoin-transactional-test-harness/tests/cases/call_api_cmd.exp +++ b/vm/starcoin-transactional-test-harness/tests/cases/call_api_cmd.exp @@ -2,7 +2,7 @@ processed 10 tasks task 5 'run'. lines 11-19: { - "gas_used": 15865, + "gas_used": 15073, "status": "Executed" } diff --git a/vm/stdlib/compiled/12/11-12/stdlib.blob b/vm/stdlib/compiled/12/11-12/stdlib.blob deleted file mode 100644 index 805cf8c7b6..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib.blob and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/006_SignedInteger64.mv b/vm/stdlib/compiled/12/11-12/stdlib/006_SignedInteger64.mv deleted file mode 100644 index 366352d8ad..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/006_SignedInteger64.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/010_ASCII.mv b/vm/stdlib/compiled/12/11-12/stdlib/010_ASCII.mv deleted file mode 100644 index 35663a3685..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/010_ASCII.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/013_BCS.mv b/vm/stdlib/compiled/12/11-12/stdlib/013_BCS.mv deleted file mode 100644 index 83ccc945a4..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/013_BCS.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/015_Token.mv b/vm/stdlib/compiled/12/11-12/stdlib/015_Token.mv deleted file mode 100644 index 57123b45b1..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/015_Token.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/018_Treasury.mv b/vm/stdlib/compiled/12/11-12/stdlib/018_Treasury.mv deleted file mode 100644 index 54ca3c4792..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/018_Treasury.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/019_STC.mv b/vm/stdlib/compiled/12/11-12/stdlib/019_STC.mv deleted file mode 100644 index 83f51548ed..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/019_STC.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/022_Authenticator.mv b/vm/stdlib/compiled/12/11-12/stdlib/022_Authenticator.mv deleted file mode 100644 index 9626d9c131..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/022_Authenticator.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/023_Account.mv b/vm/stdlib/compiled/12/11-12/stdlib/023_Account.mv deleted file mode 100644 index 4e1d4368a2..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/023_Account.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/024_AccountScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/024_AccountScripts.mv deleted file mode 100644 index 4f70947424..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/024_AccountScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/025_TypeInfo.mv b/vm/stdlib/compiled/12/11-12/stdlib/025_TypeInfo.mv deleted file mode 100644 index 0b4492dac0..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/025_TypeInfo.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/026_StructuredHash.mv b/vm/stdlib/compiled/12/11-12/stdlib/026_StructuredHash.mv deleted file mode 100644 index 5ff2d183ac..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/026_StructuredHash.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/027_StarcoinVerifier.mv b/vm/stdlib/compiled/12/11-12/stdlib/027_StarcoinVerifier.mv deleted file mode 100644 index 2151161eb2..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/027_StarcoinVerifier.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/028_SnapshotUtil.mv b/vm/stdlib/compiled/12/11-12/stdlib/028_SnapshotUtil.mv deleted file mode 100644 index a119abe610..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/028_SnapshotUtil.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/029_SBTVoteStrategy.mv b/vm/stdlib/compiled/12/11-12/stdlib/029_SBTVoteStrategy.mv deleted file mode 100644 index e3f6b72b98..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/029_SBTVoteStrategy.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/030_Offer.mv b/vm/stdlib/compiled/12/11-12/stdlib/030_Offer.mv deleted file mode 100644 index c8216dd65b..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/030_Offer.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/031_GenesisSignerCapability.mv b/vm/stdlib/compiled/12/11-12/stdlib/031_GenesisSignerCapability.mv deleted file mode 100644 index 8f2da43590..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/031_GenesisSignerCapability.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/032_NFT.mv b/vm/stdlib/compiled/12/11-12/stdlib/032_NFT.mv deleted file mode 100644 index 70ffe949f4..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/032_NFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/033_NFTGallery.mv b/vm/stdlib/compiled/12/11-12/stdlib/033_NFTGallery.mv deleted file mode 100644 index 9f3fb03e79..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/033_NFTGallery.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/034_IdentifierNFT.mv b/vm/stdlib/compiled/12/11-12/stdlib/034_IdentifierNFT.mv deleted file mode 100644 index 816454d715..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/034_IdentifierNFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/035_EventUtil.mv b/vm/stdlib/compiled/12/11-12/stdlib/035_EventUtil.mv deleted file mode 100644 index bcf5fb843a..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/035_EventUtil.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/036_DAORegistry.mv b/vm/stdlib/compiled/12/11-12/stdlib/036_DAORegistry.mv deleted file mode 100644 index 843b29a42d..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/036_DAORegistry.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/037_DAOPluginMarketplace.mv b/vm/stdlib/compiled/12/11-12/stdlib/037_DAOPluginMarketplace.mv deleted file mode 100644 index e7cbb2ebe4..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/037_DAOPluginMarketplace.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/040_PackageTxnManager.mv b/vm/stdlib/compiled/12/11-12/stdlib/040_PackageTxnManager.mv deleted file mode 100644 index de91a6bd81..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/040_PackageTxnManager.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/041_DAOAccount.mv b/vm/stdlib/compiled/12/11-12/stdlib/041_DAOAccount.mv deleted file mode 100644 index 995371a893..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/041_DAOAccount.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/042_Ring.mv b/vm/stdlib/compiled/12/11-12/stdlib/042_Ring.mv deleted file mode 100644 index d14fabefea..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/042_Ring.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/043_Block.mv b/vm/stdlib/compiled/12/11-12/stdlib/043_Block.mv deleted file mode 100644 index a7fdecd2e2..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/043_Block.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/044_DAOSpace.mv b/vm/stdlib/compiled/12/11-12/stdlib/044_DAOSpace.mv deleted file mode 100644 index 90e84b43c9..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/044_DAOSpace.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/045_InstallPluginProposalPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/045_InstallPluginProposalPlugin.mv deleted file mode 100644 index cf8793db54..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/045_InstallPluginProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/046_AnyMemberPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/046_AnyMemberPlugin.mv deleted file mode 100644 index e1f385e909..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/046_AnyMemberPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/047_Arith.mv b/vm/stdlib/compiled/12/11-12/stdlib/047_Arith.mv deleted file mode 100644 index 1b36c0f723..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/047_Arith.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/048_TreasuryPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/048_TreasuryPlugin.mv deleted file mode 100644 index fa191ab6a8..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/048_TreasuryPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/050_BlockReward.mv b/vm/stdlib/compiled/12/11-12/stdlib/050_BlockReward.mv deleted file mode 100644 index e7027b7526..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/050_BlockReward.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/054_Compare.mv b/vm/stdlib/compiled/12/11-12/stdlib/054_Compare.mv deleted file mode 100644 index 9fc383b446..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/054_Compare.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/055_ConfigProposalPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/055_ConfigProposalPlugin.mv deleted file mode 100644 index 28e3a26cd3..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/055_ConfigProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/058_DAOExtensionPoint.mv b/vm/stdlib/compiled/12/11-12/stdlib/058_DAOExtensionPoint.mv deleted file mode 100644 index fa6a673ff6..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/058_DAOExtensionPoint.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/063_EVMAddress.mv b/vm/stdlib/compiled/12/11-12/stdlib/063_EVMAddress.mv deleted file mode 100644 index 5d447d73fb..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/063_EVMAddress.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/066_Oracle.mv b/vm/stdlib/compiled/12/11-12/stdlib/066_Oracle.mv deleted file mode 100644 index b2ef22b9bb..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/066_Oracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/067_PriceOracle.mv b/vm/stdlib/compiled/12/11-12/stdlib/067_PriceOracle.mv deleted file mode 100644 index 3fca8abfdc..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/067_PriceOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/068_GasOracle.mv b/vm/stdlib/compiled/12/11-12/stdlib/068_GasOracle.mv deleted file mode 100644 index ecc2376d17..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/068_GasOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/070_GasOracleProposalPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/070_GasOracleProposalPlugin.mv deleted file mode 100644 index 8d2fc2477c..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/070_GasOracleProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/072_UpgradeModulePlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/072_UpgradeModulePlugin.mv deleted file mode 100644 index 271289833f..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/072_UpgradeModulePlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/075_StakeToSBTPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/075_StakeToSBTPlugin.mv deleted file mode 100644 index 86aa150d68..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/075_StakeToSBTPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/076_StarcoinDAO.mv b/vm/stdlib/compiled/12/11-12/stdlib/076_StarcoinDAO.mv deleted file mode 100644 index 0ebf0eb8a5..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/076_StarcoinDAO.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/078_MintProposalPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/078_MintProposalPlugin.mv deleted file mode 100644 index bb6091f4cb..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/078_MintProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/079_MemberProposalPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/079_MemberProposalPlugin.mv deleted file mode 100644 index 3e83c18928..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/079_MemberProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/081_GrantProposalPlugin.mv b/vm/stdlib/compiled/12/11-12/stdlib/081_GrantProposalPlugin.mv deleted file mode 100644 index c71344abdc..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/081_GrantProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/083_MerkleNFTDistributor.mv b/vm/stdlib/compiled/12/11-12/stdlib/083_MerkleNFTDistributor.mv deleted file mode 100644 index c37a0416c7..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/083_MerkleNFTDistributor.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/084_GenesisNFT.mv b/vm/stdlib/compiled/12/11-12/stdlib/084_GenesisNFT.mv deleted file mode 100644 index 48c1bbde7b..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/084_GenesisNFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/085_Genesis.mv b/vm/stdlib/compiled/12/11-12/stdlib/085_Genesis.mv deleted file mode 100644 index 37dc35bcd8..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/085_Genesis.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/086_GenesisNFTScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/086_GenesisNFTScripts.mv deleted file mode 100644 index 3aa46b0be9..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/086_GenesisNFTScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/087_IdentifierNFTScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/087_IdentifierNFTScripts.mv deleted file mode 100644 index 23ca97d37b..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/087_IdentifierNFTScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/089_ModifyDaoConfigProposal.mv b/vm/stdlib/compiled/12/11-12/stdlib/089_ModifyDaoConfigProposal.mv deleted file mode 100644 index 5c00c61457..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/089_ModifyDaoConfigProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/090_UpgradeModuleDaoProposal.mv b/vm/stdlib/compiled/12/11-12/stdlib/090_UpgradeModuleDaoProposal.mv deleted file mode 100644 index a09eefb5a4..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/090_UpgradeModuleDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/091_ModuleUpgradeScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/091_ModuleUpgradeScripts.mv deleted file mode 100644 index 1bfea8bda3..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/091_ModuleUpgradeScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/092_NFTGalleryScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/092_NFTGalleryScripts.mv deleted file mode 100644 index d7954ee6d3..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/092_NFTGalleryScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/093_OnChainConfigDao.mv b/vm/stdlib/compiled/12/11-12/stdlib/093_OnChainConfigDao.mv deleted file mode 100644 index 5e578fd136..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/093_OnChainConfigDao.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/095_OnChainStarcoinDAOConfig.mv b/vm/stdlib/compiled/12/11-12/stdlib/095_OnChainStarcoinDAOConfig.mv deleted file mode 100644 index cc510c817b..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/095_OnChainStarcoinDAOConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/096_PriceOracleScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/096_PriceOracleScripts.mv deleted file mode 100644 index c433d2c06f..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/096_PriceOracleScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/097_Signature.mv b/vm/stdlib/compiled/12/11-12/stdlib/097_Signature.mv deleted file mode 100644 index a574331260..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/097_Signature.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/099_SimpleMap.mv b/vm/stdlib/compiled/12/11-12/stdlib/099_SimpleMap.mv deleted file mode 100644 index eddad18678..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/099_SimpleMap.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/100_TreasuryWithdrawDaoProposal.mv b/vm/stdlib/compiled/12/11-12/stdlib/100_TreasuryWithdrawDaoProposal.mv deleted file mode 100644 index d5e8e732e1..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/100_TreasuryWithdrawDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/101_StdlibUpgradeScripts.mv b/vm/stdlib/compiled/12/11-12/stdlib/101_StdlibUpgradeScripts.mv deleted file mode 100644 index 0a2553d4d4..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/101_StdlibUpgradeScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/103_TransactionManager.mv b/vm/stdlib/compiled/12/11-12/stdlib/103_TransactionManager.mv deleted file mode 100644 index 7ba1dba82a..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/103_TransactionManager.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/106_U256.mv b/vm/stdlib/compiled/12/11-12/stdlib/106_U256.mv deleted file mode 100644 index f93df531f9..0000000000 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/106_U256.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/000_BitOperators.mv b/vm/stdlib/compiled/12/stdlib/000_BitOperators.mv deleted file mode 100644 index d22b483af4..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/000_BitOperators.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/001_Debug.mv b/vm/stdlib/compiled/12/stdlib/001_Debug.mv deleted file mode 100644 index ceb0961bf8..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/001_Debug.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/002_EmptyScripts.mv b/vm/stdlib/compiled/12/stdlib/002_EmptyScripts.mv deleted file mode 100644 index 61c71ee43d..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/002_EmptyScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/003_MintScripts.mv b/vm/stdlib/compiled/12/stdlib/003_MintScripts.mv deleted file mode 100644 index bf26c30fba..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/003_MintScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/004_SIP_2.mv b/vm/stdlib/compiled/12/stdlib/004_SIP_2.mv deleted file mode 100644 index a3f9e8a673..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/004_SIP_2.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/005_SIP_3.mv b/vm/stdlib/compiled/12/stdlib/005_SIP_3.mv deleted file mode 100644 index a9d0bbdce3..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/005_SIP_3.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/006_SignedInteger64.mv b/vm/stdlib/compiled/12/stdlib/006_SignedInteger64.mv deleted file mode 100644 index 366352d8ad..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/006_SignedInteger64.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/007_Vector.mv b/vm/stdlib/compiled/12/stdlib/007_Vector.mv deleted file mode 100644 index d894886586..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/007_Vector.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/010_ASCII.mv b/vm/stdlib/compiled/12/stdlib/010_ASCII.mv deleted file mode 100644 index 35663a3685..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/010_ASCII.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/013_BCS.mv b/vm/stdlib/compiled/12/stdlib/013_BCS.mv deleted file mode 100644 index 83ccc945a4..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/013_BCS.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/014_Event.mv b/vm/stdlib/compiled/12/stdlib/014_Event.mv deleted file mode 100644 index cfcb7069a3..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/014_Event.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/015_Token.mv b/vm/stdlib/compiled/12/stdlib/015_Token.mv deleted file mode 100644 index 57123b45b1..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/015_Token.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/019_STC.mv b/vm/stdlib/compiled/12/stdlib/019_STC.mv deleted file mode 100644 index 83f51548ed..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/019_STC.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/022_Authenticator.mv b/vm/stdlib/compiled/12/stdlib/022_Authenticator.mv deleted file mode 100644 index 9626d9c131..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/022_Authenticator.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/023_Account.mv b/vm/stdlib/compiled/12/stdlib/023_Account.mv deleted file mode 100644 index 4e1d4368a2..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/023_Account.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/024_AccountScripts.mv b/vm/stdlib/compiled/12/stdlib/024_AccountScripts.mv deleted file mode 100644 index 4f70947424..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/024_AccountScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/025_TypeInfo.mv b/vm/stdlib/compiled/12/stdlib/025_TypeInfo.mv deleted file mode 100644 index 0b4492dac0..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/025_TypeInfo.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/026_StructuredHash.mv b/vm/stdlib/compiled/12/stdlib/026_StructuredHash.mv deleted file mode 100644 index 5ff2d183ac..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/026_StructuredHash.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/027_StarcoinVerifier.mv b/vm/stdlib/compiled/12/stdlib/027_StarcoinVerifier.mv deleted file mode 100644 index 2151161eb2..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/027_StarcoinVerifier.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/028_SnapshotUtil.mv b/vm/stdlib/compiled/12/stdlib/028_SnapshotUtil.mv deleted file mode 100644 index a119abe610..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/028_SnapshotUtil.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/029_SBTVoteStrategy.mv b/vm/stdlib/compiled/12/stdlib/029_SBTVoteStrategy.mv deleted file mode 100644 index e3f6b72b98..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/029_SBTVoteStrategy.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/030_Offer.mv b/vm/stdlib/compiled/12/stdlib/030_Offer.mv deleted file mode 100644 index c8216dd65b..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/030_Offer.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/031_GenesisSignerCapability.mv b/vm/stdlib/compiled/12/stdlib/031_GenesisSignerCapability.mv deleted file mode 100644 index 8f2da43590..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/031_GenesisSignerCapability.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/033_NFTGallery.mv b/vm/stdlib/compiled/12/stdlib/033_NFTGallery.mv deleted file mode 100644 index 9f3fb03e79..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/033_NFTGallery.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/034_IdentifierNFT.mv b/vm/stdlib/compiled/12/stdlib/034_IdentifierNFT.mv deleted file mode 100644 index 816454d715..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/034_IdentifierNFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/035_EventUtil.mv b/vm/stdlib/compiled/12/stdlib/035_EventUtil.mv deleted file mode 100644 index bcf5fb843a..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/035_EventUtil.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/036_DAORegistry.mv b/vm/stdlib/compiled/12/stdlib/036_DAORegistry.mv deleted file mode 100644 index 843b29a42d..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/036_DAORegistry.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/037_DAOPluginMarketplace.mv b/vm/stdlib/compiled/12/stdlib/037_DAOPluginMarketplace.mv deleted file mode 100644 index e7cbb2ebe4..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/037_DAOPluginMarketplace.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/040_PackageTxnManager.mv b/vm/stdlib/compiled/12/stdlib/040_PackageTxnManager.mv deleted file mode 100644 index de91a6bd81..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/040_PackageTxnManager.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/041_DAOAccount.mv b/vm/stdlib/compiled/12/stdlib/041_DAOAccount.mv deleted file mode 100644 index 995371a893..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/041_DAOAccount.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/042_Ring.mv b/vm/stdlib/compiled/12/stdlib/042_Ring.mv deleted file mode 100644 index d14fabefea..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/042_Ring.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/043_Block.mv b/vm/stdlib/compiled/12/stdlib/043_Block.mv deleted file mode 100644 index a7fdecd2e2..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/043_Block.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/044_DAOSpace.mv b/vm/stdlib/compiled/12/stdlib/044_DAOSpace.mv deleted file mode 100644 index 90e84b43c9..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/044_DAOSpace.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/045_InstallPluginProposalPlugin.mv b/vm/stdlib/compiled/12/stdlib/045_InstallPluginProposalPlugin.mv deleted file mode 100644 index cf8793db54..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/045_InstallPluginProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/046_AnyMemberPlugin.mv b/vm/stdlib/compiled/12/stdlib/046_AnyMemberPlugin.mv deleted file mode 100644 index e1f385e909..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/046_AnyMemberPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/047_Arith.mv b/vm/stdlib/compiled/12/stdlib/047_Arith.mv deleted file mode 100644 index 1b36c0f723..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/047_Arith.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/048_TreasuryPlugin.mv b/vm/stdlib/compiled/12/stdlib/048_TreasuryPlugin.mv deleted file mode 100644 index fa191ab6a8..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/048_TreasuryPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/054_Compare.mv b/vm/stdlib/compiled/12/stdlib/054_Compare.mv deleted file mode 100644 index 9fc383b446..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/054_Compare.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/055_ConfigProposalPlugin.mv b/vm/stdlib/compiled/12/stdlib/055_ConfigProposalPlugin.mv deleted file mode 100644 index 28e3a26cd3..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/055_ConfigProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/058_DAOExtensionPoint.mv b/vm/stdlib/compiled/12/stdlib/058_DAOExtensionPoint.mv deleted file mode 100644 index fa6a673ff6..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/058_DAOExtensionPoint.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/063_EVMAddress.mv b/vm/stdlib/compiled/12/stdlib/063_EVMAddress.mv deleted file mode 100644 index 5d447d73fb..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/063_EVMAddress.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/067_PriceOracle.mv b/vm/stdlib/compiled/12/stdlib/067_PriceOracle.mv deleted file mode 100644 index 3fca8abfdc..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/067_PriceOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/068_GasOracle.mv b/vm/stdlib/compiled/12/stdlib/068_GasOracle.mv deleted file mode 100644 index ecc2376d17..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/068_GasOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/070_GasOracleProposalPlugin.mv b/vm/stdlib/compiled/12/stdlib/070_GasOracleProposalPlugin.mv deleted file mode 100644 index 8d2fc2477c..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/070_GasOracleProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/072_UpgradeModulePlugin.mv b/vm/stdlib/compiled/12/stdlib/072_UpgradeModulePlugin.mv deleted file mode 100644 index 271289833f..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/072_UpgradeModulePlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/075_StakeToSBTPlugin.mv b/vm/stdlib/compiled/12/stdlib/075_StakeToSBTPlugin.mv deleted file mode 100644 index 86aa150d68..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/075_StakeToSBTPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/076_StarcoinDAO.mv b/vm/stdlib/compiled/12/stdlib/076_StarcoinDAO.mv deleted file mode 100644 index 0ebf0eb8a5..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/076_StarcoinDAO.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/078_MintProposalPlugin.mv b/vm/stdlib/compiled/12/stdlib/078_MintProposalPlugin.mv deleted file mode 100644 index bb6091f4cb..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/078_MintProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/079_MemberProposalPlugin.mv b/vm/stdlib/compiled/12/stdlib/079_MemberProposalPlugin.mv deleted file mode 100644 index 3e83c18928..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/079_MemberProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/081_GrantProposalPlugin.mv b/vm/stdlib/compiled/12/stdlib/081_GrantProposalPlugin.mv deleted file mode 100644 index c71344abdc..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/081_GrantProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/083_MerkleNFTDistributor.mv b/vm/stdlib/compiled/12/stdlib/083_MerkleNFTDistributor.mv deleted file mode 100644 index c37a0416c7..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/083_MerkleNFTDistributor.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/084_GenesisNFT.mv b/vm/stdlib/compiled/12/stdlib/084_GenesisNFT.mv deleted file mode 100644 index 48c1bbde7b..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/084_GenesisNFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/085_Genesis.mv b/vm/stdlib/compiled/12/stdlib/085_Genesis.mv deleted file mode 100644 index 37dc35bcd8..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/085_Genesis.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/086_GenesisNFTScripts.mv b/vm/stdlib/compiled/12/stdlib/086_GenesisNFTScripts.mv deleted file mode 100644 index 3aa46b0be9..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/086_GenesisNFTScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/087_IdentifierNFTScripts.mv b/vm/stdlib/compiled/12/stdlib/087_IdentifierNFTScripts.mv deleted file mode 100644 index 23ca97d37b..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/087_IdentifierNFTScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/089_ModifyDaoConfigProposal.mv b/vm/stdlib/compiled/12/stdlib/089_ModifyDaoConfigProposal.mv deleted file mode 100644 index 5c00c61457..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/089_ModifyDaoConfigProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/090_UpgradeModuleDaoProposal.mv b/vm/stdlib/compiled/12/stdlib/090_UpgradeModuleDaoProposal.mv deleted file mode 100644 index a09eefb5a4..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/090_UpgradeModuleDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/091_ModuleUpgradeScripts.mv b/vm/stdlib/compiled/12/stdlib/091_ModuleUpgradeScripts.mv deleted file mode 100644 index 1bfea8bda3..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/091_ModuleUpgradeScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/092_NFTGalleryScripts.mv b/vm/stdlib/compiled/12/stdlib/092_NFTGalleryScripts.mv deleted file mode 100644 index d7954ee6d3..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/092_NFTGalleryScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/093_OnChainConfigDao.mv b/vm/stdlib/compiled/12/stdlib/093_OnChainConfigDao.mv deleted file mode 100644 index 5e578fd136..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/093_OnChainConfigDao.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/095_OnChainStarcoinDAOConfig.mv b/vm/stdlib/compiled/12/stdlib/095_OnChainStarcoinDAOConfig.mv deleted file mode 100644 index cc510c817b..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/095_OnChainStarcoinDAOConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/096_PriceOracleScripts.mv b/vm/stdlib/compiled/12/stdlib/096_PriceOracleScripts.mv deleted file mode 100644 index c433d2c06f..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/096_PriceOracleScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/097_Signature.mv b/vm/stdlib/compiled/12/stdlib/097_Signature.mv deleted file mode 100644 index a574331260..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/097_Signature.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/099_SimpleMap.mv b/vm/stdlib/compiled/12/stdlib/099_SimpleMap.mv deleted file mode 100644 index eddad18678..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/099_SimpleMap.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/100_TreasuryWithdrawDaoProposal.mv b/vm/stdlib/compiled/12/stdlib/100_TreasuryWithdrawDaoProposal.mv deleted file mode 100644 index d5e8e732e1..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/100_TreasuryWithdrawDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/101_StdlibUpgradeScripts.mv b/vm/stdlib/compiled/12/stdlib/101_StdlibUpgradeScripts.mv deleted file mode 100644 index 0a2553d4d4..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/101_StdlibUpgradeScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/103_TransactionManager.mv b/vm/stdlib/compiled/12/stdlib/103_TransactionManager.mv deleted file mode 100644 index 7ba1dba82a..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/103_TransactionManager.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/106_U256.mv b/vm/stdlib/compiled/12/stdlib/106_U256.mv deleted file mode 100644 index f93df531f9..0000000000 Binary files a/vm/stdlib/compiled/12/stdlib/106_U256.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/error_descriptions/error_descriptions.errmap b/vm/stdlib/compiled/latest/error_descriptions/error_descriptions.errmap index 2fe6888ecc..69b33125e1 100644 Binary files a/vm/stdlib/compiled/latest/error_descriptions/error_descriptions.errmap and b/vm/stdlib/compiled/latest/error_descriptions/error_descriptions.errmap differ diff --git a/vm/stdlib/compiled/latest/stdlib/006_SignedInteger64.mv b/vm/stdlib/compiled/latest/stdlib/006_SignedInteger64.mv index 366352d8ad..d11b7f7ab2 100644 Binary files a/vm/stdlib/compiled/latest/stdlib/006_SignedInteger64.mv and b/vm/stdlib/compiled/latest/stdlib/006_SignedInteger64.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/008_Errors.mv b/vm/stdlib/compiled/latest/stdlib/008_Errors.mv deleted file mode 100644 index 74bc6f4ca0..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/008_Errors.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/011_Signer.mv b/vm/stdlib/compiled/latest/stdlib/008_Signer.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/011_Signer.mv rename to vm/stdlib/compiled/latest/stdlib/008_Signer.mv diff --git a/vm/stdlib/compiled/12/stdlib/012_Math.mv b/vm/stdlib/compiled/latest/stdlib/009_Math.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/012_Math.mv rename to vm/stdlib/compiled/latest/stdlib/009_Math.mv diff --git a/vm/stdlib/compiled/latest/stdlib/009_Option.mv b/vm/stdlib/compiled/latest/stdlib/009_Option.mv deleted file mode 100644 index 47244d7096..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/009_Option.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/010_ASCII.mv b/vm/stdlib/compiled/latest/stdlib/010_ASCII.mv deleted file mode 100644 index 35663a3685..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/010_ASCII.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/008_Errors.mv b/vm/stdlib/compiled/latest/stdlib/010_Errors.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/008_Errors.mv rename to vm/stdlib/compiled/latest/stdlib/010_Errors.mv diff --git a/vm/stdlib/compiled/latest/stdlib/011_BCS.mv b/vm/stdlib/compiled/latest/stdlib/011_BCS.mv new file mode 100644 index 0000000000..262389f2cd Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/011_BCS.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/011_Signer.mv b/vm/stdlib/compiled/latest/stdlib/011_Signer.mv deleted file mode 100644 index 48fc86fa4c..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/011_Signer.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/11-12/stdlib/014_Event.mv b/vm/stdlib/compiled/latest/stdlib/012_Event.mv similarity index 92% rename from vm/stdlib/compiled/12/11-12/stdlib/014_Event.mv rename to vm/stdlib/compiled/latest/stdlib/012_Event.mv index cfcb7069a3..95c907adbe 100644 Binary files a/vm/stdlib/compiled/12/11-12/stdlib/014_Event.mv and b/vm/stdlib/compiled/latest/stdlib/012_Event.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/012_Math.mv b/vm/stdlib/compiled/latest/stdlib/012_Math.mv deleted file mode 100644 index b46162a525..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/012_Math.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/013_BCS.mv b/vm/stdlib/compiled/latest/stdlib/013_BCS.mv deleted file mode 100644 index 83ccc945a4..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/013_BCS.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/013_Token.mv b/vm/stdlib/compiled/latest/stdlib/013_Token.mv new file mode 100644 index 0000000000..09f0518f65 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/013_Token.mv differ diff --git a/vm/stdlib/compiled/12/stdlib/016_CoreAddresses.mv b/vm/stdlib/compiled/latest/stdlib/014_CoreAddresses.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/016_CoreAddresses.mv rename to vm/stdlib/compiled/latest/stdlib/014_CoreAddresses.mv diff --git a/vm/stdlib/compiled/latest/stdlib/014_Event.mv b/vm/stdlib/compiled/latest/stdlib/014_Event.mv deleted file mode 100644 index cfcb7069a3..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/014_Event.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/017_Timestamp.mv b/vm/stdlib/compiled/latest/stdlib/015_Timestamp.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/017_Timestamp.mv rename to vm/stdlib/compiled/latest/stdlib/015_Timestamp.mv diff --git a/vm/stdlib/compiled/latest/stdlib/015_Token.mv b/vm/stdlib/compiled/latest/stdlib/015_Token.mv deleted file mode 100644 index 57123b45b1..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/015_Token.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/016_CoreAddresses.mv b/vm/stdlib/compiled/latest/stdlib/016_CoreAddresses.mv deleted file mode 100644 index 013b5f11e5..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/016_CoreAddresses.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/009_Option.mv b/vm/stdlib/compiled/latest/stdlib/016_Option.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/009_Option.mv rename to vm/stdlib/compiled/latest/stdlib/016_Option.mv diff --git a/vm/stdlib/compiled/12/stdlib/038_Config.mv b/vm/stdlib/compiled/latest/stdlib/017_Config.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/038_Config.mv rename to vm/stdlib/compiled/latest/stdlib/017_Config.mv diff --git a/vm/stdlib/compiled/latest/stdlib/017_Timestamp.mv b/vm/stdlib/compiled/latest/stdlib/017_Timestamp.mv deleted file mode 100644 index 2e1d13a189..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/017_Timestamp.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/051_ChainId.mv b/vm/stdlib/compiled/latest/stdlib/018_ChainId.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/051_ChainId.mv rename to vm/stdlib/compiled/latest/stdlib/018_ChainId.mv diff --git a/vm/stdlib/compiled/latest/stdlib/018_Treasury.mv b/vm/stdlib/compiled/latest/stdlib/018_Treasury.mv deleted file mode 100644 index 54ca3c4792..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/018_Treasury.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/019_STC.mv b/vm/stdlib/compiled/latest/stdlib/019_STC.mv deleted file mode 100644 index 83f51548ed..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/019_STC.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/071_VMConfig.mv b/vm/stdlib/compiled/latest/stdlib/019_VMConfig.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/071_VMConfig.mv rename to vm/stdlib/compiled/latest/stdlib/019_VMConfig.mv diff --git a/vm/stdlib/compiled/latest/stdlib/020_TransactionFee.mv b/vm/stdlib/compiled/latest/stdlib/020_TransactionFee.mv deleted file mode 100644 index 0e2321477b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/020_TransactionFee.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/039_Version.mv b/vm/stdlib/compiled/latest/stdlib/020_Version.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/039_Version.mv rename to vm/stdlib/compiled/latest/stdlib/020_Version.mv diff --git a/vm/stdlib/compiled/latest/stdlib/021_Hash.mv b/vm/stdlib/compiled/latest/stdlib/021_Hash.mv deleted file mode 100644 index 491ed27e4c..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/021_Hash.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/021_PackageTxnManager.mv b/vm/stdlib/compiled/latest/stdlib/021_PackageTxnManager.mv new file mode 100644 index 0000000000..2c4f0246fb Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/021_PackageTxnManager.mv differ diff --git a/vm/stdlib/compiled/12/stdlib/018_Treasury.mv b/vm/stdlib/compiled/latest/stdlib/022_Treasury.mv similarity index 95% rename from vm/stdlib/compiled/12/stdlib/018_Treasury.mv rename to vm/stdlib/compiled/latest/stdlib/022_Treasury.mv index 54ca3c4792..2ec6646892 100644 Binary files a/vm/stdlib/compiled/12/stdlib/018_Treasury.mv and b/vm/stdlib/compiled/latest/stdlib/022_Treasury.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/023_Account.mv b/vm/stdlib/compiled/latest/stdlib/023_Account.mv deleted file mode 100644 index 4e1d4368a2..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/023_Account.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/059_Dao.mv b/vm/stdlib/compiled/latest/stdlib/023_Dao.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/059_Dao.mv rename to vm/stdlib/compiled/latest/stdlib/023_Dao.mv diff --git a/vm/stdlib/compiled/latest/stdlib/024_AccountScripts.mv b/vm/stdlib/compiled/latest/stdlib/024_AccountScripts.mv deleted file mode 100644 index 4f70947424..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/024_AccountScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/024_UpgradeModuleDaoProposal.mv b/vm/stdlib/compiled/latest/stdlib/024_UpgradeModuleDaoProposal.mv new file mode 100644 index 0000000000..e93b039243 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/024_UpgradeModuleDaoProposal.mv differ diff --git a/vm/stdlib/compiled/12/stdlib/073_TransactionTimeoutConfig.mv b/vm/stdlib/compiled/latest/stdlib/025_TransactionTimeoutConfig.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/073_TransactionTimeoutConfig.mv rename to vm/stdlib/compiled/latest/stdlib/025_TransactionTimeoutConfig.mv diff --git a/vm/stdlib/compiled/latest/stdlib/025_TypeInfo.mv b/vm/stdlib/compiled/latest/stdlib/025_TypeInfo.mv deleted file mode 100644 index 0b4492dac0..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/025_TypeInfo.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/026_StructuredHash.mv b/vm/stdlib/compiled/latest/stdlib/026_StructuredHash.mv deleted file mode 100644 index 5ff2d183ac..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/026_StructuredHash.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/074_TransactionPublishOption.mv b/vm/stdlib/compiled/latest/stdlib/026_TransactionPublishOption.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/074_TransactionPublishOption.mv rename to vm/stdlib/compiled/latest/stdlib/026_TransactionPublishOption.mv diff --git a/vm/stdlib/compiled/12/stdlib/049_RewardConfig.mv b/vm/stdlib/compiled/latest/stdlib/027_RewardConfig.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/049_RewardConfig.mv rename to vm/stdlib/compiled/latest/stdlib/027_RewardConfig.mv diff --git a/vm/stdlib/compiled/latest/stdlib/027_StarcoinVerifier.mv b/vm/stdlib/compiled/latest/stdlib/027_StarcoinVerifier.mv deleted file mode 100644 index 2151161eb2..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/027_StarcoinVerifier.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/028_OnChainConfigDao.mv b/vm/stdlib/compiled/latest/stdlib/028_OnChainConfigDao.mv new file mode 100644 index 0000000000..61110fcf83 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/028_OnChainConfigDao.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/028_SnapshotUtil.mv b/vm/stdlib/compiled/latest/stdlib/028_SnapshotUtil.mv deleted file mode 100644 index a119abe610..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/028_SnapshotUtil.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/029_ModifyDaoConfigProposal.mv b/vm/stdlib/compiled/latest/stdlib/029_ModifyDaoConfigProposal.mv new file mode 100644 index 0000000000..5f2ff88ac5 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/029_ModifyDaoConfigProposal.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/029_SBTVoteStrategy.mv b/vm/stdlib/compiled/latest/stdlib/029_SBTVoteStrategy.mv deleted file mode 100644 index e3f6b72b98..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/029_SBTVoteStrategy.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/056_ConsensusConfig.mv b/vm/stdlib/compiled/latest/stdlib/030_ConsensusConfig.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/056_ConsensusConfig.mv rename to vm/stdlib/compiled/latest/stdlib/030_ConsensusConfig.mv diff --git a/vm/stdlib/compiled/latest/stdlib/030_Offer.mv b/vm/stdlib/compiled/latest/stdlib/030_Offer.mv deleted file mode 100644 index c8216dd65b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/030_Offer.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/031_GenesisSignerCapability.mv b/vm/stdlib/compiled/latest/stdlib/031_GenesisSignerCapability.mv deleted file mode 100644 index 8f2da43590..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/031_GenesisSignerCapability.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/031_STC.mv b/vm/stdlib/compiled/latest/stdlib/031_STC.mv new file mode 100644 index 0000000000..281eb50f58 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/031_STC.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/032_NFT.mv b/vm/stdlib/compiled/latest/stdlib/032_NFT.mv deleted file mode 100644 index 70ffe949f4..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/032_NFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/020_TransactionFee.mv b/vm/stdlib/compiled/latest/stdlib/032_TransactionFee.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/020_TransactionFee.mv rename to vm/stdlib/compiled/latest/stdlib/032_TransactionFee.mv diff --git a/vm/stdlib/compiled/12/stdlib/021_Hash.mv b/vm/stdlib/compiled/latest/stdlib/033_Hash.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/021_Hash.mv rename to vm/stdlib/compiled/latest/stdlib/033_Hash.mv diff --git a/vm/stdlib/compiled/latest/stdlib/033_NFTGallery.mv b/vm/stdlib/compiled/latest/stdlib/033_NFTGallery.mv deleted file mode 100644 index 9f3fb03e79..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/033_NFTGallery.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/022_Authenticator.mv b/vm/stdlib/compiled/latest/stdlib/034_Authenticator.mv similarity index 92% rename from vm/stdlib/compiled/latest/stdlib/022_Authenticator.mv rename to vm/stdlib/compiled/latest/stdlib/034_Authenticator.mv index 9626d9c131..2c4afcf25c 100644 Binary files a/vm/stdlib/compiled/latest/stdlib/022_Authenticator.mv and b/vm/stdlib/compiled/latest/stdlib/034_Authenticator.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/034_IdentifierNFT.mv b/vm/stdlib/compiled/latest/stdlib/034_IdentifierNFT.mv deleted file mode 100644 index 816454d715..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/034_IdentifierNFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/035_Account.mv b/vm/stdlib/compiled/latest/stdlib/035_Account.mv new file mode 100644 index 0000000000..5351b7a7e6 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/035_Account.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/035_EventUtil.mv b/vm/stdlib/compiled/latest/stdlib/035_EventUtil.mv deleted file mode 100644 index bcf5fb843a..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/035_EventUtil.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/036_AccountScripts.mv b/vm/stdlib/compiled/latest/stdlib/036_AccountScripts.mv new file mode 100644 index 0000000000..9bcee9f347 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/036_AccountScripts.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/036_DAORegistry.mv b/vm/stdlib/compiled/latest/stdlib/036_DAORegistry.mv deleted file mode 100644 index 843b29a42d..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/036_DAORegistry.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/037_Block.mv b/vm/stdlib/compiled/latest/stdlib/037_Block.mv new file mode 100644 index 0000000000..c6049e5ec0 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/037_Block.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/037_DAOPluginMarketplace.mv b/vm/stdlib/compiled/latest/stdlib/037_DAOPluginMarketplace.mv deleted file mode 100644 index e7cbb2ebe4..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/037_DAOPluginMarketplace.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/038_Config.mv b/vm/stdlib/compiled/latest/stdlib/038_Config.mv deleted file mode 100644 index df3c899b2b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/038_Config.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/038_TreasuryWithdrawDaoProposal.mv b/vm/stdlib/compiled/latest/stdlib/038_TreasuryWithdrawDaoProposal.mv new file mode 100644 index 0000000000..d6257ff4fa Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/038_TreasuryWithdrawDaoProposal.mv differ diff --git a/vm/stdlib/compiled/12/stdlib/050_BlockReward.mv b/vm/stdlib/compiled/latest/stdlib/039_BlockReward.mv similarity index 91% rename from vm/stdlib/compiled/12/stdlib/050_BlockReward.mv rename to vm/stdlib/compiled/latest/stdlib/039_BlockReward.mv index e7027b7526..eb9ba50f37 100644 Binary files a/vm/stdlib/compiled/12/stdlib/050_BlockReward.mv and b/vm/stdlib/compiled/latest/stdlib/039_BlockReward.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/039_Version.mv b/vm/stdlib/compiled/latest/stdlib/039_Version.mv deleted file mode 100644 index ad036a1c49..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/039_Version.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/052_Collection.mv b/vm/stdlib/compiled/latest/stdlib/040_Collection.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/052_Collection.mv rename to vm/stdlib/compiled/latest/stdlib/040_Collection.mv diff --git a/vm/stdlib/compiled/latest/stdlib/040_PackageTxnManager.mv b/vm/stdlib/compiled/latest/stdlib/040_PackageTxnManager.mv deleted file mode 100644 index de91a6bd81..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/040_PackageTxnManager.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/053_Collection2.mv b/vm/stdlib/compiled/latest/stdlib/041_Collection2.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/053_Collection2.mv rename to vm/stdlib/compiled/latest/stdlib/041_Collection2.mv diff --git a/vm/stdlib/compiled/latest/stdlib/041_DAOAccount.mv b/vm/stdlib/compiled/latest/stdlib/041_DAOAccount.mv deleted file mode 100644 index 995371a893..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/041_DAOAccount.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/042_Compare.mv b/vm/stdlib/compiled/latest/stdlib/042_Compare.mv new file mode 100644 index 0000000000..670997b1ad Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/042_Compare.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/042_Ring.mv b/vm/stdlib/compiled/latest/stdlib/042_Ring.mv deleted file mode 100644 index d14fabefea..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/042_Ring.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/043_Block.mv b/vm/stdlib/compiled/latest/stdlib/043_Block.mv deleted file mode 100644 index a7fdecd2e2..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/043_Block.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/057_ConsensusStrategy.mv b/vm/stdlib/compiled/latest/stdlib/043_ConsensusStrategy.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/057_ConsensusStrategy.mv rename to vm/stdlib/compiled/latest/stdlib/043_ConsensusStrategy.mv diff --git a/vm/stdlib/compiled/latest/stdlib/044_DAOSpace.mv b/vm/stdlib/compiled/latest/stdlib/044_DAOSpace.mv deleted file mode 100644 index 32460a79d8..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/044_DAOSpace.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/060_DaoVoteScripts.mv b/vm/stdlib/compiled/latest/stdlib/044_DaoVoteScripts.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/060_DaoVoteScripts.mv rename to vm/stdlib/compiled/latest/stdlib/044_DaoVoteScripts.mv diff --git a/vm/stdlib/compiled/12/stdlib/061_DummyToken.mv b/vm/stdlib/compiled/latest/stdlib/045_DummyToken.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/061_DummyToken.mv rename to vm/stdlib/compiled/latest/stdlib/045_DummyToken.mv diff --git a/vm/stdlib/compiled/latest/stdlib/045_InstallPluginProposalPlugin.mv b/vm/stdlib/compiled/latest/stdlib/045_InstallPluginProposalPlugin.mv deleted file mode 100644 index 511e0a87ef..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/045_InstallPluginProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/046_AnyMemberPlugin.mv b/vm/stdlib/compiled/latest/stdlib/046_AnyMemberPlugin.mv deleted file mode 100644 index e1f385e909..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/046_AnyMemberPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/062_DummyTokenScripts.mv b/vm/stdlib/compiled/latest/stdlib/046_DummyTokenScripts.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/062_DummyTokenScripts.mv rename to vm/stdlib/compiled/latest/stdlib/046_DummyTokenScripts.mv diff --git a/vm/stdlib/compiled/latest/stdlib/047_Arith.mv b/vm/stdlib/compiled/latest/stdlib/047_Arith.mv deleted file mode 100644 index 1b36c0f723..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/047_Arith.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/063_EVMAddress.mv b/vm/stdlib/compiled/latest/stdlib/047_EVMAddress.mv similarity index 50% rename from vm/stdlib/compiled/latest/stdlib/063_EVMAddress.mv rename to vm/stdlib/compiled/latest/stdlib/047_EVMAddress.mv index 5d447d73fb..b1f33ef7ef 100644 Binary files a/vm/stdlib/compiled/latest/stdlib/063_EVMAddress.mv and b/vm/stdlib/compiled/latest/stdlib/047_EVMAddress.mv differ diff --git a/vm/stdlib/compiled/12/stdlib/064_Epoch.mv b/vm/stdlib/compiled/latest/stdlib/048_Epoch.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/064_Epoch.mv rename to vm/stdlib/compiled/latest/stdlib/048_Epoch.mv diff --git a/vm/stdlib/compiled/latest/stdlib/048_TreasuryPlugin.mv b/vm/stdlib/compiled/latest/stdlib/048_TreasuryPlugin.mv deleted file mode 100644 index d0f9f7684a..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/048_TreasuryPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/065_FixedPoint32.mv b/vm/stdlib/compiled/latest/stdlib/049_FixedPoint32.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/065_FixedPoint32.mv rename to vm/stdlib/compiled/latest/stdlib/049_FixedPoint32.mv diff --git a/vm/stdlib/compiled/latest/stdlib/049_RewardConfig.mv b/vm/stdlib/compiled/latest/stdlib/049_RewardConfig.mv deleted file mode 100644 index 83a4162af0..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/049_RewardConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/050_BlockReward.mv b/vm/stdlib/compiled/latest/stdlib/050_BlockReward.mv deleted file mode 100644 index e7027b7526..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/050_BlockReward.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/050_GenesisSignerCapability.mv b/vm/stdlib/compiled/latest/stdlib/050_GenesisSignerCapability.mv new file mode 100644 index 0000000000..d2321ed4e7 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/050_GenesisSignerCapability.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/051_ChainId.mv b/vm/stdlib/compiled/latest/stdlib/051_ChainId.mv deleted file mode 100644 index 6ed0508f74..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/051_ChainId.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/066_Oracle.mv b/vm/stdlib/compiled/latest/stdlib/051_Oracle.mv similarity index 69% rename from vm/stdlib/compiled/12/stdlib/066_Oracle.mv rename to vm/stdlib/compiled/latest/stdlib/051_Oracle.mv index b2ef22b9bb..fac74536ff 100644 Binary files a/vm/stdlib/compiled/12/stdlib/066_Oracle.mv and b/vm/stdlib/compiled/latest/stdlib/051_Oracle.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/052_Collection.mv b/vm/stdlib/compiled/latest/stdlib/052_Collection.mv deleted file mode 100644 index 5235cf8ec4..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/052_Collection.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/052_PriceOracle.mv b/vm/stdlib/compiled/latest/stdlib/052_PriceOracle.mv new file mode 100644 index 0000000000..ce5b5f7bdc Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/052_PriceOracle.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/053_Collection2.mv b/vm/stdlib/compiled/latest/stdlib/053_Collection2.mv deleted file mode 100644 index ddd3600cfe..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/053_Collection2.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/077_STCUSDOracle.mv b/vm/stdlib/compiled/latest/stdlib/053_STCUSDOracle.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/077_STCUSDOracle.mv rename to vm/stdlib/compiled/latest/stdlib/053_STCUSDOracle.mv diff --git a/vm/stdlib/compiled/latest/stdlib/054_Compare.mv b/vm/stdlib/compiled/latest/stdlib/054_Compare.mv deleted file mode 100644 index 9fc383b446..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/054_Compare.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/054_Offer.mv b/vm/stdlib/compiled/latest/stdlib/054_Offer.mv new file mode 100644 index 0000000000..69425dab4b Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/054_Offer.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/055_ConfigProposalPlugin.mv b/vm/stdlib/compiled/latest/stdlib/055_ConfigProposalPlugin.mv deleted file mode 100644 index 28e3a26cd3..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/055_ConfigProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/032_NFT.mv b/vm/stdlib/compiled/latest/stdlib/055_NFT.mv similarity index 54% rename from vm/stdlib/compiled/12/stdlib/032_NFT.mv rename to vm/stdlib/compiled/latest/stdlib/055_NFT.mv index 70ffe949f4..3d86127a17 100644 Binary files a/vm/stdlib/compiled/12/stdlib/032_NFT.mv and b/vm/stdlib/compiled/latest/stdlib/055_NFT.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/056_ConsensusConfig.mv b/vm/stdlib/compiled/latest/stdlib/056_ConsensusConfig.mv deleted file mode 100644 index 6861e14b69..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/056_ConsensusConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/080_LanguageVersion.mv b/vm/stdlib/compiled/latest/stdlib/056_LanguageVersion.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/080_LanguageVersion.mv rename to vm/stdlib/compiled/latest/stdlib/056_LanguageVersion.mv diff --git a/vm/stdlib/compiled/latest/stdlib/057_ConsensusStrategy.mv b/vm/stdlib/compiled/latest/stdlib/057_ConsensusStrategy.mv deleted file mode 100644 index d389083de9..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/057_ConsensusStrategy.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/082_MerkleProof.mv b/vm/stdlib/compiled/latest/stdlib/057_MerkleProof.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/082_MerkleProof.mv rename to vm/stdlib/compiled/latest/stdlib/057_MerkleProof.mv diff --git a/vm/stdlib/compiled/latest/stdlib/058_DAOExtensionPoint.mv b/vm/stdlib/compiled/latest/stdlib/058_DAOExtensionPoint.mv deleted file mode 100644 index fa6a673ff6..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/058_DAOExtensionPoint.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/058_MerkleNFTDistributor.mv b/vm/stdlib/compiled/latest/stdlib/058_MerkleNFTDistributor.mv new file mode 100644 index 0000000000..c384493ff1 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/058_MerkleNFTDistributor.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/059_Dao.mv b/vm/stdlib/compiled/latest/stdlib/059_Dao.mv deleted file mode 100644 index 2039ab5980..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/059_Dao.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/059_IdentifierNFT.mv b/vm/stdlib/compiled/latest/stdlib/059_IdentifierNFT.mv new file mode 100644 index 0000000000..bb53a0ebe9 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/059_IdentifierNFT.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/060_DaoVoteScripts.mv b/vm/stdlib/compiled/latest/stdlib/060_DaoVoteScripts.mv deleted file mode 100644 index 6c1a2c9fb6..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/060_DaoVoteScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/060_GenesisNFT.mv b/vm/stdlib/compiled/latest/stdlib/060_GenesisNFT.mv new file mode 100644 index 0000000000..76dd0b7a90 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/060_GenesisNFT.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/061_DummyToken.mv b/vm/stdlib/compiled/latest/stdlib/061_DummyToken.mv deleted file mode 100644 index 49ee4840b8..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/061_DummyToken.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/061_StdlibUpgradeScripts.mv b/vm/stdlib/compiled/latest/stdlib/061_StdlibUpgradeScripts.mv new file mode 100644 index 0000000000..55b53b9dff Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/061_StdlibUpgradeScripts.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/062_DummyTokenScripts.mv b/vm/stdlib/compiled/latest/stdlib/062_DummyTokenScripts.mv deleted file mode 100644 index 87a67c1e13..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/062_DummyTokenScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/062_Genesis.mv b/vm/stdlib/compiled/latest/stdlib/062_Genesis.mv new file mode 100644 index 0000000000..ac1c22e95b Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/062_Genesis.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/063_GenesisNFTScripts.mv b/vm/stdlib/compiled/latest/stdlib/063_GenesisNFTScripts.mv new file mode 100644 index 0000000000..7ee755ddfd Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/063_GenesisNFTScripts.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/064_Epoch.mv b/vm/stdlib/compiled/latest/stdlib/064_Epoch.mv deleted file mode 100644 index 5f98d6a9d9..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/064_Epoch.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/064_IdentifierNFTScripts.mv b/vm/stdlib/compiled/latest/stdlib/064_IdentifierNFTScripts.mv new file mode 100644 index 0000000000..5a4879c715 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/064_IdentifierNFTScripts.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/065_FixedPoint32.mv b/vm/stdlib/compiled/latest/stdlib/065_FixedPoint32.mv deleted file mode 100644 index 06b87dd728..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/065_FixedPoint32.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/088_MintDaoProposal.mv b/vm/stdlib/compiled/latest/stdlib/065_MintDaoProposal.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/088_MintDaoProposal.mv rename to vm/stdlib/compiled/latest/stdlib/065_MintDaoProposal.mv diff --git a/vm/stdlib/compiled/latest/stdlib/066_ModuleUpgradeScripts.mv b/vm/stdlib/compiled/latest/stdlib/066_ModuleUpgradeScripts.mv new file mode 100644 index 0000000000..58cd57f123 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/066_ModuleUpgradeScripts.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/066_Oracle.mv b/vm/stdlib/compiled/latest/stdlib/066_Oracle.mv deleted file mode 100644 index b2ef22b9bb..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/066_Oracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/067_NFTGallery.mv b/vm/stdlib/compiled/latest/stdlib/067_NFTGallery.mv new file mode 100644 index 0000000000..d1e3cb7e60 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/067_NFTGallery.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/067_PriceOracle.mv b/vm/stdlib/compiled/latest/stdlib/067_PriceOracle.mv deleted file mode 100644 index 3fca8abfdc..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/067_PriceOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/068_GasOracle.mv b/vm/stdlib/compiled/latest/stdlib/068_GasOracle.mv deleted file mode 100644 index ecc2376d17..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/068_GasOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/068_NFTGalleryScripts.mv b/vm/stdlib/compiled/latest/stdlib/068_NFTGalleryScripts.mv new file mode 100644 index 0000000000..4e52141b88 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/068_NFTGalleryScripts.mv differ diff --git a/vm/stdlib/compiled/12/stdlib/094_OnChainConfigScripts.mv b/vm/stdlib/compiled/latest/stdlib/069_OnChainConfigScripts.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/094_OnChainConfigScripts.mv rename to vm/stdlib/compiled/latest/stdlib/069_OnChainConfigScripts.mv diff --git a/vm/stdlib/compiled/latest/stdlib/069_PriceOracleAggregator.mv b/vm/stdlib/compiled/latest/stdlib/069_PriceOracleAggregator.mv deleted file mode 100644 index 2e2440e4cb..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/069_PriceOracleAggregator.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/070_GasOracleProposalPlugin.mv b/vm/stdlib/compiled/latest/stdlib/070_GasOracleProposalPlugin.mv deleted file mode 100644 index 8d2fc2477c..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/070_GasOracleProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/069_PriceOracleAggregator.mv b/vm/stdlib/compiled/latest/stdlib/070_PriceOracleAggregator.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/069_PriceOracleAggregator.mv rename to vm/stdlib/compiled/latest/stdlib/070_PriceOracleAggregator.mv diff --git a/vm/stdlib/compiled/latest/stdlib/071_PriceOracleScripts.mv b/vm/stdlib/compiled/latest/stdlib/071_PriceOracleScripts.mv new file mode 100644 index 0000000000..ead679c020 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/071_PriceOracleScripts.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/071_WithdrawPlugin.mv b/vm/stdlib/compiled/latest/stdlib/071_WithdrawPlugin.mv deleted file mode 100644 index 21789ab8a7..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/071_WithdrawPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/072_Signature.mv b/vm/stdlib/compiled/latest/stdlib/072_Signature.mv new file mode 100644 index 0000000000..b28c15e41b Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/072_Signature.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/072_VMConfig.mv b/vm/stdlib/compiled/latest/stdlib/072_VMConfig.mv deleted file mode 100644 index 8b92375736..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/072_VMConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/098_SharedEd25519PublicKey.mv b/vm/stdlib/compiled/latest/stdlib/073_SharedEd25519PublicKey.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/098_SharedEd25519PublicKey.mv rename to vm/stdlib/compiled/latest/stdlib/073_SharedEd25519PublicKey.mv diff --git a/vm/stdlib/compiled/latest/stdlib/073_UpgradeModulePlugin.mv b/vm/stdlib/compiled/latest/stdlib/073_UpgradeModulePlugin.mv deleted file mode 100644 index 271289833f..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/073_UpgradeModulePlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/102_TransactionTimeout.mv b/vm/stdlib/compiled/latest/stdlib/074_TransactionTimeout.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/102_TransactionTimeout.mv rename to vm/stdlib/compiled/latest/stdlib/074_TransactionTimeout.mv diff --git a/vm/stdlib/compiled/latest/stdlib/074_TransactionTimeoutConfig.mv b/vm/stdlib/compiled/latest/stdlib/074_TransactionTimeoutConfig.mv deleted file mode 100644 index 0a0b389099..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/074_TransactionTimeoutConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/075_TransactionManager.mv b/vm/stdlib/compiled/latest/stdlib/075_TransactionManager.mv new file mode 100644 index 0000000000..6c44b85ee8 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/075_TransactionManager.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/075_TransactionPublishOption.mv b/vm/stdlib/compiled/latest/stdlib/075_TransactionPublishOption.mv deleted file mode 100644 index 751bca3777..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/075_TransactionPublishOption.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/076_StakeToSBTPlugin.mv b/vm/stdlib/compiled/latest/stdlib/076_StakeToSBTPlugin.mv deleted file mode 100644 index 6aa6a56b41..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/076_StakeToSBTPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/104_TransferScripts.mv b/vm/stdlib/compiled/latest/stdlib/076_TransferScripts.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/104_TransferScripts.mv rename to vm/stdlib/compiled/latest/stdlib/076_TransferScripts.mv diff --git a/vm/stdlib/compiled/latest/stdlib/077_StarcoinDAO.mv b/vm/stdlib/compiled/latest/stdlib/077_StarcoinDAO.mv deleted file mode 100644 index 25736dd16e..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/077_StarcoinDAO.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/105_TreasuryScripts.mv b/vm/stdlib/compiled/latest/stdlib/077_TreasuryScripts.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/105_TreasuryScripts.mv rename to vm/stdlib/compiled/latest/stdlib/077_TreasuryScripts.mv diff --git a/vm/stdlib/compiled/latest/stdlib/078_Arith.mv b/vm/stdlib/compiled/latest/stdlib/078_Arith.mv new file mode 100644 index 0000000000..ab9a3fe638 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/078_Arith.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/078_STCUSDOracle.mv b/vm/stdlib/compiled/latest/stdlib/078_STCUSDOracle.mv deleted file mode 100644 index 26592edcb4..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/078_STCUSDOracle.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/079_MintProposalPlugin.mv b/vm/stdlib/compiled/latest/stdlib/079_MintProposalPlugin.mv deleted file mode 100644 index bb6091f4cb..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/079_MintProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/079_U256.mv b/vm/stdlib/compiled/latest/stdlib/079_U256.mv new file mode 100644 index 0000000000..f1cf9559b8 Binary files /dev/null and b/vm/stdlib/compiled/latest/stdlib/079_U256.mv differ diff --git a/vm/stdlib/compiled/latest/stdlib/080_MemberProposalPlugin.mv b/vm/stdlib/compiled/latest/stdlib/080_MemberProposalPlugin.mv deleted file mode 100644 index 3e83c18928..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/080_MemberProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/107_YieldFarming.mv b/vm/stdlib/compiled/latest/stdlib/080_YieldFarming.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/107_YieldFarming.mv rename to vm/stdlib/compiled/latest/stdlib/080_YieldFarming.mv diff --git a/vm/stdlib/compiled/latest/stdlib/081_LanguageVersion.mv b/vm/stdlib/compiled/latest/stdlib/081_LanguageVersion.mv deleted file mode 100644 index 19a36818f0..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/081_LanguageVersion.mv and /dev/null differ diff --git a/vm/stdlib/compiled/12/stdlib/108_YieldFarmingV2.mv b/vm/stdlib/compiled/latest/stdlib/081_YieldFarmingV2.mv similarity index 100% rename from vm/stdlib/compiled/12/stdlib/108_YieldFarmingV2.mv rename to vm/stdlib/compiled/latest/stdlib/081_YieldFarmingV2.mv diff --git a/vm/stdlib/compiled/latest/stdlib/082_GrantProposalPlugin.mv b/vm/stdlib/compiled/latest/stdlib/082_GrantProposalPlugin.mv deleted file mode 100644 index c71344abdc..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/082_GrantProposalPlugin.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/083_MerkleProof.mv b/vm/stdlib/compiled/latest/stdlib/083_MerkleProof.mv deleted file mode 100644 index 7d1334219b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/083_MerkleProof.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/084_MerkleNFTDistributor.mv b/vm/stdlib/compiled/latest/stdlib/084_MerkleNFTDistributor.mv deleted file mode 100644 index c37a0416c7..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/084_MerkleNFTDistributor.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/085_GenesisNFT.mv b/vm/stdlib/compiled/latest/stdlib/085_GenesisNFT.mv deleted file mode 100644 index 48c1bbde7b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/085_GenesisNFT.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/086_Genesis.mv b/vm/stdlib/compiled/latest/stdlib/086_Genesis.mv deleted file mode 100644 index 67dd4287d7..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/086_Genesis.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/087_GenesisNFTScripts.mv b/vm/stdlib/compiled/latest/stdlib/087_GenesisNFTScripts.mv deleted file mode 100644 index 3aa46b0be9..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/087_GenesisNFTScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/088_IdentifierNFTScripts.mv b/vm/stdlib/compiled/latest/stdlib/088_IdentifierNFTScripts.mv deleted file mode 100644 index 23ca97d37b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/088_IdentifierNFTScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/089_MintDaoProposal.mv b/vm/stdlib/compiled/latest/stdlib/089_MintDaoProposal.mv deleted file mode 100644 index 6ace4b21e1..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/089_MintDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/090_ModifyDaoConfigProposal.mv b/vm/stdlib/compiled/latest/stdlib/090_ModifyDaoConfigProposal.mv deleted file mode 100644 index 5c00c61457..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/090_ModifyDaoConfigProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/091_UpgradeModuleDaoProposal.mv b/vm/stdlib/compiled/latest/stdlib/091_UpgradeModuleDaoProposal.mv deleted file mode 100644 index a09eefb5a4..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/091_UpgradeModuleDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/092_ModuleUpgradeScripts.mv b/vm/stdlib/compiled/latest/stdlib/092_ModuleUpgradeScripts.mv deleted file mode 100644 index 1bfea8bda3..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/092_ModuleUpgradeScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/093_NFTGalleryScripts.mv b/vm/stdlib/compiled/latest/stdlib/093_NFTGalleryScripts.mv deleted file mode 100644 index d7954ee6d3..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/093_NFTGalleryScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/094_OnChainConfigDao.mv b/vm/stdlib/compiled/latest/stdlib/094_OnChainConfigDao.mv deleted file mode 100644 index 5e578fd136..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/094_OnChainConfigDao.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/095_OnChainConfigScripts.mv b/vm/stdlib/compiled/latest/stdlib/095_OnChainConfigScripts.mv deleted file mode 100644 index dfb3123e47..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/095_OnChainConfigScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/096_OnChainStarcoinDAOConfig.mv b/vm/stdlib/compiled/latest/stdlib/096_OnChainStarcoinDAOConfig.mv deleted file mode 100644 index cc510c817b..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/096_OnChainStarcoinDAOConfig.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/097_PriceOracleScripts.mv b/vm/stdlib/compiled/latest/stdlib/097_PriceOracleScripts.mv deleted file mode 100644 index c433d2c06f..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/097_PriceOracleScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/098_Signature.mv b/vm/stdlib/compiled/latest/stdlib/098_Signature.mv deleted file mode 100644 index a574331260..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/098_Signature.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/099_SharedEd25519PublicKey.mv b/vm/stdlib/compiled/latest/stdlib/099_SharedEd25519PublicKey.mv deleted file mode 100644 index b3cdc82a26..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/099_SharedEd25519PublicKey.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/100_SimpleMap.mv b/vm/stdlib/compiled/latest/stdlib/100_SimpleMap.mv deleted file mode 100644 index eddad18678..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/100_SimpleMap.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/101_TreasuryWithdrawDaoProposal.mv b/vm/stdlib/compiled/latest/stdlib/101_TreasuryWithdrawDaoProposal.mv deleted file mode 100644 index d5e8e732e1..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/101_TreasuryWithdrawDaoProposal.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/102_StdlibUpgradeScripts.mv b/vm/stdlib/compiled/latest/stdlib/102_StdlibUpgradeScripts.mv deleted file mode 100644 index 9d3125c814..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/102_StdlibUpgradeScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/103_TransactionTimeout.mv b/vm/stdlib/compiled/latest/stdlib/103_TransactionTimeout.mv deleted file mode 100644 index a7f1bea007..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/103_TransactionTimeout.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/104_TransactionManager.mv b/vm/stdlib/compiled/latest/stdlib/104_TransactionManager.mv deleted file mode 100644 index 7ba1dba82a..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/104_TransactionManager.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/105_TransferScripts.mv b/vm/stdlib/compiled/latest/stdlib/105_TransferScripts.mv deleted file mode 100644 index f6f727bfd3..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/105_TransferScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/106_TreasuryScripts.mv b/vm/stdlib/compiled/latest/stdlib/106_TreasuryScripts.mv deleted file mode 100644 index ac20feb9c2..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/106_TreasuryScripts.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/107_U256.mv b/vm/stdlib/compiled/latest/stdlib/107_U256.mv deleted file mode 100644 index f93df531f9..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/107_U256.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/108_YieldFarming.mv b/vm/stdlib/compiled/latest/stdlib/108_YieldFarming.mv deleted file mode 100644 index 605da4c957..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/108_YieldFarming.mv and /dev/null differ diff --git a/vm/stdlib/compiled/latest/stdlib/109_YieldFarmingV2.mv b/vm/stdlib/compiled/latest/stdlib/109_YieldFarmingV2.mv deleted file mode 100644 index 11f4cc655d..0000000000 Binary files a/vm/stdlib/compiled/latest/stdlib/109_YieldFarmingV2.mv and /dev/null differ diff --git a/vm/stdlib/src/compat.rs b/vm/stdlib/src/compat.rs index 516f85add0..b2fe83cdef 100644 --- a/vm/stdlib/src/compat.rs +++ b/vm/stdlib/src/compat.rs @@ -22,6 +22,9 @@ pub trait StdlibCompat { enforced: bool, ) -> ScriptFunction; + // this method use only in starcoin-framework daospace-v12, + // https://github.com/starcoinorg/starcoin-framework/releases/tag/daospace-v12 + // in starcoin master we don't use it // propose method before stdlib since 12 fn propose_module_upgrade_function_since_v12( &self, @@ -37,26 +40,17 @@ pub trait StdlibCompat { impl StdlibCompat for StdlibVersion { fn upgrade_module_type_tag(&self) -> TypeTag { - if self <= &StdlibVersion::Version(12) { - let struct_name = if self > &StdlibVersion::Version(2) { - "UpgradeModuleV2" - } else { - "UpgradeModule" - }; - TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new("UpgradeModuleDaoProposal").unwrap(), - name: Identifier::new(struct_name).unwrap(), - type_params: vec![], - }) + let struct_name = if self > &StdlibVersion::Version(2) { + "UpgradeModuleV2" } else { - TypeTag::Struct(StructTag { - address: genesis_address(), - module: Identifier::new("UpgradeModulePlugin").unwrap(), - name: Identifier::new("UpgradeModuleAction").unwrap(), - type_params: vec![], - }) - } + "UpgradeModule" + }; + TypeTag::Struct(StructTag { + address: genesis_address(), + module: Identifier::new("UpgradeModuleDaoProposal").unwrap(), + name: Identifier::new(struct_name).unwrap(), + type_params: vec![], + }) } fn propose_module_upgrade_function( @@ -67,10 +61,6 @@ impl StdlibCompat for StdlibVersion { exec_delay: u64, enforced: bool, ) -> ScriptFunction { - assert!( - self <= &StdlibVersion::Version(12), - "Expect stdlib version <= 12." - ); // propose_module_upgrade_v2 is available after v2 upgrade. // 'self' is the target stdlib version to be upgraded to. let (function_name, args) = if self > &StdlibVersion::Version(2) { @@ -107,6 +97,9 @@ impl StdlibCompat for StdlibVersion { ) } + // this method use only in starcoin-framework daospace-v12, + // https://github.com/starcoinorg/starcoin-framework/releases/tag/daospace-v12 + // in starcoin master we don't use it fn propose_module_upgrade_function_since_v12( &self, dao_type: TypeTag, diff --git a/vm/stdlib/src/lib.rs b/vm/stdlib/src/lib.rs index 52220ccb1e..617f77eaa5 100644 --- a/vm/stdlib/src/lib.rs +++ b/vm/stdlib/src/lib.rs @@ -64,7 +64,7 @@ pub const STDLIB_DIR: Dir = starcoin_framework::SOURCES_DIR; // The current stdlib that is freshly built. This will never be used in deployment so we don't need // to pull the same trick here in order to include this in the Rust binary. static G_FRESH_MOVE_LANG_STDLIB: Lazy>> = Lazy::new(|| { - build_stdlib(STARCOIN_FRAMEWORK_SOURCES.files().as_slice()) + build_stdlib(STARCOIN_FRAMEWORK_SOURCES.files.as_slice()) .values() .map(|m| { let mut blob = vec![]; @@ -191,7 +191,7 @@ pub fn module_to_package( } pub fn stdlib_files() -> Vec { - STARCOIN_FRAMEWORK_SOURCES.files() + STARCOIN_FRAMEWORK_SOURCES.files.clone() } pub fn build_stdlib(targets: &[String]) -> BTreeMap { diff --git a/vm/stdlib/src/main.rs b/vm/stdlib/src/main.rs index 1bc82655a3..d795de898c 100644 --- a/vm/stdlib/src/main.rs +++ b/vm/stdlib/src/main.rs @@ -308,7 +308,7 @@ fn main() { std::env::set_current_dir(&base_path).expect("failed to change directory"); let sources = &STARCOIN_FRAMEWORK_SOURCES; - let new_modules = build_stdlib(&sources.files()); + let new_modules = build_stdlib(&sources.files); if !no_check_compatibility { if let Some((pre_stable_version, pre_stable_modules)) = pre_version