Assessment reports>Trillion EVM cross chain contract>Threat Model>reserveAndIncrementNonce

Function: reserveAndIncrementNonce()

This function allows the current nonce to be incremented. It can only be called by the localTokenMessenger address, which is set by the contract owner.

Branches and code coverage

Intended branches

  • The nonce is incremented successfully.

Negative behavior

  • The caller is not the localTokenMessenger

  • The localTokenMessenger is not set.

Zellic © 2025Back to top ↑