You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Continuously submitting multiple withdrawal requests.
2.Unprocessed withdrawal requests (e.g. failed over withdrawal) will remain in the history record.
The text was updated successfully, but these errors were encountered:
Dawn-githup
changed the title
The failed withdrawal transaction will remain in the history record.
The failed withdrawal transaction will remain in the history record
Apr 18, 2023
I submitted 2 withdrawal requests which contained a over withdrawal.
A few seconds later, the over withdrawal disappeared.
But when I refreshed the page or switched between Pending and Completed tabs, the over withdrawal came back.
What is a over withdrawal?
Let's say a user only has 1000 CKB on layer-2, and he requests a 800 CKB withdrawal, and then immediately request another 600 CKB withdrawal. Then we say that 600 CKB withdrawal is an over withdrawal.
Simple workaround
Because the WithdrawalWithStatus from Godwoken RPC only has 2 status: pending | committed, it is not convinient to reveal the status of a failed withdrawal. So, I provide a simple solution:
Steps to reproduce the behavior:
1.Continuously submitting multiple withdrawal requests.
2.Unprocessed withdrawal requests (e.g. failed over withdrawal) will remain in the history record.
Transaction hash: 0x81dd4415e37eee1d7581f1f5e9c18e9a388a9606d8984715cb10d6bcca3a7ad5
The text was updated successfully, but these errors were encountered: