Skip to content

Commit 862ab5c

Browse files
committed
Move old processor/src directory to processor/TODO
1 parent 5a2a278 commit 862ab5c

File tree

10 files changed

+18
-16
lines changed

10 files changed

+18
-16
lines changed

processor/src/main.rs renamed to processor/TODO/main.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,3 @@ async fn handle_coordinator_msg<D: Db, N: Network, Co: Coordinator>(
5959
}
6060
}
6161
}
62-
63-
#[tokio::main]
64-
async fn main() {
65-
match network_id {
66-
#[cfg(feature = "ethereum")]
67-
NetworkId::Ethereum => {
68-
let relayer_hostname = env::var("ETHEREUM_RELAYER_HOSTNAME")
69-
.expect("ethereum relayer hostname wasn't specified")
70-
.to_string();
71-
let relayer_port =
72-
env::var("ETHEREUM_RELAYER_PORT").expect("ethereum relayer port wasn't specified");
73-
let relayer_url = relayer_hostname + ":" + &relayer_port;
74-
run(db.clone(), Ethereum::new(db, url, relayer_url).await, coordinator).await
75-
}
76-
}
77-
}

processor/src/tests/addresses.rs renamed to processor/TODO/tests/addresses.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use core::{time::Duration, pin::Pin, future::Future};
24
use std::collections::HashMap;
35

processor/src/tests/batch_signer.rs renamed to processor/TODO/tests/batch_signer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use std::collections::HashMap;
24

35
use rand_core::{RngCore, OsRng};

processor/src/tests/cosigner.rs renamed to processor/TODO/tests/cosigner.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use std::collections::HashMap;
24

35
use rand_core::{RngCore, OsRng};

processor/src/tests/key_gen.rs renamed to processor/TODO/tests/key_gen.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use std::collections::HashMap;
24

35
use zeroize::Zeroizing;

processor/src/tests/literal/mod.rs renamed to processor/TODO/tests/literal/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use dockertest::{
24
PullPolicy, StartPolicy, LogOptions, LogAction, LogPolicy, LogSource, Image,
35
TestBodySpecification, DockerOperations, DockerTest,

processor/src/tests/mod.rs renamed to processor/TODO/tests/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use std::sync::OnceLock;
24

35
mod key_gen;

processor/src/tests/scanner.rs renamed to processor/TODO/tests/scanner.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use core::{pin::Pin, time::Duration, future::Future};
24
use std::sync::Arc;
35

processor/src/tests/signer.rs renamed to processor/TODO/tests/signer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use core::{pin::Pin, future::Future};
24
use std::collections::HashMap;
35

processor/src/tests/wallet.rs renamed to processor/TODO/tests/wallet.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// TODO
2+
13
use core::{time::Duration, pin::Pin, future::Future};
24
use std::collections::HashMap;
35

0 commit comments

Comments
 (0)