Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected asset plugin behaviour #49

Open
joefitter opened this issue Apr 3, 2024 · 1 comment
Open

Unexpected asset plugin behaviour #49

joefitter opened this issue Apr 3, 2024 · 1 comment
Assignees

Comments

@joefitter
Copy link
Contributor

There is some strange behaviour when interacting with assets that have a permanent authority. For example:

  1. Create collection with permanent transfer authority
  2. Create asset in this collection
  3. Delegate transfer authority and freeze authority to a third party program, freeze the asset.
  4. The transfer authority can still transfer the asset regardless
  5. After the transfer, the asset still has frozen: true, but the authority is updated to Owner
  6. The transfer authority on the asset is also set to Owner

To me, frozen is frozen, and nothing should be able to move the asset. I would suggest an alternative solution for this case would be to disable the owner adding freeze/transfer authority if there is a permanent authority in place.

@blockiosaurus
Copy link
Contributor

While we call this frozen, the semantics are slightly different than the tradition spl-token freeze semantics. This was an intentional choice to use frozen as an indicator of blocked lifecycle events, not as a freeze state.

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

No branches or pull requests

3 participants