-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unifies some method names with other threshold projects #183
Conversation
72c0a9c
to
a2850ca
Compare
@@ -611,7 +618,7 @@ contract TACoApplication is IApplication, ITACoChildToRoot, OwnableUpgradeable { | |||
/** | |||
* @notice Returns staking provider for specified operator | |||
*/ | |||
function stakingProviderFromOperator(address _operator) external view returns (address) { | |||
function stakingProviderToOperator(address _operator) external view returns (address) { |
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 should be operatorToStakingProvider, isn't?
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.
of course, my bad
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.
✔️
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.
Looks good - but this will have downstream effects on nucypher
agents (TACoApplicationAgent/TACoChildApplicationAgent). This PR needs a matching PR in nucypher
with the relevant updates before merging.
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 makes me happy! :D 🚀
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.
🎸
3e91320
to
06ac3e5
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.
Looks good, but will need a very small change in nucypher (not urgent)
@@ -618,16 +625,14 @@ contract TACoApplication is IApplication, ITACoChildToRoot, OwnableUpgradeable { | |||
/** | |||
* @notice Returns staking provider for specified operator | |||
*/ | |||
function stakingProviderFromOperator(address _operator) external view returns (address) { | |||
function operatorToStakingProvider(address _operator) external view returns (address) { |
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 will require changes to nucypher. Opened nucypher/nucypher#3350
Type of PR:
Required reviews:
What this does:
Unifies naming, see threshold-network/solidity-contracts#157
Breaks ABI