diff --git a/processor/src/main.rs b/processor/TODO/main.rs similarity index 74% rename from processor/src/main.rs rename to processor/TODO/main.rs index b4a5053a4..1458a7fc3 100644 --- a/processor/src/main.rs +++ b/processor/TODO/main.rs @@ -59,19 +59,3 @@ async fn handle_coordinator_msg( } } } - -#[tokio::main] -async fn main() { - match network_id { - #[cfg(feature = "ethereum")] - NetworkId::Ethereum => { - let relayer_hostname = env::var("ETHEREUM_RELAYER_HOSTNAME") - .expect("ethereum relayer hostname wasn't specified") - .to_string(); - let relayer_port = - env::var("ETHEREUM_RELAYER_PORT").expect("ethereum relayer port wasn't specified"); - let relayer_url = relayer_hostname + ":" + &relayer_port; - run(db.clone(), Ethereum::new(db, url, relayer_url).await, coordinator).await - } - } -} diff --git a/processor/src/tests/addresses.rs b/processor/TODO/tests/addresses.rs similarity index 99% rename from processor/src/tests/addresses.rs rename to processor/TODO/tests/addresses.rs index 3d4d6d4c1..1a06963a0 100644 --- a/processor/src/tests/addresses.rs +++ b/processor/TODO/tests/addresses.rs @@ -1,3 +1,5 @@ +// TODO + use core::{time::Duration, pin::Pin, future::Future}; use std::collections::HashMap; diff --git a/processor/src/tests/batch_signer.rs b/processor/TODO/tests/batch_signer.rs similarity index 99% rename from processor/src/tests/batch_signer.rs rename to processor/TODO/tests/batch_signer.rs index dc45ff312..cc5885fc2 100644 --- a/processor/src/tests/batch_signer.rs +++ b/processor/TODO/tests/batch_signer.rs @@ -1,3 +1,5 @@ +// TODO + use std::collections::HashMap; use rand_core::{RngCore, OsRng}; diff --git a/processor/src/tests/cosigner.rs b/processor/TODO/tests/cosigner.rs similarity index 99% rename from processor/src/tests/cosigner.rs rename to processor/TODO/tests/cosigner.rs index a66161bf7..98116bc35 100644 --- a/processor/src/tests/cosigner.rs +++ b/processor/TODO/tests/cosigner.rs @@ -1,3 +1,5 @@ +// TODO + use std::collections::HashMap; use rand_core::{RngCore, OsRng}; diff --git a/processor/src/tests/key_gen.rs b/processor/TODO/tests/key_gen.rs similarity index 99% rename from processor/src/tests/key_gen.rs rename to processor/TODO/tests/key_gen.rs index 43f0de058..116db11e5 100644 --- a/processor/src/tests/key_gen.rs +++ b/processor/TODO/tests/key_gen.rs @@ -1,3 +1,5 @@ +// TODO + use std::collections::HashMap; use zeroize::Zeroizing; diff --git a/processor/src/tests/literal/mod.rs b/processor/TODO/tests/literal/mod.rs similarity index 99% rename from processor/src/tests/literal/mod.rs rename to processor/TODO/tests/literal/mod.rs index d45649d59..b1285e634 100644 --- a/processor/src/tests/literal/mod.rs +++ b/processor/TODO/tests/literal/mod.rs @@ -1,3 +1,5 @@ +// TODO + use dockertest::{ PullPolicy, StartPolicy, LogOptions, LogAction, LogPolicy, LogSource, Image, TestBodySpecification, DockerOperations, DockerTest, diff --git a/processor/src/tests/mod.rs b/processor/TODO/tests/mod.rs similarity index 99% rename from processor/src/tests/mod.rs rename to processor/TODO/tests/mod.rs index 7ab57bdef..4691e523c 100644 --- a/processor/src/tests/mod.rs +++ b/processor/TODO/tests/mod.rs @@ -1,3 +1,5 @@ +// TODO + use std::sync::OnceLock; mod key_gen; diff --git a/processor/src/tests/scanner.rs b/processor/TODO/tests/scanner.rs similarity index 99% rename from processor/src/tests/scanner.rs rename to processor/TODO/tests/scanner.rs index a40e465c8..6ad87f785 100644 --- a/processor/src/tests/scanner.rs +++ b/processor/TODO/tests/scanner.rs @@ -1,3 +1,5 @@ +// TODO + use core::{pin::Pin, time::Duration, future::Future}; use std::sync::Arc; diff --git a/processor/src/tests/signer.rs b/processor/TODO/tests/signer.rs similarity index 99% rename from processor/src/tests/signer.rs rename to processor/TODO/tests/signer.rs index 6b4456081..e35a048b0 100644 --- a/processor/src/tests/signer.rs +++ b/processor/TODO/tests/signer.rs @@ -1,3 +1,5 @@ +// TODO + use core::{pin::Pin, future::Future}; use std::collections::HashMap; diff --git a/processor/src/tests/wallet.rs b/processor/TODO/tests/wallet.rs similarity index 99% rename from processor/src/tests/wallet.rs rename to processor/TODO/tests/wallet.rs index 0451f30c3..f78a16f5c 100644 --- a/processor/src/tests/wallet.rs +++ b/processor/TODO/tests/wallet.rs @@ -1,3 +1,5 @@ +// TODO + use core::{time::Duration, pin::Pin, future::Future}; use std::collections::HashMap;