-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
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 -
- Code: https://github.com/Instadapp/dsa-contracts/tree/master/contracts/v2/accounts/default
- Deployed mainnet address: 0x28aDcDC02Ca7B3EDf11924102726066AA0fA7010
- Module-1 -
- Code: https://github.com/Instadapp/dsa-contracts/tree/master/contracts/v2/accounts/module1
- Deployed mainnet address: 0x8a3462A50e1a9Fe8c9e7d9023CAcbD9a98D90021
Basic structure of the script: https://github.com/InstaDApp/dsa-contracts/blob/b9a488eba6c9a876ed20aaddb35f443128f00c69/scripts/validateStorageLayout.js#L2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels