Skip to content

Comments

review and fix storage position definitions#272

Merged
maxnorm merged 6 commits intoPerfect-Abstractions:mainfrom
maxnorm:fix-storage-positions
Feb 21, 2026
Merged

review and fix storage position definitions#272
maxnorm merged 6 commits intoPerfect-Abstractions:mainfrom
maxnorm:fix-storage-positions

Conversation

@maxnorm
Copy link
Collaborator

@maxnorm maxnorm commented Feb 21, 2026

Summary

Update storage position and fix erc8042 storage-location comment across the codebase

Changes Made

  • fix mismatch in diamond owner storage access: erc173.owner vs compose.owner
  • remove compose. prefix for erc storage location
  • lot of wrong storage location comment on structs
  • new "Storage Postion Conventions" section in coding style

Checklist

Before submitting this PR, please ensure:

  • Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions, using for directives, or selfdestruct

  • Code follows Design Principles - Readable, uses diamond storage, favors composition over inheritance

  • Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)

  • Code is formatted with forge fmt

  • Existing tests pass - Run tests to be sure existing tests pass.

  • New tests are optional - If you don't provide tests for new functionality or changes then please create a new issue so this can be assigned to someone.

  • All tests pass - Run forge test and ensure everything works

  • Documentation updated - If applicable, update relevant documentation

Make sure to follow the contributing guidelines.

Additional Notes

@netlify
Copy link

netlify bot commented Feb 21, 2026

Deploy Preview for compose-diamonds ready!

Name Link
🔨 Latest commit cae7031
🔍 Latest deploy log https://app.netlify.com/projects/compose-diamonds/deploys/6999179adee8d0589a565dcc
😎 Deploy Preview https://deploy-preview-272--compose-diamonds.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Feb 21, 2026

Coverage Report

Coverage

Metric Coverage Details
Lines 53% 778/1466 lines
Functions 67% 201/301 functions
Branches 44% 93/211 branches

Last updated: Sat, 21 Feb 2026 02:13:08 GMT for commit cae7031

@maxnorm maxnorm merged commit 4342a05 into Perfect-Abstractions:main Feb 21, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant