-
Notifications
You must be signed in to change notification settings - Fork 7
NAY4-3 Update _isSelfOnboardingApproved to take role as a bytes32 instead of string #140
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
Conversation
… string & update tests
|
We should stick with the existing naming convention, no need for |
Got it, I've made the change |
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.
Both _isSelfOnboardingApproved and _approveSelfOnboarding should be changed to accept the bytes32 roleId, together with the corresponding method in the facet. Original report was about the _isSelfOnboardingApproved only, but we should keep things consistent across the board.
…g role and update tests
|
made the updates and the tests are all fixed aswell |
amarinkovic
left a comment
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.
Thank you!
Only the check
_isSelfOnboardingApprovedis updated to usebytes32for the_roleparameter, other functions such as_approveSelfOnboardingstill takestring.