--- a/pallets/refungible/src/common.rs +++ b/pallets/refungible/src/common.rs @@ -83,7 +83,7 @@ fn set_token_properties(amount: u32) -> Weight { write_token_properties_total_weight::([amount].into_iter(), |amount| { >::load_token_properties() - + >::write_token_properties(amount) + .saturating_add(>::write_token_properties(amount)) }) }