dfinity / motoko

Simple high-level language for writing Internet Computer canisters
Apache License 2.0
515 stars 97 forks source link

Test Canister Snapshots #4679

Closed luc-blaeser closed 1 month ago

luc-blaeser commented 2 months ago

Test canister snapshot with classical and enhanced orthogonal persistence.

Requires a more recent drun version with snapshot fix: https://github.com/luc-blaeser/ic/commit/58b86e65fab2ca931f1734a38a706a7fd9d30990

github-actions[bot] commented 2 months ago

Comparing from d50b53c8b451eb5c8a1cded604100e92c500b55d to 4a8f23e48cc6b8b224639b1437165d58a13385ae: The produced WebAssembly code seems to be completely unchanged.

luc-blaeser commented 1 month ago

Nice. Might make a good example with a little rewriting to avoid Prim...

Thank you. Indeed, we could add this to the example set (with proper base-lib imports).