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
This logic was correct before #3553 , because the data was not needed, however after the economic batch unlock the channel data has to be preserved until both locksroots are unlocked.
Motivation
Because of that logic, when there are two unlocks to be done one of the nodes will always clear on the first unlock and the second will hit the following assert:
Abstract
Currently the channel is cleared once the partner locksroot is unlocked:
raiden/raiden/transfer/channel.py
Lines 1792 to 1806 in 1ee26cd
This logic was correct before #3553 , because the data was not needed, however after the economic batch unlock the channel data has to be preserved until both locksroots are unlocked.
Motivation
Because of that logic, when there are two unlocks to be done one of the nodes will always clear on the first unlock and the second will hit the following assert:
raiden/raiden/blockchain_events_handler.py
Lines 406 to 410 in 1ee26cd
Specification
The channel should be cleared only after all unlocks are done.
Backwards Compatibility
This will change the state representation, so a migration is needed to update the channel's state.
The text was updated successfully, but these errors were encountered: