-
Notifications
You must be signed in to change notification settings - Fork 3
Can't catch when a speed up transaction is confirmed #626
Comments
[Updating progress] The root cause is that BTP Dashboard didn't catch an event when user speeds up their transaction from Metamask Solutions:
|
This issue also exists for Hana wallet, so please look into it for that as well. |
Also, I would like to know how other bridges get around this issue. Harmony has their own bridge, see https://bridge.harmony.one. |
…oard into feat/#626-catch-replacement-tx
Hi @CyrusVorwald-ICON, can I have a video recording of this issue on Hana? I'd like to see steps to reproduce to notice about the problem clearly, thank you. |
* feat: check replacement tx * perf: reduce query token balance * fix: wrong data * feat: handle failed tx * feat: handle error message * feat: handle general error * chore: add author * chore: remove log * chore: fix lint * feat: increase icon step limit * fix: revert .env file Co-authored-by: Duy Phan <duyphan@orgos.net>
Hi @CyrusVorwald-ICON, I'm now using a solution from this package (https://www.npmjs.com/package/find-replacement-tx/v/1.2.2) to solve this problem. The testing video includes 2 parts (1. Cancel a tx, 2. Speedup a tx) here: https://drive.google.com/file/d/1RNBag7_UCXEckfMXsdRLW9BcnKbHplxS/view
I'll need to take a deep look into their public repo here: https://github.com/harmony-one/ethhmy-bridge.frontend/tree/master/src to see how they handled this case. This action might take time, so I'll prioritize solving bug tasks first. But if you wanna prioritize this research, just me know. |
I'll close this issue, we can open a new issue for Hana with more details if necessary |
2022_06_27_101108.mp4
Step to reproduce: speed up a transaction from Metamask
ref: web3/web3.js#3585
CHECKLIST:
The text was updated successfully, but these errors were encountered: