-
Notifications
You must be signed in to change notification settings - Fork 43
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
Refactor upgradability tests #437
Refactor upgradability tests #437
Conversation
…s-to-getMergedAbi
03f57a1
to
323c8d9
Compare
…8-upgradability-test-cleanup
…8-upgradability-test-cleanup
packages/contracts/test/plugins/token/distribution/merkle-distributor.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can you confirm that the test coverage doesn't decrease and that we also cover the same unhappy paths as before?
Yes @mathewmeconry, the previous tests weren't actually doing anything useful: |
Description
Refactored upgrade tests to use hardhat-upgrades properly. It now alerts if the storage layout becomes corrupted.
To try it out, make a change to a contract and execute
yarn clean && yarn build && yarn test
to see the effects.Task ID: OS-408
Type of change
Checklist:
CHANGELOG.md
file in the root folder.DEPLOYMENT_CHECKLIST
file in the root folder.UPDATE_CHECKLIST
file in the root folder.