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

v1 source realm

Package impl is version 1 of the handler realm of the "API as data" upgrade pattern (pattern G; see ../../README.md).

Readme View source

gno.land/r/moul/x/upgrade/schema/impl/v1

Version 1 of the handler realm of pattern G. Adds surround and keeps both of v0s verbs untouched, which is what lets the facade accept it: growing the API costs no new realm and no new signature at the permanent path.

Also carries the twin of adminregs dispatch-cost test.

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/schema/impl/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.

Overview

Package impl is version 1 of the handler realm of the "API as data" upgrade pattern (pattern G; see ../../README.md).

Three verbs: it ADDS one and keeps both of v0's untouched, which is what lets the facade accept it. Growing the API costs no new realm and no new signature at the permanent path.

Constants 1

const Path

1const Path = "gno.land/r/moul/x/upgrade/schema/impl/v1"
source

Path is this realm's own package path, the string the facade owner accepts.

Functions 2

func Propose

crossing Action
1func Propose(cur realm)
source

Propose re-nominates this handler, so a rollback needs no redeploy.

Imports 2

Source Files 4