Skip to content

Commit

Permalink
Add docstring to network subgraph config
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu committed Jul 31, 2023
1 parent 818252c commit 2fc58b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/crates/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ pub struct IndexerByAddressConfig {
#[serde(rename_all = "camelCase")]
pub struct NetworkSubgraphConfig {
pub endpoint: String,
/// What query out of several available ones to use to fetch the list of
/// indexers from the network subgraph?
#[serde(default)]
pub query: NetworkSubgraphQuery,
pub stake_threshold: f64,
Expand Down

0 comments on commit 2fc58b3

Please sign in to comment.