Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Update aggregate message origin #38

Merged
merged 11 commits into from
Nov 28, 2023

Conversation

claravanstaden
Copy link
Collaborator

@claravanstaden claravanstaden commented Nov 24, 2023

Snowbridge companion: Snowfork/snowbridge#1024

Comment on lines 44 to 47
use bridge_hub_common::{
message_queue::{NarrowOriginToSibling, ParaIdToSibling},
AggregateMessageOrigin,
};
Copy link

Choose a reason for hiding this comment

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

Are we gonna merge our changes to all bridge-hub runtimes including Kusama and Polkadot, or just focus on the Rococo runtime?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmmm that's a good point. All our other config changes are just on the Rococo runtime, so let me revert the Kusama, Westend and Polkadot changes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I get compiler errors if I don't update all the runtimes. I think its because it all the bridge hub runtime use bridge_hub_common for NarrowOriginToSibling and ParaIdToSibling, and then AggregateMessageOrigin needs to be consistent (can't mix using AggregateMessageOrigin in bridge_hub_common and then the runtime uses the AggregateMessageOrigin in the cumulus primitives.

@claravanstaden claravanstaden force-pushed the update-aggregate-message-origin branch from e26d6fa to a94b564 Compare November 24, 2023 20:09
@@ -226,33 +226,23 @@ fn register_token() {

#[test]
fn send_token_to_penpal() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This test fails, not sure why yet.

Copy link

Choose a reason for hiding this comment

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

Fixed in b8bc017

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Awesome, thanks @yrong!

@claravanstaden claravanstaden marked this pull request as ready for review November 25, 2023 20:11
@claravanstaden claravanstaden force-pushed the update-aggregate-message-origin branch from b8bc017 to 58f5dd9 Compare November 28, 2023 07:26
@claravanstaden claravanstaden merged commit 91d6e27 into snowbridge Nov 28, 2023
4 of 8 checks passed
@claravanstaden claravanstaden deleted the update-aggregate-message-origin branch November 28, 2023 08:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants