Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aptos-move/framework/src/chunked_publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 2 additions & 4 deletions crates/aptos/src/common/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<AccountAddress>,
}
Expand Down
4 changes: 2 additions & 2 deletions crates/aptos/src/move_tool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
},
}
Expand Down
Loading