ts: Include unresolved accounts in the resolution error message#3207
Conversation
|
@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel. A member of the Team first needs to authorize it. |
|
@acheroncrypto, do I need to do anything specific (maybe, activate some feature?) to start receiving the updated error message? I'm still getting just the |
|
@IaroslavMazur this was fixed but not yet published at the time of your comment. The latest version (v0.31.0) includes this commit. https://www.anchor-lang.com/docs/updates/release-notes/0-31-0#error-improvements |
Awesome, thanks for getting back! And congrats on finally releasing |
Problem
If account resolution fails to resolve all accounts, it throws:
This is a pretty generic error and doesn't tell which accounts weren't able to get resolved, as also mentioned in #3111 (comment).
Summary of changes
Include the unresolved accounts in the resolution error message:
Add a test case
Resolves #3111