Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 746 Bytes

Storage array with signed Integers with ABIEncoderV2.md

File metadata and controls

20 lines (19 loc) · 746 Bytes

Assigning an array of signed integers to a storage array of different type can lead to data corruption in that array. This is due to a compiler bug introduced in v0.4.7 and fixed in v0.5.10. (see here)


Slide Screenshot

077.jpg


Slide Text

  • Storage Array
  • Signed Integers
  • ABIEncoderV2
  • Type[] int[]
  • Assignment -> Data Corruption
  • Compiler Bug -> Fixed
  • solc 0.4.7 -> 0.5.10

References


Tags