diff --git a/aptos-move/framework/src/chunked_publish.rs b/aptos-move/framework/src/chunked_publish.rs index 3eeaff36a88..065ff3d57e8 100644 --- a/aptos-move/framework/src/chunked_publish.rs +++ b/aptos-move/framework/src/chunked_publish.rs @@ -10,7 +10,7 @@ use move_core_types::{account_address::AccountAddress, ident_str, language_stora /// The default address where the `large_packages.move` module is deployed. /// This address is used on both mainnet and testnet. pub const LARGE_PACKAGES_PROD_MODULE_ADDRESS: &str = - "0x0e1ca3011bdd07246d4d16d909dbb2d6953a86c4735d5acf5865d962c630cce7"; + "0x5535c0246b3da2a0632edc13bac62aa352a9829adc2e060ed227955457aa9f06"; /// Address where large packages module is deployed on dev network started from genesis /// (including devnet and localnet) diff --git a/crates/aptos/src/common/types.rs b/crates/aptos/src/common/types.rs index 493ef23057c..65c78502bcd 100644 --- a/crates/aptos/src/common/types.rs +++ b/crates/aptos/src/common/types.rs @@ -2499,10 +2499,8 @@ pub struct OverrideSizeCheckOption { pub struct LargePackagesModuleOption { /// Address of the `large_packages` move module for chunked publishing /// - /// By default, on the module is published at `0x0e1ca3011bdd07246d4d16d909dbb2d6953a86c4735d5acf5865d962c630cce7` - /// on Testnet and Mainnet, and `0x7` on localnest/devnet. - /// On any custom network where neither is used, you will need to first publish it from the framework - /// under move-examples/large_packages. + /// Defaults to `0x5535c0246b3da2a0632edc13bac62aa352a9829adc2e060ed227955457aa9f06` + /// on mainnet and testnet. #[clap(long, value_parser = crate::common::types::load_account_arg)] pub(crate) large_packages_module_address: Option, } diff --git a/crates/aptos/src/move_tool/mod.rs b/crates/aptos/src/move_tool/mod.rs index 78b6b34b4a7..838d9ea0079 100644 --- a/crates/aptos/src/move_tool/mod.rs +++ b/crates/aptos/src/move_tool/mod.rs @@ -1659,7 +1659,7 @@ async fn submit_chunked_publish_transactions( let message = format!( "The resource {}::large_packages::StagingArea under account {} is not empty.\ \nThis may cause package publishing to fail if the data is unexpected. \ - \nUse the `aptos move clear-staging-area` command to clean up the `StagingArea` resource under the account.", + \nUse the `movement move clear-staging-area` command to clean up the `StagingArea` resource under the account.", large_packages_module_address, account_address, ) .bold(); @@ -1693,7 +1693,7 @@ async fn submit_chunked_publish_transactions( println!("{}", "Caution: An error occurred while submitting chunked publish transactions. \ \nDue to this error, there may be incomplete data left in the `StagingArea` resource. \ \nThis could cause further errors if you attempt to run the chunked publish command again. \ - \nTo avoid this, use the `aptos move clear-staging-area` command to clean up the `StagingArea` resource under your account before retrying.".bold()); + \nTo avoid this, use the `movement move clear-staging-area` command to clean up the `StagingArea` resource under your account before retrying.".bold()); return Err(e); }, }