Skip to content
Discussion options

You must be logged in to vote

Hey @0xbe1, this PR ensures that the original owner cannot reclaim an object after a soft burn, but only if TransferRef is used before reclaim.

^This was originally possible since we didn't remove the TombStone struct in object::transfer_with_ref.

To address your original question, a user can still call burn and then unburn.

If you want to make sure that the object is discarded, you should use the DeleteRef. This will remove the object from global storage instead of transferring it to the burn address.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kshitijc1506
Comment options

Answer selected by 0xbe1
@0xbe1
Comment options

@kshitijc1506
Comment options

@kshitijc1506
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants