Skip to content

Commit

Permalink
🚑️ Add storage gap to SmartAccount contract
Browse files Browse the repository at this point in the history
Add __gap array to reserve slots for
future upgrades, ensuring compatibility
and preventing storage clashes.
  • Loading branch information
qd-qd committed Apr 15, 2024
1 parent 0ffa52a commit 301fbb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v1/Account/SmartAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ contract SmartAccount is Initializable, UUPSUpgradeable, BaseAccount, SmartAccou

address internal factoryAddress;
uint96 internal creationFlowFuse;
uint256[50] internal __gap;

// ======================================
// =========== EVENTS/ERRORS ============
Expand Down

0 comments on commit 301fbb9

Please sign in to comment.