mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Rename the coins folder to networks (#583)
* Rename the coins folder to networks Ethereum isn't a coin. It's a network. Resolves #357. * More renames of coins -> networks in orchestration * Correct paths in tests/ * cargo fmt
This commit is contained in:
@@ -86,7 +86,7 @@ pub fn build(name: String) {
|
||||
|
||||
let mut dockerfile_path = orchestration_path.clone();
|
||||
if HashSet::from(["bitcoin", "ethereum", "ethereum-relayer", "monero"]).contains(name.as_str()) {
|
||||
dockerfile_path = dockerfile_path.join("coins");
|
||||
dockerfile_path = dockerfile_path.join("networks");
|
||||
}
|
||||
if name.contains("-processor") {
|
||||
dockerfile_path =
|
||||
@@ -125,7 +125,9 @@ pub fn build(name: String) {
|
||||
let meta = |path: PathBuf| (path.clone(), fs::metadata(path));
|
||||
let mut metadatas = match name.as_str() {
|
||||
"bitcoin" | "ethereum" | "monero" => vec![],
|
||||
"ethereum-relayer" => vec![meta(repo_path.join("common")), meta(repo_path.join("coins"))],
|
||||
"ethereum-relayer" => {
|
||||
vec![meta(repo_path.join("common")), meta(repo_path.join("networks"))]
|
||||
}
|
||||
"message-queue" => vec![
|
||||
meta(repo_path.join("common")),
|
||||
meta(repo_path.join("crypto")),
|
||||
@@ -135,7 +137,7 @@ pub fn build(name: String) {
|
||||
"bitcoin-processor" | "ethereum-processor" | "monero-processor" => vec![
|
||||
meta(repo_path.join("common")),
|
||||
meta(repo_path.join("crypto")),
|
||||
meta(repo_path.join("coins")),
|
||||
meta(repo_path.join("networks")),
|
||||
meta(repo_path.join("substrate")),
|
||||
meta(repo_path.join("message-queue")),
|
||||
meta(repo_path.join("processor")),
|
||||
@@ -143,7 +145,7 @@ pub fn build(name: String) {
|
||||
"coordinator" => vec![
|
||||
meta(repo_path.join("common")),
|
||||
meta(repo_path.join("crypto")),
|
||||
meta(repo_path.join("coins")),
|
||||
meta(repo_path.join("networks")),
|
||||
meta(repo_path.join("substrate")),
|
||||
meta(repo_path.join("message-queue")),
|
||||
meta(repo_path.join("coordinator")),
|
||||
|
||||
Reference in New Issue
Block a user