Assessment reports>Omni AVS>Threat Model>Function: _setMaxOperatorCount(uint32 count)

Function: _setMaxOperatorCount(uint32 count)

Allows setting the maximum operator count for the AVS.

Inputs

  • count

    • Validation: None.

    • Impact: Sets the maximum operator count for the AVS.

Branches and code coverage (including function calls)

Intended branches

  • Set the maximum operator count for the AVS.

Negative behavior

  • Should not allow setting the max operator to a value smaller than the current number of operators. Currently not enforced.

  • Should not be callable by anyone (ensured through the onlyOwner modifier in the function definition).

Zellic © 2025Back to top ↑