-
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 <SvenDowideit@home.org.au>
* yes, I think this is less code :) Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * move the react-query query function to getAccountss.ts Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * WIP - i get a blank electron, no dev-tools, and no errors in the console :( Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * WIP - i get a blank electron, no dev-tools, and no errors in the console :( Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * why do I keep having to fix this? Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * and now it works - useQuery for tokenlinst Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * token metadata react-query Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * use react-query for top level AccountView getParsedAccount request Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * how does it look when we have a useParsedAccount(net, pubKey) hook? Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * invalidate the react-query cache on demand, and on mint - but ... it needs a tiny delay :/ Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * replace useInterval with useQuery - not perfect, but not spamming the rpic endpoint either - for #207 Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * linties Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * ok, weird fix, but letting the mint info retry seems to make the Mint accordion work Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * sssshhhh those logs Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * sssshhhh those logs Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> * noidea what changed this, remove Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
from #123
The text was updated successfully, but these errors were encountered: