Skip to content

chore: add OZ-standard storage gap to SavingCircles#149

Open
Tranquil-Flow wants to merge 1 commit into
devfrom
chore/storage-gap-upgrade-safety
Open

chore: add OZ-standard storage gap to SavingCircles#149
Tranquil-Flow wants to merge 1 commit into
devfrom
chore/storage-gap-upgrade-safety

Conversation

@Tranquil-Flow
Copy link
Copy Markdown

Summary

Closes #129

Adds uint256[50] private __gap following the OpenZeppelin upgradeable contract convention. This reserves 50 storage slots so future implementation versions can add state variables without breaking deployed storage layout.

Changes

  • SavingCircles.sol: added uint256[50] private __gap at the end of the contract

Test plan

  • forge test passes (140 tests)
  • forge inspect SavingCircles storage-layout shows __gap at expected slot offset

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.

Improve upgrade safety and deployment guardrail workflows

1 participant