Skip to content
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

New Token Mint never shows up #272

Closed
nathanleclaire opened this issue Jul 19, 2022 · 3 comments · Fixed by #282
Closed

New Token Mint never shows up #272

nathanleclaire opened this issue Jul 19, 2022 · 3 comments · Fixed by #282
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nathanleclaire
Copy link
Contributor

nathanleclaire commented Jul 19, 2022

I'd expect it to show in the list, maybe select for the right hand pane too. User won't know to click refresh. (Having to have refresh feels like admitting defeat, but that's a whole other item)

no_token_mint.mov
@nathanleclaire nathanleclaire added the bug Something isn't working label Jul 19, 2022
@SvenDowideit
Copy link
Member

yeah, this is a shitty validator timing issue. it takes quite a few seconds for the account to be accessible, which is too long for the toast to trigger it.

use the program changes page to create a mint (in the account view), and then hit the refresh button, and you'll see what's up.

and i'm hesitant to use the lesser commitment setting, because then it shows up, but using the buttons too quickly probably fails.

ideally, we'd have 2 queries per account - (or even 3 - processed...) one for its on the validator and probably ok, which can render it, and then a wait til confirmed to enable to buttons.

https://docs.solana.com/developing/clients/jsonrpc-api#configuring-state-commitment

I'm not sure that this is fixable with a quick hack for 0.4.0 tho

@SvenDowideit SvenDowideit added this to the 0.4.0 milestone Jul 20, 2022
@SvenDowideit
Copy link
Member

well, clearly i lied - this tooke me down a refresh commitment rabbithole that makes everything update more snappily - except (so far) the original bug report :)

@SvenDowideit
Copy link
Member

and rewriting the mint bit to useQuery fixes this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants