You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to parse the accounts at compile time and inspect the payer field to ensure it's marked mutable, giving the developer a more informative error than the current Cross-program invocation with unauthorized signer or writable account.
The text was updated successfully, but these errors were encountered:
-> Anchor should check that the Payer is both mutable and a Signer at compile time to avoid this issue.
Ran into this problem earlier when executing an instruction with CPI using Multisig Program. This mutable/signer check does not show up when executed with the Anchor client, so some discrepancy there.
We should be able to parse the accounts at compile time and inspect the payer field to ensure it's marked mutable, giving the developer a more informative error than the current
Cross-program invocation with unauthorized signer or writable account
.The text was updated successfully, but these errors were encountered: