frame-system: Ensure that BlockNumber is strictly increasing#10180
Merged
frame-system: Ensure that BlockNumber is strictly increasing#10180
BlockNumber is strictly increasing#10180Conversation
Otherwise a block should fail to build/import.
Member
Author
|
/cmd prdoc --audience runtime_dev --bump patch |
…time_dev --bump patch'
sandreim
approved these changes
Oct 31, 2025
bkontur
approved these changes
Oct 31, 2025
nkpar
approved these changes
Oct 31, 2025
skunert
approved these changes
Nov 5, 2025
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
Member
Author
|
/cmd fmt |
xermicus
approved these changes
Nov 6, 2025
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10180-to-stable2506
git worktree add --checkout .worktree/backport-10180-to-stable2506 backport-10180-to-stable2506
cd .worktree/backport-10180-to-stable2506
git reset --hard HEAD^
git cherry-pick -x 12f9d5987303545220466c62fa5e0621abc72025
git push --force-with-lease |
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10180-to-stable2509
git worktree add --checkout .worktree/backport-10180-to-stable2509 backport-10180-to-stable2509
cd .worktree/backport-10180-to-stable2509
git reset --hard HEAD^
git cherry-pick -x 12f9d5987303545220466c62fa5e0621abc72025
git push --force-with-lease |
bkchr
added a commit
that referenced
this pull request
Nov 6, 2025
Otherwise a block should fail to build/import. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
|
team member reported this haven't investigated yet, just letting you know as this seems related to these changes |
Member
Author
|
I will take a look. Ty for posting. |
Contributor
|
@bkchr |
marian-radu
pushed a commit
that referenced
this pull request
Nov 6, 2025
Otherwise a block should fail to build/import. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bkchr
added a commit
that referenced
this pull request
Nov 6, 2025
When calling `offchain-worker` we were initializing the entire `System` again with the same block we are running on top of. However, with [the change to require strictly increasing block numbers](#10180) the offchain-worker was failing. This is now solved by just registering the missing digests. The rest of the changes done by `initialize` are not important for offchain workers. The pull request ensures that we are actually testing this behavior of the offchain worker now.
Member
Author
|
Fixed here: #10235 |
EgorPopelyaev
added a commit
that referenced
this pull request
Nov 10, 2025
Backport #10180 into `stable2506` from bkchr. 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} --> --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: Egor_P <egor@parity.io>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 10, 2025
When calling `offchain-worker` we were initializing the entire `System` again with the same block we are running on top of. However, with [the change to require strictly increasing block numbers](#10180) the offchain-worker was failing. This is now solved by just registering the missing digests. The rest of the changes done by `initialize` are not important for offchain workers. The pull request ensures that we are actually testing this behavior of the offchain worker now. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
paritytech-release-backport-bot bot
pushed a commit
that referenced
this pull request
Nov 10, 2025
When calling `offchain-worker` we were initializing the entire `System` again with the same block we are running on top of. However, with [the change to require strictly increasing block numbers](#10180) the offchain-worker was failing. This is now solved by just registering the missing digests. The rest of the changes done by `initialize` are not important for offchain workers. The pull request ensures that we are actually testing this behavior of the offchain worker now. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 405e0bd)
paritytech-release-backport-bot bot
pushed a commit
that referenced
this pull request
Nov 10, 2025
When calling `offchain-worker` we were initializing the entire `System` again with the same block we are running on top of. However, with [the change to require strictly increasing block numbers](#10180) the offchain-worker was failing. This is now solved by just registering the missing digests. The rest of the changes done by `initialize` are not important for offchain workers. The pull request ensures that we are actually testing this behavior of the offchain worker now. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 405e0bd)
bkchr
added a commit
that referenced
this pull request
Nov 11, 2025
Backport #10180 into `stable2509` from bkchr. 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} --> --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <info@kchr.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Otherwise a block should fail to build/import.