-
Notifications
You must be signed in to change notification settings - Fork 1.1k
relay-sproof-builder/test: Fix num of descendants #10616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Alexandru Vasile <[email protected]>
|
/cmd prdoc --audience node_dev --bump patch |
…e_dev --bump patch'
bkchr
left a comment
There was a problem hiding this 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
Signed-off-by: Alexandru Vasile <[email protected]>
into_state_root_proof_and_descendants builder Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
Signed-off-by: Alexandru Vasile <[email protected]>
|
Looks good! Can we consider #9886 fixed by this? |
No. We can use this to fix the issue. |
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)
|
Successfully created backport PR for |
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>
This PR fixes a testing off-by-one error which causes the
sproof-builderto build an extra descendant.While at it, have added a few detailed tests to double-check that the proper number of headers is produced.