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],