difftreelog
chore fix `token_owner` weight
in: master
3 files changed
pallets/nonfungible/src/common.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/common.rs
+++ b/pallets/nonfungible/src/common.rs
@@ -120,7 +120,7 @@
}
fn token_owner() -> Weight {
- 0 //<SelfWeightOf<T>>::token_owner()
+ <SelfWeightOf<T>>::token_owner()
}
}
pallets/refungible/src/benchmarking.rsdiffbeforeafterboth36fn create_max_item_data<CrossAccountId: Ord>(36fn create_max_item_data<CrossAccountId: Ord>(37 users: impl IntoIterator<Item = (CrossAccountId, u128)>,37 users: impl IntoIterator<Item = (CrossAccountId, u128)>,38) -> CreateRefungibleExData<CrossAccountId> {38) -> CreateRefungibleExData<CrossAccountId> {39 let const_data = create_data::<CUSTOM_DATA_LIMIT>();40 CreateRefungibleExData {39 CreateRefungibleExData {41 const_data,42 users: users40 users: users43 .into_iter()41 .into_iter()44 .collect::<BTreeMap<_, _>>()42 .collect::<BTreeMap<_, _>>()pallets/refungible/src/common.rsdiffbeforeafterboth--- a/pallets/refungible/src/common.rs
+++ b/pallets/refungible/src/common.rs
@@ -150,7 +150,7 @@
}
fn token_owner() -> Weight {
- 0 //<SelfWeightOf<T>>::token_owner()
+ <SelfWeightOf<T>>::token_owner()
}
}