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
[Revive] Fix construction of negative zero SignedGas (#10567)
Closeshttps://github.com/paritytech-secops/srlabs_findings/issues/603
This fixes an issue where a zero `SignedGas` value can be constructed
that uses the `Negative` variant. The rest of the code relies on the
invariant that zero `SignedGas` has always the `Positive` variant and
this is also documented in the code.
---------
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 2a1f0b2)
This fixes an issue where a zero `SignedGas` value can be constructed that uses the `Negative` variant. The rest of the code relies on the invariant that zero `SignedGas` has always the `Positive` variant and this is also documented in the code.
0 commit comments