Skip to content

Conversation

@paritytech-release-backport-bot

Backport #10567 into unstable2507 from TorstenStueber.

See the documentation on how to use this bot.

Closes https://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)
@github-actions github-actions bot added the A3-backport Pull request is already reviewed well in another branch. label Dec 10, 2025
@EgorPopelyaev EgorPopelyaev merged commit e533cb0 into unstable2507 Dec 10, 2025
241 of 245 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-10567-to-unstable2507 branch December 10, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants