generated from metaplex-foundation/solana-project-template
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I created a collection with the Royalties Plugin and added the AllowProgramList in the ruleSet. However, the call fails on-chain with reject against line 128, just below the lines I linked. On continuous debugging, I cycled here and found out that the if condition expects the new_owner to be in the AllowProgramList. But the new owner is not a program. Infact, there will be multiple new owners in different places. Or does new owner mean something else here? Kindly look into this or what was the intended behavior? And is authority_info validly the calling program?
mpl-core/programs/mpl-core/src/plugins/internal/authority_managed/royalties.rs
Lines 123 to 124 in 276f2a2
| if allow_list.contains(ctx.authority_info.owner) | |
| && allow_list.contains(new_owner.owner) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels