Skip to content

feat(canister install): add --wasm-memory-persistence flag#558

Open
timohanke wants to merge 4 commits into
dfinity:mainfrom
research-ag:feat/wasm-memory-persistence-replace
Open

feat(canister install): add --wasm-memory-persistence flag#558
timohanke wants to merge 4 commits into
dfinity:mainfrom
research-ag:feat/wasm-memory-persistence-replace

Conversation

@timohanke
Copy link
Copy Markdown

icp canister install -m upgrade now offers the --wasm-memory-persistence keep|replace option where keep is the default.

The option isn't available in any other install mode (install, reinstall) and is only available for EOP canisters.

When replace is specified then another interactive y/N confirmation is required. It can be overridden with -y/--yes.

@timohanke timohanke requested a review from a team as a code owner May 18, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant