-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error: IDL not found and unable to find account #207
Comments
The "Error: Unable to find account" looks to be due to trying to find token metadata that isn't there. and because I returned that as a throw Error(), react keeps retrying will probably be addressed with some changes i'm doing for #215 |
IDL not found is normal, from Anchor decode. We need a check in the decode section to skip anchor decode attempt if it’s Token Program owner like it does for system program |
ah, roger - so the real regression is the unable to find account 👍 |
… rpic endpoint either - for #207 Signed-off-by: Sven Dowideit <[email protected]>
* yes, I think this is less code :) Signed-off-by: Sven Dowideit <[email protected]> * move the react-query query function to getAccountss.ts Signed-off-by: Sven Dowideit <[email protected]> * WIP - i get a blank electron, no dev-tools, and no errors in the console :( Signed-off-by: Sven Dowideit <[email protected]> * WIP - i get a blank electron, no dev-tools, and no errors in the console :( Signed-off-by: Sven Dowideit <[email protected]> * why do I keep having to fix this? Signed-off-by: Sven Dowideit <[email protected]> * and now it works - useQuery for tokenlinst Signed-off-by: Sven Dowideit <[email protected]> * token metadata react-query Signed-off-by: Sven Dowideit <[email protected]> * use react-query for top level AccountView getParsedAccount request Signed-off-by: Sven Dowideit <[email protected]> * how does it look when we have a useParsedAccount(net, pubKey) hook? Signed-off-by: Sven Dowideit <[email protected]> * invalidate the react-query cache on demand, and on mint - but ... it needs a tiny delay :/ Signed-off-by: Sven Dowideit <[email protected]> * replace useInterval with useQuery - not perfect, but not spamming the rpic endpoint either - for #207 Signed-off-by: Sven Dowideit <[email protected]> * linties Signed-off-by: Sven Dowideit <[email protected]> * ok, weird fix, but letting the mint info retry seems to make the Mint accordion work Signed-off-by: Sven Dowideit <[email protected]> * sssshhhh those logs Signed-off-by: Sven Dowideit <[email protected]> * sssshhhh those logs Signed-off-by: Sven Dowideit <[email protected]> * noidea what changed this, remove Signed-off-by: Sven Dowideit <[email protected]>
from #123
The text was updated successfully, but these errors were encountered: