chore(traverse): make era enum serializable (#467)
This commit is contained in:
parent
e64b4a0f2b
commit
69de222dbe
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
use std::{borrow::Cow, fmt::Display, hash::Hash as StdHash};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
|
||||
use pallas_codec::utils::{KeepRaw, KeyValuePairs, NonEmptyKeyValuePairs, NonZeroInt};
|
||||
|
|
@ -34,7 +35,7 @@ pub mod witnesses;
|
|||
// TODO: move to genesis crate
|
||||
pub mod wellknown;
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
|
||||
#[non_exhaustive]
|
||||
pub enum Era {
|
||||
Byron,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue