You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a program account hasn't been initialized, and it is passed into a function that assumes it has been initialized, then the program will error saying the program account has the wrong discriminator. Is it possible to instead detect where the wrong discriminator is because the program account hasn't been inited (maybe it's all zeros or doesn't even have any space allocated to it) and give a more helpful error as result.
The text was updated successfully, but these errors were encountered:
If a program account hasn't been initialized, and it is passed into a function that assumes it has been initialized, then the program will error saying the program account has the wrong discriminator. Is it possible to instead detect where the wrong discriminator is because the program account hasn't been inited (maybe it's all zeros or doesn't even have any space allocated to it) and give a more helpful error as result.
The text was updated successfully, but these errors were encountered: