Skip to content

Commit d11f82b

Browse files
committed
Merge branch 'main' of github.com:input-output-hk/catalyst-libs
2 parents 4b181f3 + fdb2a85 commit d11f82b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

rust/cardano-blockchain-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cardano-blockchain-types"
33
description = "Common Cardano Blockchain data types for use in both applications and crates"
44
keywords = ["cardano", "catalyst", ]
5-
version = "0.0.4"
5+
version = "0.0.5"
66
authors = [
77
"Steven Johnson <[email protected]>"
88
]

rust/cardano-blockchain-types/src/auxdata/metadatum_label.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ impl Decode<'_, ()> for MetadatumLabel {
3838
Ok(Self(label))
3939
}
4040
}
41+
42+
impl From<u64> for MetadatumLabel {
43+
fn from(label: u64) -> Self {
44+
MetadatumLabel(label)
45+
}
46+
}

0 commit comments

Comments
 (0)