diff --git a/recipes/asset-canister/README.md b/recipes/asset-canister/README.md index 5e35f53..1d08530 100644 --- a/recipes/asset-canister/README.md +++ b/recipes/asset-canister/README.md @@ -2,6 +2,9 @@ Download and configure the official IC assets canister with asset synchronization capabilities. +> [!IMPORTANT] +> Version `v2.2.0` and later of this recipe require **icp-cli v0.2.7 or later**. + ## Usage Example of how to reference this recipe in an `icp.yaml` file: diff --git a/recipes/asset-canister/recipe.hbs b/recipes/asset-canister/recipe.hbs index fc392eb..85766c7 100644 --- a/recipes/asset-canister/recipe.hbs +++ b/recipes/asset-canister/recipe.hbs @@ -41,5 +41,8 @@ build: {{! Synchronize assets }} sync: steps: - - type: assets - dir: {{ dir }} + - type: plugin + url: https://github.com/dfinity/certified-assets/releases/download/migration-v2.2.0-209d688/sync_plugin.wasm + sha256: 297c2ef05680d47ac70688d6cebed9bc3a41b2302f400739f894f4f413e6a5ee + dirs: + - {{ dir }}