Background
ERC-8042 (Diamond Storage) is a companion standard to ERC-2535 (Diamonds) that just reached Final. It formalizes the storage pattern that Diamond implementations have been using informally. Since we already have a full ERC-2535 implementation this is a natural addition.
Scope
- Review ERC-8042 spec and compare with our current
LibDiamond.sol storage layout
- Implement formal compliance with ERC-8042 if we are not already compliant
- Add ERC-165 interface detection for the new standard
- Update tests to verify compliance
- Update documentation
Might be a small diff if our current Diamond storage already follows the pattern, but worth verifying and making it explicit.
Background
ERC-8042 (Diamond Storage) is a companion standard to ERC-2535 (Diamonds) that just reached Final. It formalizes the storage pattern that Diamond implementations have been using informally. Since we already have a full ERC-2535 implementation this is a natural addition.
Scope
LibDiamond.solstorage layoutMight be a small diff if our current Diamond storage already follows the pattern, but worth verifying and making it explicit.