Category: Business Logic
Idempotency checks are not performed
Informational Severity
Informational Impact
N/A Likelihood
Description
Note that idempotency checks do not exist on-chain.
Impact
Lack of an idempotency check allows for reverification of the same packet on chain.
Recommendations
We recommend performing the idempotency check as per the official LayerZero DVN documentation↗ (point 5).
Remediation
The Polyhedra team has acknowledged this finding and provided the following clarification as response:
We perform the idempotency check off-chain before calling the verify function to ensure that the validation has not been submitted to LayerZero yet.