blaine Profile picture
Research Engineer. Currently educating on Solidity and the EVM. @gemini
Nov 28, 2022 4 tweets 2 min read
(1/4) EVM storage 📦

Slots, bits, bytes and gas refunds…

How is storage structured and accessed in the EVM? Image (2/4)
This diagram was inspired by a blog post on the topic by @smarx

programtheblockchain.com/posts/2018/03/…
Nov 11, 2022 7 tweets 4 min read
(1/6) Proxy contracts are used all the time in @solidity_lang for many different reasons.

In this post I explain the concept of ‘storage collisions’ and how to avoid them when it comes to proxy contracts.

May your storage be collision resistant from this day forth 💥 🧼 🧽 Image (2/6) Storage collisions suck.

They’ll cause all kinds of bugs in your application. 🐜

Many libraries like @OpenZeppelin handle a lot of the internal details for you; but understanding what’s going on under the hood is great to improve your @solidity_lang skills.