balancer / b-sdk

MIT License
22 stars 9 forks source link

Add Liquidity Nested is not working for Weighted pools #402

Open brunoguerios opened 2 months ago

brunoguerios commented 2 months ago

From Gareth:

Try and add liquidity to this pool: https://balancer.fi/pools/gnosis/v2/0x66888e4f35063ad8bb11506a6fde5024fb4f1db0000100000000000000000053/add-liquidity, it doesn't work. If I add high level pool tokens, it works.

brunoguerios commented 2 months ago

Seems like the FE hardcoded wethIsEth=false and this is causing adding liquidity with native assets to fail. I pinged @garethfuller and will wait for a response. Ps: if that's the case, the issue is not related to Weighted pools