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
Summary: The function setstateHistoryRetentionPeriod wrongly when
reducing the retention period, which can lock in a large value if set
by mistake.
Suggestion: Instead of reverting when the retention period decreases,
updateStateHistory could be called with the last finalized state to delete
the newly outdated states.
Comments: This was intentional for this version of the escape hatch but will address later.
The text was updated successfully, but these errors were encountered:
Affected Code: LightClient.sol (line 441)
Summary: The function setstateHistoryRetentionPeriod wrongly when
reducing the retention period, which can lock in a large value if set
by mistake.
Suggestion: Instead of reverting when the retention period decreases,
updateStateHistory could be called with the last finalized state to delete
the newly outdated states.
Comments: This was intentional for this version of the escape hatch but will address later.
The text was updated successfully, but these errors were encountered: