Skip to content

Commit

Permalink
add onlyOwner modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
mtabasco committed Aug 28, 2023
1 parent c212e40 commit 63dfd14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/SSVNetwork.sol
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ contract SSVNetwork is
_delegate(SSVStorage.load().ssvContracts[SSVModules.SSV_DAO]);
}

function updateMaximumOperatorFee(uint64 maxFee) external override {
function updateMaximumOperatorFee(uint64 maxFee) external override onlyOwner {
_delegate(SSVStorage.load().ssvContracts[SSVModules.SSV_DAO]);
}

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/gas-usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const MAX_GAS_PER_GROUP: any = {
[GasGroup.DAO_UPDATE_OPERATOR_FEE_INCREASE_LIMIT]: 38200,
[GasGroup.DAO_UPDATE_DECLARE_OPERATOR_FEE_PERIOD]: 40900,
[GasGroup.DAO_UPDATE_EXECUTE_OPERATOR_FEE_PERIOD]: 41000,
[GasGroup.DAO_UPDATE_OPERATOR_MAX_FEE]: 38500,
[GasGroup.DAO_UPDATE_OPERATOR_MAX_FEE]: 40300,

[GasGroup.CHANGE_LIQUIDATION_THRESHOLD_PERIOD]: 41000,
[GasGroup.CHANGE_MINIMUM_COLLATERAL]: 41200,
Expand Down

0 comments on commit 63dfd14

Please sign in to comment.