Assessment reports>Pyth Network>Threat Models>execute_governance_instruction()

Function: execute_governance_instruction()

Used to execute new governance instructions.

Inputs

  • vaa

    • Validation: Checked to be a valid Wormhole message. Checked to be from an authorized governance source and chain. Checked to ensure that the governance action is valid. Checked to ensure the data source has supplied the necessary fee.

    • Impact: The price feed specified in the VAA is updated, with the new price set to the value in the VAA.

Branches and code coverage (including function calls)

Intended branches

Negative behaviour

Zellic © 2024Back to top ↑