urbit / bridge

An application for interacting with Azimuth.
MIT License
96 stars 25 forks source link

Cannot Go Back After Accepting Transfer #972

Closed robkorn closed 2 years ago

robkorn commented 2 years ago

Accepting L1 points (via Metamask) works properly, however after the tx has confirmed and I try to go back from the tx confirmation page, bridge just breaks, meaning to accept multiple points requires refreshing bridge after every single one is accepted, which is quite annoying/slow.

{"code":7979,"data":{}}
tomholford commented 2 years ago

image

@robkorn Thanks for flagging this issue. Which back button triggered this issue? Or was it the browser back button?

robkorn commented 2 years ago

The one above "Accept Transfer". Also on another note I never ended up seeing this "X has been accepted." screen, though I think the longest I waited was like 30 seconds after the tx confirmed in metamask.

arthyn commented 2 years ago

@tomholford I think this one is similar to #973 in that the roller was timing out. Probably need a sweep on a lot of these to handle when the roller fails or times out.

tomholford commented 2 years ago

Per #973, performance optimizations were deployed to roller and Bridge to resolve this issue.