blocash
9K posts






EVM storage is extremely inefficient. Here's what you need to know: 1. Storage slots are 32 bytes 2. But disk pages are 4096 bytes (128x) 3. When computers read from disk, they read in units of pages 4. Intuitively, you would think that storage slots 0-127 (and 128-255, 256-383, etc) all map to the same page, but that's not how it works. Instead, it is basically guaranteed that every storage slot maps to a different disk page, so reading 5 storage slots will incur 5 page reads. 5. What if we made contiguous storage slots map to the same page? Then we could reduce gas costs for subsequent slot accesses, charging a cold SLOAD/SSTORE cost for the first slot access (slot 0) and warm for subsequent ones (slots 1-127). MIP-8 does exactly this. It reprices gas accordingly, making making many previously-cold SLOADs/SSTOREs instead warm, and rearchitects the storage trie to enable this. It's a complex effort, but the @category_xyz team is expert at database design and has a solution. This is Monad's first big improvement to the EVM. Monad mainnet was intentionally an MVP -- the absolute minimum set of changes that would deliver full interface compatibility, high performance, and decentralization. Improvements like MIP-8 were intentionally held to post-mainnet - but now that mainnet is live, we can start pushing the pace with improvements.


Introducing gVaults: Staking vaults built for @Monad. For the first time ever, liquid staking users on Monad can have their own validator. gVaults offer an institutional on ramp to the liquid staking ecosystem. Here’s how it works.













