Category: Code Maturity
Mismatch between CoW Swap adapter sequence diagram and implementation
Informational Severity
Informational Impact
N/A Likelihood
Description
The sequence diagram for the CoW Swap adapter pictured here↗ differs from the implementation. Quotes for token swaps should be retrieved before calling proposeTokenSwap()
, and the loop should begin at proposeTokenSwap()
, as completeRebalance
resets the status to REBALANCE_PROPOSED
.
Recommendations
Fix the sequence diagram to reflect the actual implementation flow.
Impact
The mismatch between the sequence diagram and the implementation may cause confusion for users.
Remediation
The documentation has been updated by Storm Labs to reflect the actual implementation flow.