workbenchapp / solana-workbench

Your one-stop shop for developing on Solana
MIT License
63 stars 7 forks source link

use a global to set the Commitment level, and set it to `processed' so getAccount* calls are fast. #278

Closed SvenDowideit closed 2 years ago

SvenDowideit commented 2 years ago

and then add a delay in the toasts to trigger the get data from the API update so that the validator gives us the updated info (I'm sure its too long - tuning it later

inspired by #272, but doesn't fix that, because the way i wrote the tokensPage POC is shit, and i want to delete it.

Signed-off-by: Sven Dowideit SvenDowideit@home.org.au

SvenDowideit commented 2 years ago

man, this is soooo much faster

nathanleclaire commented 2 years ago

Yea works awesome. LGTM

nathanleclaire commented 2 years ago

See if we can fix delay hack for transactions

(new issue)