subquery / network-app

dApp for Node Operators, consumers and delegators interact with SubQuery Network
https://app.subquery.network
GNU General Public License v3.0
14 stars 8 forks source link

Add check on Bridge page for already token approval #676

Closed mogithehurt closed 6 months ago

mogithehurt commented 6 months ago

when we do eth to base bridge txn 1. token approval txn 2. if we cancel 2 nd txn it redirect to again 1st txn (this is not required because we already approved it only hurts for gas) if you can hardcode gas limit for 2nd txn please hardcode it to 200000 or 250000

HuberTRoy commented 6 months ago

Thanks for your feedback~.

I have added the check for token approval.

The wallet supplied custom gas price & gas limit feature. I'm not sure if necessary to hardcode it, keep the status quo.