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
Redelegation records are garbage collected if they are not acknowledged and the time that elapsed since the record was created is greater than the unbonding period. However, if acknowledgements have stalled (e.g. behind another bug) this can lead to the redelegation record being deleted and then successfully acknowledged.
Solution:
In this event, we have enough info to recreate the redelegation record from the contents of the acknowledged message, so it does not make sense in this case to error, but rather we should recreate the record and persist it.
The text was updated successfully, but these errors were encountered:
…record was garbage collected (#1141)
* fix#1140; recreate redelegation record if long delays mean original record was garbage collected
* add test for redelegation record creation
---------
Co-authored-by: Jacob Gadikian <[email protected]>
Problem:
Redelegation records are garbage collected if they are not acknowledged and the time that elapsed since the record was created is greater than the unbonding period. However, if acknowledgements have stalled (e.g. behind another bug) this can lead to the redelegation record being deleted and then successfully acknowledged.
Solution:
In this event, we have enough info to recreate the redelegation record from the contents of the acknowledged message, so it does not make sense in this case to error, but rather we should recreate the record and persist it.
The text was updated successfully, but these errors were encountered: