-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Remove abbreviations from parameters #1142
Remove abbreviations from parameters #1142
Conversation
contracts/AddressUtils.sol
Outdated
@@ -10,10 +10,10 @@ library AddressUtils { | |||
* Returns whether the target address is a contract | |||
* @dev This function will return false if invoked during the constructor of a contract, | |||
* as the code is not actually created until after the constructor finishes. | |||
* @param _addr address to check | |||
* @param _address address to check |
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.
This one should also be _account
IMO. Contracts are accounts too. Just not externally owned accounts.
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.
updated.
β¦in-solidity into refactor/abbreviations
contracts/access/rbac/Roles.sol
Outdated
} | ||
|
||
/** | ||
* @dev remove an address' access to this role | ||
* @dev remove an account' access to this role |
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.
Should be account's.
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.
fixed
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.
Thanks @ElOpio!
π Description
Avoid abbreviating things.
This PR renames _sig to _signature and _addr to _account
Requires #1141
npm run lint:all:fix
).