difftreelog
fix rename create_raw to avoid misunderstanding
in: master
3 files changed
pallets/common/src/dispatch.rsdiffbeforeafterboth79 payer: Option<T::CrossAccountId>,79 payer: Option<T::CrossAccountId>,80 data: CreateCollectionData<T::CrossAccountId>,80 data: CreateCollectionData<T::CrossAccountId>,81 ) -> Result<CollectionId, DispatchError> {81 ) -> Result<CollectionId, DispatchError> {82 Self::create_internal(sender, payer, false, data)82 Self::create_raw(sender, payer, false, data)83 }83 }848485 /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).85 /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).88 /// * `payer` - If set, the user who pays the collection creation deposit.88 /// * `payer` - If set, the user who pays the collection creation deposit.89 /// * `data` - Description of the created collection.89 /// * `data` - Description of the created collection.90 /// * `is_special_collection` -- Whether this collection is a system one, i.e. can have special flags set.90 /// * `is_special_collection` -- Whether this collection is a system one, i.e. can have special flags set.91 fn create_internal(91 fn create_raw(92 sender: T::CrossAccountId,92 sender: T::CrossAccountId,93 payer: Option<T::CrossAccountId>,93 payer: Option<T::CrossAccountId>,94 is_special_collection: bool,94 is_special_collection: bool,pallets/foreign-assets/src/lib.rsdiffbeforeafterboth156156157 let payer = None;157 let payer = None;158 let is_special_collection = true;158 let is_special_collection = true;159 let collection_id = T::CollectionDispatch::create_internal(159 let collection_id = T::CollectionDispatch::create_raw(160 foreign_collection_owner,160 foreign_collection_owner,161 payer,161 payer,162 is_special_collection,162 is_special_collection,runtime/common/dispatch.rsdiffbeforeafterboth66 }66 }67 }67 }686869 fn create_internal(69 fn create_raw(70 sender: T::CrossAccountId,70 sender: T::CrossAccountId,71 payer: Option<T::CrossAccountId>,71 payer: Option<T::CrossAccountId>,72 is_special_collection: bool,72 is_special_collection: bool,