From 157c26fce0ee46f196f07cff5b2348b542cb5996 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 26 Oct 2022 10:57:40 +0000 Subject: [PATCH] chore: fix weight for `set_properties` --- --- a/pallets/nonfungible/src/erc.rs +++ b/pallets/nonfungible/src/erc.rs @@ -118,6 +118,7 @@ /// @dev Throws error if `msg.sender` has no permission to edit the property. /// @param tokenId ID of the token. /// @param properties settable properties + #[weight(>::set_token_properties(properties.len() as u32))] fn set_properties( &mut self, caller: caller, -- gitstuff