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
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.
The text was updated successfully, but these errors were encountered:
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.
Expected Behaviour
The transaction removed by chain reorganization should reflected to the UI, and the vote count should also be reverted.
The text was updated successfully, but these errors were encountered: