feat: Include cbor probing for all known eras (#51)
This commit is contained in:
parent
60baccec47
commit
b2688fcd9e
5 changed files with 62 additions and 19 deletions
|
|
@ -20,3 +20,12 @@ where
|
|||
minicbor::decode(bytes).map_err(|e| e.into())
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub enum Era {
|
||||
Byron,
|
||||
Shelley,
|
||||
Allegra, // time-locks
|
||||
Mary, // multi-assets
|
||||
Alonzo, // smart-contracts
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue