-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Description
Transactions on blockchain can be removed due to chain reorganization.
When the vote transaction is executed in a block, the DApp update the vote count in the UI.
However, if the chain reorganization happens and the transaction got removed from history, but the vote count is not reverted.
Reproduce Steps
One reproduce example is given below.
- submit a vote by sending a transaction
- mine a block and execute the transaction
- at this time, the DApp has updated the vote count
- chain reorganization happens, where the previous transaction is removed from history
- the vote count is not reverted as transaction does.
Expected Behaviour
The transaction removed by chain reorganization should reflected to the UI, and the vote count should also be reverted.
Metadata
Metadata
Assignees
Labels
No labels