Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Oct 17, 2024
1 parent 3514a3c commit 2ae4666
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions src/bin/dolos/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use dolos::{state, wal};
use miette::{Context as _, IntoDiagnostic};
use pallas::ledger::configs::alonzo::GenesisFile as AlonzoFile;
use pallas::ledger::configs::byron::GenesisFile as ByronFile;
use pallas::ledger::configs::shelley::GenesisFile as ShelleyFile;
use pallas::ledger::configs::conway::GenesisFile as ConwayFile;
use pallas::ledger::configs::shelley::GenesisFile as ShelleyFile;
use std::{path::PathBuf, time::Duration};
use tokio::task::JoinHandle;
use tokio_util::sync::CancellationToken;
Expand Down Expand Up @@ -119,7 +119,12 @@ pub fn open_genesis_files(config: &GenesisConfig) -> miette::Result<GenesisFiles
.into_diagnostic()
.context("loading conway genesis config")?;

Ok((byron_genesis, shelley_genesis, alonzo_genesis, conway_genesis))
Ok((
byron_genesis,
shelley_genesis,
alonzo_genesis,
conway_genesis,
))
}

#[inline]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/dolos/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn run(config: &super::Config, args: &Args) -> miette::Result<()> {
byron: &byron,
shelley: &shelley,
alonzo: &alonzo,
conway: &conway
conway: &conway,
},
&updates,
args.epoch,
Expand Down
2 changes: 1 addition & 1 deletion src/serve/grpc/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ use crate::{
state::{LedgerError, LedgerStore},
};
use itertools::Itertools as _;
use pallas::{interop::utxorpc::spec as u5c, ledger::configs::conway};
use pallas::ledger::{
configs::{alonzo, byron, shelley},
traverse::{MultiEraOutput, MultiEraUpdate},
};
use pallas::{interop::utxorpc::spec as u5c, ledger::configs::conway};
use pallas::{
interop::utxorpc::{self as interop, spec::query::any_utxo_pattern::UtxoPattern},
ledger::traverse::wellknown::GenesisValues,
Expand Down

0 comments on commit 2ae4666

Please sign in to comment.