-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Improve AccessManager tests #4613
Conversation
|
0b1d7b3
to
778ac91
Compare
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.
Solidity looks good.
Don't have bandwidth to review tests right now. Will take a look later (that is not a merge blocker)
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.
Everything LGTM.
Again, did no finish reviewing all the tests. The part I reviewed looks good. Contracts loog good.
I raised some comments that should be addressed in a separate PR (they are about the testing part, so don't affect the 5.0 release)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Francisco Giordano <fg@frang.io> (cherry picked from commit baf0e91)
Reaches 100% coverage in AccessManager
Every test that either makes use of the
_canCallExtended
,_canCallSelf
orcanCall
is split in two sections:PR Checklist
npx changeset add
)