Skip to content

Commit

Permalink
update indexer-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed May 7, 2024
1 parent 9a3fa90 commit 61da50d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ axum = { version = "0.7.5", default-features = false, features = [
"tokio",
"original-uri",
] }
candidate-selection = { git = "https://github.com/edgeandnode/candidate-selection", rev = "982afe8" }
candidate-selection = { git = "https://github.com/edgeandnode/candidate-selection", rev = "9313194" }
cost-model = { git = "https://github.com/graphprotocol/agora", rev = "3ed34ca" }
futures = "0.3"
graphql = { git = "https://github.com/edgeandnode/toolshed", tag = "graphql-v0.3.0", default-features = false }
headers = "0.4.0"
hex = "0.4"
indexer-selection = { git = "https://github.com/edgeandnode/candidate-selection", rev = "982afe8" }
indexer-selection = { git = "https://github.com/edgeandnode/candidate-selection", rev = "9313194" }
primitive-types = "0.12.2"
rand = { version = "0.8", features = ["small_rng"] }
receipts = { git = "https://github.com/edgeandnode/receipts", rev = "b12e197" }
Expand Down
2 changes: 1 addition & 1 deletion graph-gateway/src/client_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ fn prepare_candidate(
fee,
seconds_behind: perf.seconds_behind,
slashable_grt: (info.staked_tokens as f64 * 1e-18) as u64,
subgraph_versions_behind: *versions_behind.get(&indexing.deployment).unwrap_or(&0),
versions_behind: *versions_behind.get(&indexing.deployment).unwrap_or(&0),
zero_allocation: info.allocated_tokens == 0,
})
}
Expand Down

0 comments on commit 61da50d

Please sign in to comment.