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 is mostly FYI, since the intended revert reason is effectively replaced with a non-intended revert reason.
In function ProtocolLib.updateDAO:
if ((sp.daoValidatorCount += deltaValidatorCount) > type(uint32).max) {
revert ISSVNetworkCore.MaxValueExceeded();
}
Since both operands of the += operation are of type uint32, their sum being larger than type(uint32).max will lead this operation to revert on overflow.
Hence the condition in context will never be met, and the intended revert reason will never be emitted.
The text was updated successfully, but these errors were encountered:
This is mostly FYI, since the intended revert reason is effectively replaced with a non-intended revert reason.
In function
ProtocolLib.updateDAO
:Since both operands of the
+=
operation are of typeuint32
, their sum being larger thantype(uint32).max
will lead this operation to revert on overflow.Hence the condition in context will never be met, and the intended revert reason will never be emitted.
The text was updated successfully, but these errors were encountered: