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
I wonder whether we should be more generous and at least use 16 bits for it and reserve 256 slots in each category or even more... it's not like we don't have enough space in the uint256...
The following situations currently create an invalid opcode or a Panic in the future:
Note that the old code-generator still contains code that uses "invalid opcode".
Suggestions for how to assign error codes:
0
: generic / unspecified error. Used byassert()
.0x11
: arithmetic underflow or overflow0x12
: division or modulo by zero0x21
: enum conversion error0x31
: empty array pop0x32
: array out of bounds access0x41
: resource error (too large allocation or too large array)0x51
: calling invalid internal functionThe text was updated successfully, but these errors were encountered: