Function: _lzReceive(Origin calldata _origin, bytes32 _guid, bytes calldata payload, address _executor, bytes calldata _extraData
This function is part of the process of receiving a message from another chain. The main verification logic is performed in the lzReceive
function, which triggers this internal function to decode the received payload and saved message. All parameters except payload
are ignored.
Inputs
payload
Control: Full control.
Constraints: The
payload.length
should be more than 32.Impact: Contains the length of the message and message itself.
Branches and code coverage
Intended branches
data
is updated successfully by the new message.
Negative behavior
payload.length
is less than 32.