aeternity / aepp-bridge

https://ae-bridge.com
ISC License
0 stars 2 forks source link

Middleware call breaks UI #28

Closed nikita-fuchs closed 3 months ago

nikita-fuchs commented 3 months ago

Hey @yusufseyrek , there is one issue with the way the middleware API is used.

When I'm trying to do a transfer with a fresh account which hasn't done bridgings yet, your code throws this error:

image

I assume that this happens, because for this particular account there is no information yet about the performed calls you are querying for, returning a very non-informative error:

https://mainnet.aeternity.io/mdw/v3/transactions?account=ak_dXjmzfVey5nwqRjJ1c7EPDHfjpNBHDPrYN7fAWVui8zzBy86w&contract_id=$ct_2Xdym95f2i998W9Zoh1NgAB7pVuQ34ztEsema7u4XwSoq5VKUJ&entrypoint=bridge_out

I don't have the account at hand right now that previously bridged things successfully here, could you recreate with your account(s) you've tested before and try a fresh AE account also ?