diff --git a/pallas-traverse/src/lib.rs b/pallas-traverse/src/lib.rs index b6cddd8..6973df9 100644 --- a/pallas-traverse/src/lib.rs +++ b/pallas-traverse/src/lib.rs @@ -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,