Skip to main content
Verticopolis engineGitHub

FRAME_LAYOUT_VERSION

Constant FRAME_LAYOUT_VERSION 

Source
pub const FRAME_LAYOUT_VERSION: u32 = 1;
Expand description

The version of the frame’s layout, also in crate::identity::identity. It goes up when a slot moves, a record’s width changes, or a slot or code changes meaning, so a decoder can refuse a layout it was not written for.