From 2d2eac8ef8b2c4ec2a5fe091558f2b6d4cfb3b5d Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Thu, 11 Aug 2022 09:44:00 +0000 Subject: [PATCH] chore: fix `token_owner` weight --- --- a/pallets/nonfungible/src/common.rs +++ b/pallets/nonfungible/src/common.rs @@ -120,7 +120,7 @@ } fn token_owner() -> Weight { - 0 //>::token_owner() + >::token_owner() } } --- a/pallets/refungible/src/benchmarking.rs +++ b/pallets/refungible/src/benchmarking.rs @@ -36,9 +36,7 @@ fn create_max_item_data( users: impl IntoIterator, ) -> CreateRefungibleExData { - let const_data = create_data::(); CreateRefungibleExData { - const_data, users: users .into_iter() .collect::>() --- a/pallets/refungible/src/common.rs +++ b/pallets/refungible/src/common.rs @@ -150,7 +150,7 @@ } fn token_owner() -> Weight { - 0 //>::token_owner() + >::token_owner() } } -- gitstuff