Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 311 Bytes

File metadata and controls

5 lines (3 loc) · 311 Bytes

Did you just assume my storage location?

Showcases the perils of storage location. An array is by default assumed to be in storage. And may overwrite an existing variable.

Also look at this article on our blog: Storage Pointers in Solidity