feat: Add mechanism to retain original CBOR (#110)
This commit is contained in:
parent
e4784f444d
commit
4ea3e134c0
5 changed files with 102 additions and 29 deletions
|
|
@ -36,3 +36,7 @@ pub enum Era {
|
|||
Mary, // multi-assets
|
||||
Alonzo, // smart-contracts
|
||||
}
|
||||
|
||||
pub trait ToHash<const BYTES: usize> {
|
||||
fn to_hash(&self) -> pallas_crypto::hash::Hash<BYTES>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue