Skip to content

Commit

Permalink
Tranport upgrade (v1.0.0-rc3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiezzel committed May 23, 2024
1 parent 6f2834b commit dec9048
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 22 deletions.
16 changes: 8 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]
contract-client = { git = "ssh://git@github.com/subsquid/subsquid-network.git", version = "1.0.0-rc1" }
subsquid-messages = { git = "ssh://git@github.com/subsquid/subsquid-network.git", version = "1.0.0-rc2" }
subsquid-network-transport = { git = "ssh://git@github.com/subsquid/subsquid-network.git", version = "1.0.0-rc2" }
contract-client = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.0-rc1" }
subsquid-messages = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.0-rc3" }
subsquid-network-transport = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.0-rc3" }
2 changes: 1 addition & 1 deletion crates/logs-collector/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "logs-collector"
version = "1.0.0-rc2"
version = "1.0.0-rc3"
edition = "2021"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/logs-collector/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ mod tests {
client_state_json: Some("".to_string()),
signature: vec![],
};
query.sign(&client_keypair).unwrap();
query.sign(&client_keypair);

let mut query_log = QueryExecuted {
client_id: client_id.to_string(),
Expand All @@ -312,7 +312,7 @@ mod tests {
}),
})),
};
query_log.sign(&worker_keypair).unwrap();
query_log.sign(&worker_keypair);

storage
.store_logs(std::iter::once(query_log.clone().try_into().unwrap()))
Expand Down
2 changes: 1 addition & 1 deletion crates/network-scheduler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "network-scheduler"
version = "1.0.0-rc2"
version = "1.0.0-rc3"
edition = "2021"

[dependencies]
Expand Down
6 changes: 0 additions & 6 deletions crates/network-scheduler/src/data_chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ pub fn chunks_to_assignment(chunks: impl Iterator<Item = DataChunk>) -> WorkerAs
.map(|(dataset_id, chunks)| DatasetChunks {
dataset_id: dataset_id.clone(),
download_url: chunks.first().unwrap().download_url.clone(),
chunks_legacy: chunks.iter().map(|chunk| chunk.chunk_str.clone()).collect(),
chunks: chunks
.into_iter()
.map(|chunk| AssignedChunk {
Expand Down Expand Up @@ -199,10 +198,6 @@ mod tests {
DatasetChunks {
dataset_id: "s3://squidnet".to_string(),
download_url: "https://squidnet.sqd-datasets.io".to_string(),
chunks_legacy: vec![
"/00000/00001-01000-fa1f6773".to_string(),
"/00000/00500-01500-82315a24".to_string(),
],
chunks: vec![
AssignedChunk {
path: "/00000/00001-01000-fa1f6773".to_string(),
Expand All @@ -217,7 +212,6 @@ mod tests {
DatasetChunks{
dataset_id: "s3://pepenet".to_string(),
download_url: "https://pepenet.sqd-datasets.io".to_string(),
chunks_legacy: vec!["00000/01234-05678-b4357d89".to_string()],
chunks: vec![
AssignedChunk {
path: "00000/01234-05678-b4357d89".to_string(),
Expand Down
2 changes: 1 addition & 1 deletion crates/query-gateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "query-gateway"
version = "1.0.0-rc2"
version = "1.0.0-rc3"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit dec9048

Please sign in to comment.