Skip to content

Conversation

@lexnv
Copy link
Contributor

@lexnv lexnv commented Dec 11, 2025

This PR fixes a testing off-by-one error which causes the sproof-builder to build an extra descendant.

While at it, have added a few detailed tests to double-check that the proper number of headers is produced.

@lexnv
Copy link
Contributor Author

lexnv commented Dec 11, 2025

/cmd prdoc --audience node_dev --bump patch

@lexnv lexnv added the A4-backport-stable2512 Pull request must be backported to the stable2512 release branch label Dec 11, 2025
Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should have added a test :D

into_state_root_proof_and_descendants builder

Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/20137791552
Failed job name: fmt

Signed-off-by: Alexandru Vasile <[email protected]>
@skunert
Copy link
Contributor

skunert commented Dec 15, 2025

Looks good! Can we consider #9886 fixed by this?

@bkchr bkchr added this pull request to the merge queue Dec 15, 2025
@bkchr
Copy link
Member

bkchr commented Dec 15, 2025

Can we consider #9886 fixed by this?

No. We can use this to fix the issue.

Merged via the queue into master with commit ec03705 Dec 15, 2025
236 of 245 checks passed
@bkchr bkchr deleted the lexnv/fix-desc branch December 15, 2025 20:45
paritytech-release-backport-bot bot pushed a commit that referenced this pull request Dec 15, 2025
This PR fixes a testing off-by-one error which causes the
`sproof-builder` to build an extra descendant.

While at it, have added a few detailed tests to double-check that the
proper number of headers is produced.

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit ec03705)
@paritytech-release-backport-bot

Successfully created backport PR for stable2512:

EgorPopelyaev pushed a commit that referenced this pull request Dec 16, 2025
Backport #10616 into `stable2512` from lexnv.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: Alexandru Vasile <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2512 Pull request must be backported to the stable2512 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants