Expand description
State version tracking for contract migrations.
The version field allows contracts to:
- Detect states from older contract versions
- Reject states from unknown future versions
- Perform migration logic if needed
Structs§
- State
Version - Wrapper for state version that implements ComposableState.
Constants§
- CURRENT_
STATE_ VERSION - Current state version. Increment when making breaking changes to state format.