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