Skip to content

Setup permissionless lanes for AssetHubs - added OnNewHead to pallet-bridge-parachains#8325

Open
bkontur wants to merge 13 commits intobko-permlanes-on-ahs-1-heads-storefrom
bko-permlanes-on-ahs-2-on-new-head
Open

Setup permissionless lanes for AssetHubs - added OnNewHead to pallet-bridge-parachains#8325
bkontur wants to merge 13 commits intobko-permlanes-on-ahs-1-heads-storefrom
bko-permlanes-on-ahs-2-on-new-head

Conversation

@bkontur
Copy link
Copy Markdown
Contributor

@bkontur bkontur commented Apr 24, 2025

(Already merged to the master as #8531)

Relates to: #8326
Relates to: #6675

This PR introduces a new OnNewHead hook for pallet-bridge-parachains, which is triggered when a new parachain head is relayed.

It is used in conjunction with the syncing mechanism, which sends relayed AssetHubRococo headers with state_roots to AssetHubWestend for message proof verification.

High-Level Context Diagram

image

@bkontur bkontur added the T15-bridges This PR/Issue is related to bridges. label Apr 24, 2025
@bkontur bkontur moved this to In Progress in @bkontur's board Apr 24, 2025
@bkontur
Copy link
Copy Markdown
Contributor Author

bkontur commented Apr 24, 2025

/cmd fmt

@bkontur bkontur marked this pull request as ready for review April 29, 2025 10:55
@paritytech-review-bot paritytech-review-bot bot requested a review from a team April 29, 2025 10:57
bkontur added a commit that referenced this pull request May 1, 2025
#8326
#8325

Add proof root sync (`pallet-bridge-proof-root-sync`) as an ring buffer with on_idle callback
Add `OnNewHead` to `pallet-bridge-parachains`
@bkontur bkontur moved this to In-Review in Bridges + XCM May 5, 2025
bkontur added a commit that referenced this pull request May 7, 2025
#8326
#8325

Add proof root sync (`pallet-bridge-proof-root-sync`) as an ring buffer with on_idle callback
Add `OnNewHead` to `pallet-bridge-parachains`
bkontur added a commit that referenced this pull request May 9, 2025
#8326
#8325

Add proof root sync (`pallet-bridge-proof-root-sync`) as an ring buffer with on_idle callback
Add `OnNewHead` to `pallet-bridge-parachains`
github-merge-queue bot pushed a commit that referenced this pull request May 14, 2025
Relates to: #8326
Relates to: #6675

(Extracted from #8325)

This PR introduces a new `OnNewHead` hook for
`pallet-bridge-parachains`, which is triggered when a new parachain head
is relayed.

It will be used in conjunction with the [syncing
mechanism](#8326), which
sends relayed AssetHubRococo headers with `state_root`s to
AssetHubWestend for message proof verification.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@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/16429703985
Failed job name: build-subkey

bkontur added a commit to bkontur/polkadot-sdk that referenced this pull request Jul 24, 2025
paritytech#8326
paritytech#8325

Add proof root sync (`pallet-bridge-proof-root-sync`) as an ring buffer with on_idle callback
Add `OnNewHead` to `pallet-bridge-parachains`
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
Relates to: #8326
Relates to: #6675

(Extracted from #8325)

This PR introduces a new `OnNewHead` hook for
`pallet-bridge-parachains`, which is triggered when a new parachain head
is relayed.

It will be used in conjunction with the [syncing
mechanism](#8326), which
sends relayed AssetHubRococo headers with `state_root`s to
AssetHubWestend for message proof verification.

---------

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

T15-bridges This PR/Issue is related to bridges.

Projects

Status: In Progress
Status: In-Review
Status: Backlog

Development

Successfully merging this pull request may close these issues.

5 participants