gitcoinco / gitcoinco/grants-stack-indexer

remove DataProvider and use the Database class directly

Open
#441 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
35
Forks
27
PR merge metrics
No merged PRs in 30d

Description

we have an interface called DataProvider, this was used in the old version where data was stored in JSON files, but its stil used in the calculator, via the DatabaseProvider, this will be a source of slow queries as we query all data.

we now have a Database class with granular queries that should be performant, we should delete the DataProvider and use the Database directly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.