Function: forceResumeReceive(uint16 _srcChainId, bytes _srcAddress)
This allows anyone to call this function to delete stored payload to force resume cross-chain messaging communication.
Inputs
_srcChainId
Control: Full control by the caller.
Constraints: There are no constraints.
Impact: The
storedPayload
associated with this_srcChainId
and_srcAddress
will be deleted from the lzEndpoint contract.
_srcAddress
Control: Full control by the caller.
Constraints: There are no constraints.
Impact: The
storedPayload
associated with this_srcChainId
and_srcAddress
will be deleted from the lzEndpoint contract.
Branches and code coverage
No tests have been implemented for this function.
Function call analysis
ILayerZeroEndpoint(this.lzEndpointAddress).forceResumeReceive(_srcChainId, _srcAddress)
What is controllable?
_srcChainId
and_srcAddress
are controlled by the caller.If the return value is controllable, how is it used and how can it go wrong? There is no return value.
What happens if it reverts, reenters or does other unusual control flow? The function will revert if there is not stored payload for
_srcAddress
and_srcChainId
in the lzEndpoint contract.