Constant pallet_schemas::MAX_NUMBER_OF_VERSIONS
source · pub const MAX_NUMBER_OF_VERSIONS: u32 = _; // 254u32
Expand description
maximum number of versions for a certain schema name
-1 is to avoid overflow when converting the (index + 1) to SchemaVersion
in SchemaVersionId