yearn / yearn.fi

https://yearn.fi
GNU General Public License v3.0
22 stars 49 forks source link

Bug: zap on optimism not working #323

Closed saltyfacu closed 1 year ago

saltyfacu commented 1 year ago

What happened 🆘

I'm trying to zap into velodrome wusdr/usdc and the zap is not working. It says the Wido zap is not available, even when I select "portals". The warning appears 4 or 5 times.

To Reproduce 🔂

More 🔎

Majorfi commented 1 year ago

Way to solve:

karelianpie commented 1 year ago

Way to solve:

  • Add a timer for that possible > 1 or 2s before a retrigger
  • Only trigger the toast after the user stopped typing for at least 1 or 2s
  • Support this zap

Ok, so I'll set the name of the current selected zapper in the toast and debounce it so we don't trigger it every time the user types in the amount input field