Skip to content

Commit

Permalink
refactor: merge PoI resolver and blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Dec 6, 2024
1 parent 81646e4 commit 72a72c7
Show file tree
Hide file tree
Showing 10 changed files with 281 additions and 928 deletions.
1 change: 0 additions & 1 deletion src/indexers.rs

This file was deleted.

188 changes: 0 additions & 188 deletions src/indexers/public_poi.rs

This file was deleted.

3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ mod exchange_rate;
mod graphql;
mod http_ext;
mod indexer_client;
mod indexers;
mod indexing_performance;
mod metrics;
mod middleware;
Expand All @@ -21,8 +20,6 @@ mod receipts;
mod reports;
mod subgraph_studio;
mod time;
#[allow(dead_code)]
mod ttl_hash_map;
mod unattestable_errors;

use std::{
Expand Down
7 changes: 3 additions & 4 deletions src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ use thegraph_graphql_http::graphql::{IntoDocument as _, IntoDocumentWithVariable
pub mod cost_model;
mod errors;
pub mod host_filter;
pub mod indexer_indexing_poi_blocklist;
pub mod indexer_indexing_poi_resolver;
mod indexer_processing;
pub mod indexing_progress;
pub mod poi_filter;
mod pre_processing;
pub mod service;
mod snapshot;
Expand All @@ -18,8 +17,8 @@ mod subgraph_processing;
pub mod version_filter;

pub struct GraphQlRequest {
document: String,
variables: serde_json::Value,
pub document: String,
pub variables: serde_json::Value,
}
impl IntoDocumentWithVariables for GraphQlRequest {
type Variables = serde_json::Value;
Expand Down
83 changes: 0 additions & 83 deletions src/network/indexer_indexing_poi_blocklist.rs

This file was deleted.

Loading

0 comments on commit 72a72c7

Please sign in to comment.