Skip to content

Commit 56bf046

Browse files
committed
graph: Allow upto 5 subgraph data sources
1 parent 8ac152c commit 56bf046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graph/src/data/subgraph/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,10 +700,10 @@ impl<C: Blockchain> UnvalidatedSubgraphManifest<C> {
700700
.filter(|ds| matches!(ds, DataSource::Subgraph(_)))
701701
.count();
702702

703-
if subgraph_ds_count > 1 {
703+
if subgraph_ds_count > 5 {
704704
errors.push(SubgraphManifestValidationError::DataSourceValidation(
705705
"subgraph".to_string(),
706-
anyhow!("Cannot have more than one subgraph datasource"),
706+
anyhow!("Cannot have more than 5 subgraph datasources"),
707707
));
708708
}
709709

0 commit comments

Comments
 (0)