minor rename

This commit is contained in:
Sergio Chouhy 2026-01-29 15:26:29 -03:00
parent de54744893
commit df02c59310
2 changed files with 3 additions and 3 deletions

View File

@ -606,7 +606,7 @@ impl TryFrom<common::block::Block> 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),
})
}
}

View File

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