Assessment reports>SP1 Helios>Threat Model>updateLightClientVkey

Function: updateLightClientVkey(byte[32] newVkey)

This function is used to update the verification key for the SP1 Helios light-client program. It is called only by the guardian of the contract.

Inputs

  • newVkey

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: The new verification key for the SP1 Helios light-client program.

Branches and code coverage

Intended branches

  • Update the light-client verification key with the new value.

Negative behavior

  • Revert if the caller is not the guardian.

Zellic © 2025Back to top ↑