Skip to content
Merged
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
11 changes: 3 additions & 8 deletions docs/deweb/cli/upgrade.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
:::
2 changes: 1 addition & 1 deletion docs/deweb/upload/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Loading