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 property stateHistoryRetentionPeriod is not validated
during initialization, but it requires a minimum of 1 hour when updat-
ing it (on lines 439-445). This inconsistency could result in the period
being initialized to less than 1 hour, leading to an unexpected state.
Suggestion: We suggest to validate whether the property
stateHistoryRetentionPeriod is greater than 1 hour at initialization time.
This would result in removing the revert condition whether
stateHistoryRetentionPeriod is less than 1 hour in
setstateHistoryRetentionPeriod if the value can only be increased.
The text was updated successfully, but these errors were encountered:
Affected Code: LightClient.sol (line 210)
Summary: The property stateHistoryRetentionPeriod is not validated
during initialization, but it requires a minimum of 1 hour when updat-
ing it (on lines 439-445). This inconsistency could result in the period
being initialized to less than 1 hour, leading to an unexpected state.
Suggestion: We suggest to validate whether the property
stateHistoryRetentionPeriod is greater than 1 hour at initialization time.
This would result in removing the revert condition whether
stateHistoryRetentionPeriod is less than 1 hour in
setstateHistoryRetentionPeriod if the value can only be increased.
The text was updated successfully, but these errors were encountered: