diff --git a/Cargo.lock b/Cargo.lock index cde2415..a615d7e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -785,7 +785,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "contract-client" version = "1.0.4" -source = "git+https://github.com/subsquid/subsquid-network.git#2f18ffcf93f98c6ed73b327a461234442bb988c4" +source = "git+https://github.com/subsquid/subsquid-network.git#7906af9805553b868a8d617a9bcdac83af5c98df" dependencies = [ "async-trait", "clap", @@ -4020,7 +4020,7 @@ checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" [[package]] name = "query-gateway" -version = "1.0.6" +version = "1.0.7" dependencies = [ "anyhow", "axum", @@ -4952,8 +4952,8 @@ dependencies = [ [[package]] name = "subsquid-messages" -version = "1.0.3" -source = "git+https://github.com/subsquid/subsquid-network.git#2f18ffcf93f98c6ed73b327a461234442bb988c4" +version = "1.1.0" +source = "git+https://github.com/subsquid/subsquid-network.git#7906af9805553b868a8d617a9bcdac83af5c98df" dependencies = [ "anyhow", "hex", @@ -4967,8 +4967,8 @@ dependencies = [ [[package]] name = "subsquid-network-transport" -version = "1.0.11" -source = "git+https://github.com/subsquid/subsquid-network.git#2f18ffcf93f98c6ed73b327a461234442bb988c4" +version = "1.0.12" +source = "git+https://github.com/subsquid/subsquid-network.git#7906af9805553b868a8d617a9bcdac83af5c98df" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index a6908ae..80bbcaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "query-gateway" -version = "1.0.6" +version = "1.0.7" edition = "2021" [dependencies] @@ -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" diff --git a/src/http_server.rs b/src/http_server.rs index 3b6c636..de70433 100644 --- a/src/http_server.rs +++ b/src/http_server.rs @@ -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); diff --git a/src/server.rs b/src/server.rs index 507c523..3b2ddc0 100644 --- a/src/server.rs +++ b/src/server.rs @@ -163,6 +163,7 @@ impl + Send + Unpin + 'static> Server { 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)?;