Skip to content

Bulletin as parachain missing features#10662

Merged
bkchr merged 85 commits intomasterfrom
bko-bulletin-support
Dec 24, 2025
Merged

Bulletin as parachain missing features#10662
bkchr merged 85 commits intomasterfrom
bko-bulletin-support

Conversation

@bkontur
Copy link
Copy Markdown
Contributor

@bkontur bkontur commented Dec 16, 2025

Relates to: paritytech/polkadot-bulletin-chain#74

This PR adds the required support and features for running Bulletin as a parachain. It is a top-level PR that merges three partial features/PRs, which can also be reviewed/merged separately:

  1. Add transaction_index::HostFunctions with NO-OP impl to the cumulus ParachainSystem validate_block for polkadot-prepare/execute-worker - Add transaction_index::HostFunctions with NO-OP impl to the polkadot-prepare/execute-worker #10370
  2. Add custom inherent provider for pallet-transaction-storage to omni node - polkadot-omni-node-lib: enable tx storage inherent data provider setup #10494
  3. Configurable StoragePeriod feeded to the inherent provider over runtime API - [pallet-transaction-storage] Configurable RetentionPeriod #10656

bkontur and others added 30 commits November 19, 2025 16:34
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
@bkchr bkchr enabled auto-merge December 19, 2025 14:20
@paritytech-workflow-stopper
Copy link
Copy Markdown

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

@bkchr
Copy link
Copy Markdown
Member

bkchr commented Dec 19, 2025

/cmd fmt

@bkchr bkchr added this pull request to the merge queue Dec 24, 2025
Merged via the queue into master with commit b2bcb74 Dec 24, 2025
239 of 245 checks passed
@bkchr bkchr deleted the bko-bulletin-support branch December 24, 2025 09:46
sigurpol pushed a commit that referenced this pull request Dec 29, 2025
Relates to:
paritytech/polkadot-bulletin-chain#74

This PR adds the required support and features for running Bulletin as a
parachain. It is a top-level PR that merges three partial features/PRs,
which can also be reviewed/merged separately:

1. Add `transaction_index::HostFunctions` with NO-OP impl to the cumulus
ParachainSystem `validate_block` for polkadot-prepare/execute-worker -
#10370
2. Add custom inherent provider for pallet-transaction-storage to omni
node - #10494
3. Configurable StoragePeriod feeded to the inherent provider over
runtime API - #10656

---------

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
Co-authored-by: EgorPopelyaev <egor@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Bastian Köcher <info@kchr.de>
bkontur added a commit to raymondkfcheung/polkadot-bulletin-chain that referenced this pull request Dec 29, 2025
bkontur added a commit to paritytech/polkadot-bulletin-chain that referenced this pull request Dec 30, 2025
* Align `StoragePeriod` between Bulletin and SDK

* Sync mock

* Remove StoragePeriod

* Use default

* Update integrity_test

* Revert "Update integrity_test"

This reverts commit 0a49461.

* Revert "Use default"

This reverts commit 91536d4.

* Update integrity_test

* Fix clippy

* Sync with SDK

* Update TODO

* Update errors

* Fix fmt

* Reflect pallet changes from paritytech/polkadot-sdk#10662

* Remove unused constants

* Setup single vs mbm migrations

* Add migration `SetRetentionPeriodIfZero` to ensure RetentionPeriod is non-zero for live solochain

* Add post-upgrade check

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
bkontur added a commit to paritytech/polkadot-bulletin-chain that referenced this pull request Dec 30, 2025
* Align `StoragePeriod` between Bulletin and SDK

* Sync mock

* Remove StoragePeriod

* Use default

* Update integrity_test

* Revert "Update integrity_test"

This reverts commit 0a49461.

* Revert "Use default"

This reverts commit 91536d4.

* Update integrity_test

* Fix clippy

* Sync with SDK

* Update TODO

* Sync with SDK

* Revert "Sync with SDK"

This reverts commit dbc73ad.

* Update errors

* Update errors

* Fix fmt

* Fix fmt

* Sync with SDK

* Remove EmptyTransaction

* Fix clippy

* Fix clippy

* Reflect pallet changes from paritytech/polkadot-sdk#10662

* Remove unused constants

* Setup single vs mbm migrations

* Add migration `SetRetentionPeriodIfZero` to ensure RetentionPeriod is non-zero for live solochain

* Add post-upgrade check

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
sigurpol pushed a commit that referenced this pull request Dec 30, 2025
Relates to:
paritytech/polkadot-bulletin-chain#74

This PR adds the required support and features for running Bulletin as a
parachain. It is a top-level PR that merges three partial features/PRs,
which can also be reviewed/merged separately:

1. Add `transaction_index::HostFunctions` with NO-OP impl to the cumulus
ParachainSystem `validate_block` for polkadot-prepare/execute-worker -
#10370
2. Add custom inherent provider for pallet-transaction-storage to omni
node - #10494
3. Configurable StoragePeriod feeded to the inherent provider over
runtime API - #10656

---------

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Iulian Barbu <iulian.barbu@parity.io>
Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
Co-authored-by: EgorPopelyaev <egor@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Bastian Köcher <info@kchr.de>
@bkontur bkontur added the A4-backport-stable2512 Pull request must be backported to the stable2512 release branch label Mar 23, 2026
@paritytech-release-backport-bot
Copy link
Copy Markdown

Created backport PR for stable2512:

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-10662-to-stable2512
git worktree add --checkout .worktree/backport-10662-to-stable2512 backport-10662-to-stable2512
cd .worktree/backport-10662-to-stable2512
git reset --hard HEAD^
git cherry-pick -x b2bcb74b13f1a1e082f701e3e05ce1be44d16790
git push --force-with-lease

EgorPopelyaev added a commit that referenced this pull request Mar 24, 2026
Partial backport of #10662 to stable2512, adding transaction_index::HostFunctions and TransactionStorageApi::retention_period.
EgorPopelyaev added a commit that referenced this pull request Mar 24, 2026
Backport #10662 into `stable2512` from bkontur.

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: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Egor_P <egor@parity.io>
arturgontijo pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Apr 1, 2026
Backport paritytech#10662 into `stable2512` from bkontur.

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: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Egor_P <egor@parity.io>
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 T0-node This PR/Issue is related to the topic “node”. T1-FRAME This PR/Issue is related to core FRAME, the framework.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants