Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 801 Bytes

Storage array with multiSlot element with ABIEncoderV2.md

File metadata and controls

22 lines (20 loc) · 801 Bytes

Storage arrays containing structs or other statically sized arrays are not read properly when directly encoded in external function calls or in abi.encode().

This is due to a compiler bug introduced in v0.4.16 and fixed in v0.5.10. (see here)


Slide Screenshot

079.jpg


Slide Text

  • Storage Arrays
  • ABIEncoderV2
  • Structs or Static Arrays
  • Invalid Encode
  • External Fn/abi.encode()
  • Compiler Bug -> Fixed
  • solc 0.4.16 -> 0.5.10

References


Tags