Function pallet_schemas::pallet::dispatchables::propose_to_create_schema_name
source · pub fn propose_to_create_schema_name<T: Config>(
schema_id: SchemaId,
schema_name: SchemaNamePayload
)
Expand description
Propose to create a schema name. Creates a proposal for council approval to create a schema name
Error::LessThanMinSchemaModelBytes
- The schema’s length is less than the minimum schema lengthError::ExceedsMaxSchemaModelBytes
- The schema’s length is greater than the maximum schema lengthError::InvalidSchema
- Schema is malformed in some wayError::InvalidSchemaNameEncoding
- The schema name has invalid encodingError::InvalidSchemaNameCharacters
- The schema name has invalid charactersError::InvalidSchemaNameStructure
- The schema name has invalid structureError::InvalidSchemaNameLength
- The schema name has invalid lengthError::InvalidSchemaNamespaceLength
- The schema namespace has invalid lengthError::InvalidSchemaDescriptorLength
- The schema descriptor has invalid lengthError::ExceedsMaxNumberOfVersions
- The schema name reached max number of versionsError::SchemaIdDoesNotExist
- The schema id does not existError::SchemaIdAlreadyHasName
- The schema id already has a name
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::propose_to_create_schema_name
.