Skip to content

Commit

Permalink
Move Assignments to sqd-messages (#36)
Browse files Browse the repository at this point in the history
* Move assignments to sqd-messages

* remove excessive features

* move feature
  • Loading branch information
denisbsu authored Nov 14, 2024
1 parent a278d5c commit 239245e
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 330 deletions.
28 changes: 20 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ members = ["crates/*"]
resolver = "2"

[workspace.dependencies]
sqd-contract-client = { git = "https://github.com/subsquid/subsquid-network.git", rev = "0a18753", version = "1.0.7" }
sqd-messages = { git = "https://github.com/subsquid/subsquid-network.git", rev = "0a18753", version = "2.0.0", features = ["bitstring"] }
sqd-network-transport = { git = "https://github.com/subsquid/subsquid-network.git", rev = "0a18753", version = "2.0.0" }
sqd-contract-client = { git = "https://github.com/subsquid/subsquid-network.git", rev = "1c44e39", version = "1.0.7" }
sqd-messages = { git = "https://github.com/subsquid/subsquid-network.git", rev = "1c44e39", version = "2.0.0", features = ["bitstring"] }
sqd-network-transport = { git = "https://github.com/subsquid/subsquid-network.git", rev = "1c44e39", version = "2.0.0" }
4 changes: 2 additions & 2 deletions crates/network-scheduler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ semver = "1"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
serde-partial = "0.3"
serde_with = { version = "3", features = ["base64", "hex"] }
serde_with = { version = "3.11", features = ["base64", "hex"] }
serde_yaml = "0.9"
sha2 = "0.10.8"
sha3 = "0.10"
tokio = { version = "1", features = ["full"] }
url = "2.5.0"

sqd-contract-client = { workspace = true }
sqd-messages = { workspace = true, features = ["semver"] }
sqd-messages = { workspace = true, features = ["semver", "assignment_writer"] }
sqd-network-transport = { workspace = true, features = ["scheduler", "metrics"] }


Expand Down
275 changes: 0 additions & 275 deletions crates/network-scheduler/src/assignment.rs

This file was deleted.

2 changes: 0 additions & 2 deletions crates/network-scheduler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ use crate::cli::{Cli, Config};
use crate::server::Server;
use crate::storage::S3Storage;

mod assignment;
mod cli;
mod data_chunk;
mod metrics_server;
mod prometheus_metrics;
mod scheduler;
mod scheduling_unit;
mod server;
mod signature;
mod storage;
mod worker_state;

Expand Down
Loading

0 comments on commit 239245e

Please sign in to comment.