Assessment reports>Polyhedra DVN>Threat Model>assignJob

Function: assignJob(AssignJobParam _param, bytes)

Called by the send library to notify the oracle of a new job. Shortcuts if the source and destination chains are the same to call verify.

Only callable by enabled messaging libraries.

Inputs

  • _param

    • Control: Full.

    • Constraints: The _param.dstEid must be an enabled destination chain.

    • Impact: Contains the details of the packet to notify the oracle about.

Branches and code coverage

Intended branches

  • Successfully notifies oracle of job.

  • Shortcuts when the destination chain is the same as the source chain EIDs.

Negative behavior

  • Unsupported destination chain.

  • Unsupported send library.

Zellic © 2025Back to top ↑