Skip to content

feat(asset-canister): sync plugin#28

Draft
lwshang wants to merge 1 commit into
mainfrom
lwshang/asset_plugin
Draft

feat(asset-canister): sync plugin#28
lwshang wants to merge 1 commit into
mainfrom
lwshang/asset_plugin

Conversation

@lwshang
Copy link
Copy Markdown

@lwshang lwshang commented Jun 2, 2026

Switch to sync_plugin without changing the canister wasm.

Context

This swaps the asset-canister recipe's sync step from the built-in type: assets mechanism to type: plugin, without changing the canister wasm — it remains the legacy dfx assetstorage canister. The goal is to ease the upgrade path for existing asset-canister users once type: assets sync is dropped in the upcoming icp-cli release: their canister stays the same, only the sync mechanism changes.

The plugin wasm is pinned to a pre-release hosted on the certified-assets repo:

  • URL: https://github.com/dfinity/certified-assets/releases/download/migration-v2.2.0-209d688/sync_plugin.wasm
  • sha256: 297c2ef05680d47ac70688d6cebed9bc3a41b2302f400739f894f4f413e6a5ee

That plugin is built from the migration branch of dfinity/certified-assets, a permanently separate branch (never merged into main) dedicated to producing a sync plugin that targets the legacy assetstorage canister and reads .ic-assets.json5 config:

The v2.2.0 in the tag tracks this recipe version (current latest is asset-canister-v2.1.0); the -209d688 suffix pins the exact commit the wasm was built from. Future recipe bumps will get a matching migration-vX.Y.Z-<hash> release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant