Skip to content

Commit

Permalink
Pick some nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Turner committed Jun 11, 2022
1 parent 7bebda6 commit da232cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 6 additions & 4 deletions indexer/tasks/src/genesis/genesis_txs.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
extern crate shred;

use crate::config::EmptyConfig::EmptyConfig;
use crate::{
config::EmptyConfig::EmptyConfig,
dsl::task_macro::*,
utils::{blake2b256, TaskPerfAggregator},
};
use cardano_multiplatform_lib::{
address::ByronAddress,
genesis::byron::{config::GenesisData, parse::redeem_pubkey_to_txid},
Expand All @@ -10,14 +14,12 @@ use entity::{
address,
prelude::*,
sea_orm::{DatabaseTransaction, DbErr, EntityTrait, Set},
sea_orm::{IntoActiveModel, Iterable},
transaction, transaction_output,
};
use shred::{DispatcherBuilder, ResourceId, System, SystemData, World, Write};
use std::sync::{Arc, Mutex};

use crate::dsl::task_macro::*;
use crate::utils::{blake2b256, TaskPerfAggregator};
use entity::sea_orm::{IntoActiveModel, Iterable};
use futures::future::{join_all, try_join};

use super::genesis_block::GenesisBlockTask;
Expand Down
8 changes: 3 additions & 5 deletions indexer/tasks/tests/genesis_helpers.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
use cardano_multiplatform_lib::genesis::byron::parse::parse;
use cardano_multiplatform_lib::{
address::ByronAddress,
chain_crypto::{self, Ed25519, KeyPair, PublicKey},
crypto::BlockHeaderHash,
fees::LinearFee,
genesis::byron::parse::parse,
genesis::byron::{config::GenesisData, config::ProtocolMagic, parse::redeem_pubkey_to_txid},
legacy_address,
legacy_address::ExtendedAddr,
legacy_address::{self, ExtendedAddr},
utils::{self, BigNum},
};
use entity::{
block::EraValue,
prelude::AddressModel,
prelude::{TransactionModel, TransactionOutputModel},
prelude::{AddressModel, TransactionModel, TransactionOutputModel},
sea_orm::{Database, DbConn},
};
use proptest::prop_compose;
Expand Down

0 comments on commit da232cb

Please sign in to comment.