Function: estimateGasFee(OrderlyCrossChainMessage.MessageV1 data, byte[] payload)
This estimates the gas fee for a cross-chain message.
Inputs
dataControl: Fully controlled by the caller.
Constraints: None.
Impact: The gas fee is estimated.
payloadControl: Fully controlled by the caller.
Constraints: None.
Impact: The gas fee is estimated.
Branches and code coverage
Intended branches
Return the
lzEndpoint.estimateFeesresult based on the given payload andadapterParams.