From df02c593107a8358b05c3972f0a9885be2820b95 Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Thu, 29 Jan 2026 15:26:29 -0300 Subject: [PATCH] minor rename --- indexer_service/protocol/src/convert.rs | 2 +- indexer_service/protocol/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/indexer_service/protocol/src/convert.rs b/indexer_service/protocol/src/convert.rs index b6d9d348..8c6de2f4 100644 --- a/indexer_service/protocol/src/convert.rs +++ b/indexer_service/protocol/src/convert.rs @@ -606,7 +606,7 @@ impl TryFrom for Block { header: header.into(), body: body.try_into()?, bedrock_status: bedrock_status.into(), - bedrock_parent_id: MsgId(bedrock_parent_id), + bedrock_parent_id: MantleMsgId(bedrock_parent_id), }) } } diff --git a/indexer_service/protocol/src/lib.rs b/indexer_service/protocol/src/lib.rs index 627d8513..f12bdf5b 100644 --- a/indexer_service/protocol/src/lib.rs +++ b/indexer_service/protocol/src/lib.rs @@ -36,7 +36,7 @@ pub struct Block { pub header: BlockHeader, pub body: BlockBody, pub bedrock_status: BedrockStatus, - pub bedrock_parent_id: MsgId, + pub bedrock_parent_id: MantleMsgId, } #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema)] @@ -190,7 +190,7 @@ pub struct Hash( ); #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema)] -pub struct MsgId( +pub struct MantleMsgId( #[serde(with = "base64::arr")] #[schemars(with = "String", description = "base64-encoded Bedrock message id")] pub [u8; 32],