From 21fc1f45e33ee0ae86cd1c06d6e0654897a5561b Mon Sep 17 00:00:00 2001 From: 0xKitsune <0xKitsune@protonmail.com> Date: Wed, 28 Feb 2024 17:41:04 -0500 Subject: [PATCH 01/24] updated logging --- bin/utils/seed_mpc_db.rs | 69 +++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 33 deletions(-) diff --git a/bin/utils/seed_mpc_db.rs b/bin/utils/seed_mpc_db.rs index 3243089..da510a6 100644 --- a/bin/utils/seed_mpc_db.rs +++ b/bin/utils/seed_mpc_db.rs @@ -1,4 +1,7 @@ use clap::Args; +use eyre::Error; +use futures::stream::FuturesUnordered; +use futures::StreamExt; use indicatif::ProgressBar; use mpc::config::DbConfig; use mpc::db::Db; @@ -28,19 +31,17 @@ pub async fn seed_mpc_db(args: &SeedMPCDb) -> eyre::Result<()> { let mut templates: Vec