--- a/pallets/common/src/dispatch.rs +++ b/pallets/common/src/dispatch.rs @@ -79,7 +79,7 @@ payer: Option, data: CreateCollectionData, ) -> Result { - Self::create_internal(sender, payer, false, data) + Self::create_raw(sender, payer, false, data) } /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode). @@ -88,7 +88,7 @@ /// * `payer` - If set, the user who pays the collection creation deposit. /// * `data` - Description of the created collection. /// * `is_special_collection` -- Whether this collection is a system one, i.e. can have special flags set. - fn create_internal( + fn create_raw( sender: T::CrossAccountId, payer: Option, is_special_collection: bool, --- a/pallets/foreign-assets/src/lib.rs +++ b/pallets/foreign-assets/src/lib.rs @@ -156,7 +156,7 @@ let payer = None; let is_special_collection = true; - let collection_id = T::CollectionDispatch::create_internal( + let collection_id = T::CollectionDispatch::create_raw( foreign_collection_owner, payer, is_special_collection, --- a/runtime/common/dispatch.rs +++ b/runtime/common/dispatch.rs @@ -66,7 +66,7 @@ } } - fn create_internal( + fn create_raw( sender: T::CrossAccountId, payer: Option, is_special_collection: bool,