pub const STATE_VERSION: u32 = 1;Expand description
The version of the state document this build writes and reads.
A file-backed state outlives the process that wrote it and is read by the next
one, which makes it a stored contract like onevcs’s own registry document —
and like that document, a version this build does not read is refused by name
rather than guessed at. 1 is the shape the goldens in tests/golden/ hold,
and those goldens are compared byte for byte, so a field that changes shape
cannot reach a consumer without the diff saying so.