[FINAL] feat: wasm_memory_persistence option for canister upgrades
This PR adds an option (called wasm_memory_persistence) for canister upgrades. If this option is set, then the WebAssembly memory of the old canister is preserved across the upgrade.
@luc-blaeser Is it important to distinguish between "WebAssembly state" and "WebAssembly memory state"? I saw you suggested inserting "memory" and I wonder why you made the suggestion.
@luc-blaeser Is it important to distinguish between "WebAssembly state" and "WebAssembly memory state"? I saw you suggested inserting "memory" and I wonder why you made the suggestion.
It is not important. I only thought that the binary will be replaced (with its contained passive data segments).
Redirecting the review to @eust-dfinity and @alexandru-uta