diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs b/bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs index e74a91cc517f..293e532bd778 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs +++ b/bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs @@ -309,7 +309,7 @@ pub mod pallet { // Create merkle root of messages let root = merkle_root::<::Hashing, _>(MessageLeaves::::stream_iter()); - let digest_item: DigestItem = CustomDigestItem::Snowbridge(root).into(); + let digest_item: DigestItem = CustomDigestItem::SnowbridgeV2(root).into(); // Insert merkle root into the header digest >::deposit_log(digest_item); diff --git a/cumulus/parachains/runtimes/bridge-hubs/common/src/digest_item.rs b/cumulus/parachains/runtimes/bridge-hubs/common/src/digest_item.rs index bdfcaedbe82d..5823b15b8d55 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/common/src/digest_item.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/common/src/digest_item.rs @@ -24,6 +24,9 @@ pub enum CustomDigestItem { #[codec(index = 0)] /// Merkle root of outbound Snowbridge messages. Snowbridge(H256), + #[codec(index = 1)] + /// Merkle root of outbound Snowbridge V2 messages. + SnowbridgeV2(H256), } /// Convert custom application digest item into a concrete digest item