Assessment reports>Omni AVS>Threat Model>Function: _setOmniChainId(uint64 chainId)

Function: _setOmniChainId(uint64 chainId)

Allows setting the Omni chain ID for the AVS.

Inputs

  • chainId

    • Validation: None.

    • Impact: The Omni chain ID.

Branches and code coverage (including function calls)

Intended branches

  • Set the omniChainId.

  • Assumed to not change / very rarely change, as it would imply the AVS is moving to a different chain.

Negative behavior

  • Should be different than block.chainid. Currently not enforced.

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

Zellic © 2025Back to top ↑