diff --git a/Cargo.lock b/Cargo.lock index 79310658..3533081f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -134,7 +134,7 @@ dependencies = [ "alloy-transport", "futures", "futures-util", - "thiserror 2.0.7", + "thiserror 2.0.8", ] [[package]] @@ -244,7 +244,7 @@ dependencies = [ "alloy-sol-types", "serde", "serde_json", - "thiserror 2.0.7", + "thiserror 2.0.8", "tracing", ] @@ -270,7 +270,7 @@ dependencies = [ "futures-utils-wasm", "serde", "serde_json", - "thiserror 2.0.7", + "thiserror 2.0.8", ] [[package]] @@ -347,7 +347,7 @@ dependencies = [ "schnellru", "serde", "serde_json", - "thiserror 2.0.7", + "thiserror 2.0.8", "tokio", "tracing", "url", @@ -505,7 +505,7 @@ dependencies = [ "auto_impl", "elliptic-curve", "k256", - "thiserror 2.0.7", + "thiserror 2.0.8", ] [[package]] @@ -522,7 +522,7 @@ dependencies = [ "aws-sdk-kms", "k256", "spki", - "thiserror 2.0.7", + "thiserror 2.0.8", "tracing", ] @@ -540,7 +540,7 @@ dependencies = [ "gcloud-sdk", "k256", "spki", - "thiserror 2.0.7", + "thiserror 2.0.8", "tracing", ] @@ -560,7 +560,7 @@ dependencies = [ "coins-ledger", "futures-util", "semver 1.0.24", - "thiserror 2.0.7", + "thiserror 2.0.8", "tracing", ] @@ -577,7 +577,7 @@ dependencies = [ "async-trait", "k256", "rand", - "thiserror 2.0.7", + "thiserror 2.0.8", ] [[package]] @@ -665,7 +665,7 @@ dependencies = [ "futures-utils-wasm", "serde", "serde_json", - "thiserror 2.0.7", + "thiserror 2.0.8", "tokio", "tower 0.5.2", "tracing", @@ -2200,7 +2200,7 @@ dependencies = [ "thegraph-core", "thegraph-graphql-http", "thegraph-headers", - "thiserror 2.0.7", + "thiserror 2.0.8", "tokio", "tokio-test", "tower 0.5.2", @@ -2539,9 +2539,9 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.3" +version = "0.27.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" +checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767" dependencies = [ "futures-util", "http 1.2.0", @@ -3096,9 +3096,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2ef2593ffb6958c941575cee70c8e257438749971869c4ae5acf6f91a168a61" +checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" dependencies = [ "adler2", ] @@ -3471,7 +3471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror 2.0.7", + "thiserror 2.0.8", "ucd-trie", ] @@ -3704,7 +3704,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2", - "thiserror 2.0.7", + "thiserror 2.0.8", "tokio", "tracing", ] @@ -3723,7 +3723,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.7", + "thiserror 2.0.8", "tinyvec", "tracing", "web-time", @@ -3731,9 +3731,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.8" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52cd4b1eff68bf27940dd39811292c49e007f4d0b4c357358dc9b0197be6b527" +checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" dependencies = [ "cfg_aliases", "libc", @@ -4108,7 +4108,7 @@ dependencies = [ "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.0.1", + "security-framework 3.1.0", ] [[package]] @@ -4244,9 +4244,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "3.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1415a607e92bec364ea2cf9264646dcce0f91e6d65281bd6f2819cca3bf39c8" +checksum = "81d3f8c9bfcc3cbb6b0179eb57042d75b1582bdc65c3cb95f3fa999509c03cbc" dependencies = [ "bitflags 2.6.0", "core-foundation 0.10.0", @@ -4257,9 +4257,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.12.1" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2" +checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5" dependencies = [ "core-foundation-sys", "libc", @@ -4699,9 +4699,9 @@ dependencies = [ [[package]] name = "thegraph-core" -version = "0.9.1" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "731abc6f3babc29aead5260c49729aae49f104f75c4b9f4a987d7c6b341c9103" +checksum = "c1440d5da02c8d7ee616adc49577f8e7d2c15f293db1731d49b4e0f0dcc8df7f" dependencies = [ "alloy", "bs58", @@ -4747,11 +4747,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.7" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93605438cbd668185516ab499d589afb7ee1859ea3d5fc8f6b0755e1c7443767" +checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" dependencies = [ - "thiserror-impl 2.0.7", + "thiserror-impl 2.0.8", ] [[package]] @@ -4767,9 +4767,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.7" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d8749b4531af2117677a5fcd12b1348a3fe2b81e36e61ffeac5c4aa3273e36" +checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index aaf43766..e8854692 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ serde_json = { version = "1.0.116", features = ["raw_value"] } serde_with = "3.8.1" snmalloc-rs = "0.3" tap_core = { git = "https://github.com/semiotic-ai/timeline-aggregation-protocol", rev = "1c6e29f" } -thegraph-core = { version = "=0.9.1", features = [ +thegraph-core = { version = "0.9.2", features = [ "alloy-contract", "alloy-signer-local", "attestation", diff --git a/src/network/poi_filter.rs b/src/network/poi_filter.rs index cfadd9fd..523aaf0f 100644 --- a/src/network/poi_filter.rs +++ b/src/network/poi_filter.rs @@ -52,7 +52,7 @@ impl PoiFilter { deployments .iter() - .filter(|deployment| match blocklist.get(deployment) { + .filter(|deployment| match blocklist.get(*deployment) { None => false, Some(blocklist) => blocklist.iter().any(|(block, poi)| { pois.get(&(**deployment, *block)) diff --git a/src/reports.rs b/src/reports.rs index a789db05..ab91472b 100644 --- a/src/reports.rs +++ b/src/reports.rs @@ -109,7 +109,7 @@ impl Reporter { .iter() .map(|indexer_request| IndexerQueryProtobuf { indexer: indexer_request.indexer.to_vec(), - deployment: indexer_request.deployment.as_ref().to_vec(), + deployment: indexer_request.deployment.to_vec(), allocation: indexer_request.receipt.allocation().to_vec(), indexed_chain: indexer_request.subgraph_chain.clone(), url: indexer_request.url.clone(),