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
Bullet 4 ... msg!() is nothing more than log spitting. There is no way to get the compute units to include in the message. At the moment, the only choice is to use sol_log_compute_units(); which spits out used CU up to the point you call it (it also costs 100 CU to call it) but it does not return the value to your program. Would be nice if it did!
A lot of people run into issues managing how much compute they're using.
A great thing to have is a guide on how to go through program development with a compute budget in mind.
Things to have:
The text was updated successfully, but these errors were encountered: