Function pallet_schemas::pallet::dispatchables::set_max_schema_model_bytes
source · pub fn set_max_schema_model_bytes<T: Config>(max_size: u32)
Expand description
Root and Governance can set a new max value for Schema bytes. Must be <= the limit of the Schema BoundedVec used for registration.
Requires
- Root Origin
Events
Errors
Error::ExceedsMaxSchemaModelBytes
- Cannot set to above the hard coded maximumConfig::SchemaModelMaxBytesBoundedVecLimit
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_max_schema_model_bytes
.