Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

README.md

1.17 Kb · 25 lines

gno.land/r/moul/x/upgrade/lazy/v1

Version 1 of the lazy migration pattern (pattern D). Declares a new record shape and converts each v0 record on first touch.

Migrating writes, and writing means crossing, so Get(cur, key) is a transaction and is invisible to vm/qeval and to Render. Peek(key) is the free read-only half: same value, no migration.

See the pattern and the exploration.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/x/upgrade/lazy/v1 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.