balancer / balancer-v3-monorepo

GNU General Public License v3.0
38 stars 10 forks source link

Difference between query and swap amounts for ERC4626 buffers #777

Closed joaobrunoah closed 1 month ago

joaobrunoah commented 2 months ago

SEPOLIA - Block Number 6288761

When trying to swap wUSDC for wDAI on Sepolia, the following difference between query and actual operation occurs: (Buffers initialized with 100 tokens each).

It's out of buffer range, so this difference was a bit expected. However, for an operation within buffer range (50 tokens in/out) the same error was caught: