mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fail on invalid storage encoding for byte arrays.
This commit is contained in:
@@ -29,6 +29,7 @@ enum class PanicCode
|
||||
UnderOverflow = 0x11, // arithmetic underflow or overflow
|
||||
DivisionByZero = 0x12, // division or modulo by zero
|
||||
EnumConversionError = 0x21, // enum conversion error
|
||||
StorageEncodingError = 0x22, // invalid encoding in storage
|
||||
EmptyArrayPop = 0x31, // empty array pop
|
||||
ArrayOutOfBounds = 0x32, // array out of bounds access
|
||||
ResourceError = 0x41, // resource error (too large allocation or too large array)
|
||||
|
||||
Reference in New Issue
Block a user