Skip to content

Conversation

Copy link

codecov bot commented May 28, 2025

Codecov Report

Attention: Patch coverage is 58.33333% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Router.sol 45.45% 6 Missing ⚠️
src/Intent.sol 0.00% 2 Missing ⚠️
src/swapModules/SwapAlgebra.sol 81.81% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@lumtis lumtis marked this pull request as ready for review May 29, 2025 11:03
@lumtis lumtis requested a review from s2imonovic May 29, 2025 11:05
Copy link
Collaborator

@s2imonovic s2imonovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

maybe I would use forceApprove() from SafeERC20 instead of doing 0 approval and then real approval.

also, consider separating different logical units in swap() from the SwapAlgebra module into smaller internal functions

@lumtis lumtis merged commit 9da7ddc into main May 30, 2025
1 of 2 checks passed
@lumtis lumtis deleted the audit-checkup branch July 4, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants