Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert accounts extension storage layout #45

Open
thrilok209 opened this issue Jul 20, 2021 · 0 comments
Open

Assert accounts extension storage layout #45

thrilok209 opened this issue Jul 20, 2021 · 0 comments

Comments

@thrilok209
Copy link
Member

thrilok209 commented Jul 20, 2021

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:

  1. Default -
  2. Module-1 -

Basic structure of the script: https://github.com/InstaDApp/dsa-contracts/blob/b9a488eba6c9a876ed20aaddb35f443128f00c69/scripts/validateStorageLayout.js#L2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant