Function: updateMptHash(uint16 _sourceChainId, bytes32 _blockHash, bytes32 _receiptHash, address _userApplication)

Used for submitting oracle proofs using the MPT verifiers.

Inputs

  • _sourceChainId

    • Control: Fully controlled by caller.

    • Constraints: N/A.

    • Impact: Sent to LZ as the source.

  • _blockHash

    • Control: Fully controlled by caller.

    • Constraints: N/A. Assumed to be verified against _receiptHash by the calling function.

    • Impact: Block hash to be delivered.

  • _receiptHash

    • Control: Fully controlled by caller.

    • Constraints: Verified with blockUpdater.

    • Impact: Receipt for the block hash.

  • _userApplication

    • Control: Fully controlled by caller.

    • Constraints: Must have a valid receiver library.

    • Impact: Used to get ultra light node.

Zellic © 2025Back to top ↑