--- a/pallets/common/src/lib.rs +++ b/pallets/common/src/lib.rs @@ -762,6 +762,7 @@ >::remove(collection.id); >::remove_prefix((collection.id,), None); >::remove_prefix((collection.id,), None); + >::remove(collection.id); >::deposit_event(Event::CollectionDestroyed(collection.id)); Ok(()) --- a/pallets/nonfungible/src/lib.rs +++ b/pallets/nonfungible/src/lib.rs @@ -257,6 +257,7 @@ >::remove((collection.id, &token_data.owner, token)); >::insert(collection.id, burnt); >::remove((collection.id, token)); + >::remove((collection.id, token)); let old_spender = >::take((collection.id, token)); if let Some(old_spender) = old_spender {