Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Oct 17, 2024
1 parent 4569942 commit 68ea7d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pallas-traverse/src/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ use pallas_codec::minicbor;
use paste::paste;
use std::{borrow::Cow, ops::Deref};

use pallas_primitives::{
alonzo, babbage, byron,
conway::{self, DRepVotingThresholds, PoolVotingThresholds},
};
use pallas_primitives::{alonzo, babbage, byron, conway};

macro_rules! param_boilerplate {
($name:ident: $type_:ty, [$($variant:tt)*]) => {
Expand Down Expand Up @@ -54,6 +51,8 @@ pub type AlonzoCostMdls = alonzo::CostMdls;
pub type BabbageCostMdls = babbage::CostMdls;
pub type ConwayCostMdls = conway::CostMdls;
pub type ProtocolVersion = alonzo::ProtocolVersion;
pub type PoolVotingThresholds = conway::PoolVotingThresholds;
pub type DRepVotingThresholds = conway::DRepVotingThresholds;

use crate::{Era, MultiEraUpdate};

Expand All @@ -80,6 +79,7 @@ impl<'b> MultiEraUpdate<'b> {
let up = Box::new(Cow::Owned(up));
Ok(MultiEraUpdate::Conway(up))
}
_ => unimplemented!("unimplemented era"),
}
}

Expand Down

0 comments on commit 68ea7d3

Please sign in to comment.