Goerli Testnet

Solidity Bug Info

Bug Name Description Severity
UserDefinedValueTypesBug
User defined value types with underlying type shorter than 32 bytes used incorrect storage layout and wasted storage
The compiler did not correctly compute the storage layout of user defined value types based on types that are shorter than 32 bytes. It would always use a full storage slot for these types, even if the underlying type was shorter. This was wasteful and might have problems with tooling or contract upgrades.

- Link: https://blog.soliditylang.org/2021/09/29/user-defined-value-types-bug/
- First Introduced: 0.8.8
- Fixed in Version: 0.8.9
- Published:
- Severity<: very low

very low