git.delta.rocks / unique-network / refs/commits / 3c1f2feaa85d

difftreelog

style(nonfungible) benchmarking warnings

Yaroslav Bolyukin2023-03-24parent: #59156c4.patch.diff
in: master

2 files changed

modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17#![allow(missing_docs)]
1618
17use sp_std::vec::Vec;19use sp_std::vec::Vec;
18use crate::{Config, CollectionHandle, Pallet};20use crate::{Config, CollectionHandle, Pallet};
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
233 };233 };
234 let item = create_max_item(&collection, &owner, owner.clone())?;234 let item = create_max_item(&collection, &owner, owner.clone())?;
235
236 }: {collection.token_owner(item)}235 }: {collection.token_owner(item).unwrap()}
237236
238 set_allowance_for_all {237 set_allowance_for_all {
239 bench_init!{238 bench_init!{