Skip to content

Commit

Permalink
IApplicationWithOperator: removes optional registerOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
vzotova committed Nov 20, 2023
1 parent 8195279 commit 4450472
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/staking/IApplicationWithOperator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,4 @@ interface IApplicationWithOperator is IApplication {
/// if function reverts if there is a pending authorization decrease for
/// the staking provider.
function registerOperator(address operator) external;

Check warning on line 42 in contracts/staking/IApplicationWithOperator.sol

View workflow job for this annotation

GitHub Actions / code-lint-and-format

Function order is incorrect, external function can not go after external view function (line 29)

// TODO consider that?
// /// @notice Used by additional role (owner for example) to set operator address that will
// /// operate a node for the specified staking provider.
// function registerOperator(address stakingProvider, address operator) external;
}

0 comments on commit 4450472

Please sign in to comment.