Skip to content

Commit 10d0f87

Browse files
committed
chore: add new protocol message part key 'CardanoTransactionsMerkleRoot'
1 parent 563fc82 commit 10d0f87

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mithril-common/src/entities/protocol_message.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ pub enum ProtocolMessagePartKey {
99
#[serde(rename = "snapshot_digest")]
1010
SnapshotDigest,
1111

12+
/// The ProtocolMessage part key associated to the Cardano Transactions Merkle Root
13+
#[serde(rename = "cardano_transactions_merkle_root")]
14+
CardanoTransactionsMerkleRoot,
15+
1216
/// The ProtocolMessage part key associated to the Next epoch aggregate verification key
1317
/// The AVK that will be allowed to be used to sign during the next epoch
1418
/// aka AVK(n-1)
@@ -21,6 +25,7 @@ impl Display for ProtocolMessagePartKey {
2125
match *self {
2226
Self::SnapshotDigest => write!(f, "snapshot_digest"),
2327
Self::NextAggregateVerificationKey => write!(f, "next_aggregate_verification_key"),
28+
Self::CardanoTransactionsMerkleRoot => write!(f, "cardano_transactions_merkle_root"),
2429
}
2530
}
2631
}

0 commit comments

Comments
 (0)