Skip to content

Commit

Permalink
Move old processor/src directory to processor/TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Sep 20, 2024
1 parent 5a2a278 commit 862ab5c
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 16 deletions.
16 changes: 0 additions & 16 deletions processor/src/main.rs → processor/TODO/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,3 @@ async fn handle_coordinator_msg<D: Db, N: Network, Co: Coordinator>(
}
}
}

#[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
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use core::{time::Duration, pin::Pin, future::Future};
use std::collections::HashMap;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use std::collections::HashMap;

use rand_core::{RngCore, OsRng};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use std::collections::HashMap;

use rand_core::{RngCore, OsRng};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use std::collections::HashMap;

use zeroize::Zeroizing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use dockertest::{
PullPolicy, StartPolicy, LogOptions, LogAction, LogPolicy, LogSource, Image,
TestBodySpecification, DockerOperations, DockerTest,
Expand Down
2 changes: 2 additions & 0 deletions processor/src/tests/mod.rs → processor/TODO/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use std::sync::OnceLock;

mod key_gen;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use core::{pin::Pin, time::Duration, future::Future};
use std::sync::Arc;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use core::{pin::Pin, future::Future};
use std::collections::HashMap;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO

use core::{time::Duration, pin::Pin, future::Future};
use std::collections::HashMap;

Expand Down

0 comments on commit 862ab5c

Please sign in to comment.