graphprotocol / allocation-optimizer

Agents and algorithms for optimizing Indexer decision problems.
MIT License
14 stars 13 forks source link

Support filtering subgraph syncing network in the config #42

Closed fordN closed 1 year ago

fordN commented 1 year ago

As an indexer my graph-node is only setup to support subgraphs that sync certain networks; however, the allocation-optimizer does not support filtering subgraphs by the syncing network. Because of this I end up doing manual work to add unsupported subgraph deployments to the blacklist in order to filter them out of the optimization runs.
Adding support for specifying the supported networks in the config would save me a lot of time and work when managing allocations.

anirudh2 commented 1 year ago

Thanks for your suggestion! We'll look into it!

anirudh2 commented 1 year ago

Done in 09a3b3861c77c6b0448f70a9473a856e7036b698!