Create a hardhat script that asserts the local accounts extension's storage layout against the deployed accounts extension's storage layout.
We can use openzeppelin-upgrades lib's helper functions like -
assertStorageUpgradeSafe, getStorageLayout, etc....
Current accounts extension:
- Default -
- Module-1 -
Basic structure of the script: https://github.com/InstaDApp/dsa-contracts/blob/b9a488eba6c9a876ed20aaddb35f443128f00c69/scripts/validateStorageLayout.js#L2
Create a hardhat script that asserts the local accounts extension's storage layout against the deployed accounts extension's storage layout.
We can use openzeppelin-upgrades lib's helper functions like -
assertStorageUpgradeSafe,getStorageLayout, etc....Current accounts extension:
Basic structure of the script: https://github.com/InstaDApp/dsa-contracts/blob/b9a488eba6c9a876ed20aaddb35f443128f00c69/scripts/validateStorageLayout.js#L2