Skip to content

fix(sor): drop swap paths exceeding buffer wrap/unwrap capacity (erc4626 maxDeposit/maxWithdraw) - #2626

Merged
franzns merged 1 commit into
balancer:v3-canaryfrom
gosuto-inzasheru:fix/sor-enforce-buffer-path-limits
Aug 12, 2026
Merged

fix(sor): drop swap paths exceeding buffer wrap/unwrap capacity (erc4626 maxDeposit/maxWithdraw)#2626
franzns merged 1 commit into
balancer:v3-canaryfrom
gosuto-inzasheru:fix/sor-enforce-buffer-path-limits

Conversation

@gosuto-inzasheru

Copy link
Copy Markdown
Collaborator

No description provided.

@changeset-bot

changeset-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 403f9cf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
backend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@johngrantuk johngrantuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like the existing maxWithdraw/Deposit filter logic is only used to filter out paths that wouldn't provide any meaningful liquidity. This PR adds a hard-enforce to reject any paths that would have previously been considered but can't actually support the size. So LGTM, thanks!

@franzns
franzns merged commit 419da2a into balancer:v3-canary Aug 12, 2026
1 check passed
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.

3 participants