diff --git a/docs/deweb/cli/upgrade.mdx b/docs/deweb/cli/upgrade.mdx index 2b9091c17..ec0233818 100644 --- a/docs/deweb/cli/upgrade.mdx +++ b/docs/deweb/cli/upgrade.mdx @@ -57,10 +57,9 @@ particular large ones, so that they can still be purged. - **MIP-0002 must be active on the network.** Contract version 3 uses the paginated datastore key functions, so it cannot be deployed nor run before MIP-0002 is active. Before that, `upgrade` stops with an error and leaves the website unchanged. -- **The CLI must ship contract version 3.** `upgrade` installs the contract bundled with the CLI you - run. The CLI releases published before MIP-0002 is active on mainnet still bundle version 2: with them, - websites running version 2 are reported as up to date. Use the latest release of the CLI - (`npx @massalabs/deweb-cli@latest`): the confirmation prompt shows the version it ships. +- **The CLI must ship contract version 3: use DeWeb CLI 0.7.0 or later.** `upgrade` installs the + contract bundled with the CLI you run. Earlier releases bundle version 2: with them, websites running + version 2 are reported as up to date. The confirmation prompt shows the version the CLI ships. ::: ## What the Command Does @@ -138,7 +137,3 @@ The [DeWeb uploader](https://dws.massa.network) web app shows the contract statu websites (up to date, upgrade available, waiting for MIP-0002, or immutable) and lets you upgrade a website in one operation, after showing the bytecode change and the cost. It also warns you about an outdated contract before editing a website. - -:::info -This feature of the uploader is being rolled out and may not be available yet. -::: diff --git a/docs/deweb/upload/overview.mdx b/docs/deweb/upload/overview.mdx index 031087ab7..d8347987f 100644 --- a/docs/deweb/upload/overview.mdx +++ b/docs/deweb/upload/overview.mdx @@ -11,7 +11,7 @@ You can use it right now [here](https://dws.massa.network). - **Deweb CLI**: This is a command-line tool that allows you to upload and manage your sites with more fine-grained control. To use it, you can follow the [Uploading a Website](../cli/upload) guide that provides an overview of the process and the steps to upload your website. -The DeWeb CLI, and soon the easy uploader, can also upgrade the smart contract of a website you own to +The DeWeb CLI and the easy uploader can also upgrade the smart contract of a website you own to the latest version, keeping its files: see [Upgrading a Website Contract](../cli/upgrade). Stay tuned for more updates!