Closed AuroraLantean closed 2 months ago
It's because account resolution takes care of the room
account (and also systemProgram
). See https://solana.stackexchange.com/a/14345.
You can press CTRL+Space
when your cursor is inside .accounts({...})
call to see which accounts are actually needed.
Although my Anchor tests can run fine, but my Vscode gave me this TypeScript warning:
This warning appears in my Anchor test file:
My dependencies:
Is there extra TypeScript declaration missing? Thank you