Namespace storage for now and for a verkle EVM
summary
Defines ERC-7201 as a deterministic derivation for namespace storage and describes an implementation shipped in OpenZeppelin v5 that computes storage slots by hashing a seed, subtracting one to escape Solidity’s default grammar, then hashing again so names don’t collide with root slots. Includes a natspec convention and Hardhat/Fry tooling to extract and verify layouts, but no fully automatic on-chain check yet. Aligns derived slots to Verkle buckets by trimming the final byte to keep related slots cheap; implemented and used, but formal collision proofs remain incomplete.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 2:49Upgradeable contract challenges
- 3:52OpenZeppelin 5.0 storage namespaces
- 6:16Deriving storage namespaces safely
- 8:42Verkle trees and buckets
- 10:51Summary
related talks
24mThe Death of the __gap: Custom Storage Layouts
35mTokenized Vault Standards
18mMEVconomics for Modular Blockchain Stacks
20mSlimArchive: A Lightweight Architecture for Ethereum Archive Nodes
21mScaffold-Eth, OpenZeppelin, and EVM Optimization
27mRecursive SNARKs for Efficiency, Scalability, and Privacy
31mShared Sequencing, the Next Step toward Decentralizing Rollups
42mEngineering JavaScript for Web3
