Skip to content

Commit

Permalink
Transport upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiezzel committed Aug 13, 2024
1 parent f384bb1 commit a6b7b1e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 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
@@ -1,6 +1,6 @@
[package]
name = "query-gateway"
version = "1.0.6"
version = "1.0.7"
edition = "2021"

[dependencies]
Expand Down Expand Up @@ -30,8 +30,8 @@ tokio-rusqlite = "0.5"
uuid = { version = "1", features = ["v4", "fast-rng"] }

contract-client = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.4" }
subsquid-messages = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.3", features = ["semver"] }
subsquid-network-transport = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.11", features = ["gateway"] }
subsquid-messages = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.1.0", features = ["semver"] }
subsquid-network-transport = { git = "https://github.com/subsquid/subsquid-network.git", version = "1.0.12", features = ["gateway"] }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.6"
2 changes: 1 addition & 1 deletion src/http_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn server_error(err: impl Display) -> Response {
fn ok_response(result: OkResult, request_headers: HeaderMap) -> Response {
let OkResult {
mut data,
exec_plan,
exec_plan, ..
} = result;
if let Some(exec_plan) = exec_plan {
save_exec_plan(exec_plan);
Expand Down
1 change: 1 addition & 0 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ impl<S: Stream<Item = GatewayEvent> + Send + Unpin + 'static> Server<S> {
profiling: Some(profiling),
client_state_json: Some("{}".to_string()), // This is a placeholder field
signature: vec![],
block_range: None,
};
self.transport_handle.send_query(worker_id, query_msg)?;

Expand Down

0 comments on commit a6b7b1e

Please sign in to comment.