From c9f98b41afb61a7c4b6e8945dfe884010a1a3205 Mon Sep 17 00:00:00 2001 From: Ron Date: Thu, 21 Dec 2023 12:40:53 +0800 Subject: [PATCH] CustomDigestItem index (#84) --- .../parachains/runtimes/bridge-hubs/common/src/digest_item.rs | 1 + 1 file changed, 1 insertion(+) 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 3c39d4f5b9dbe..bdfcaedbe82da 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/common/src/digest_item.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/common/src/digest_item.rs @@ -21,6 +21,7 @@ use sp_runtime::generic::DigestItem; /// Custom header digest items, inserted as DigestItem::Other #[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, RuntimeDebug)] pub enum CustomDigestItem { + #[codec(index = 0)] /// Merkle root of outbound Snowbridge messages. Snowbridge(H256), }