giveth-dapps-v2
giveth-dapps-v2 copied to clipboard
Make it possible to "Boost" non-verified projects with GIVpower
- The logic (math conditioned by project verfied status) is hard coded in SQL Queries and Procedures.
- E.g. below SQL queries are part of the logic we have pushed to DB to calculate ranks
- We have also some queries in the impact-graph code which are executed per query, they also must be modified.
https://github.com/Giveth/impact-graph/blob/staging/migration/1662915983385-ProjectPowerView.ts https://github.com/Giveth/impact-graph/blob/staging/migration/1683191367806-CreateProjectInstantPowerView.ts
The above is a summary of points from my chat w/ @aminlatifi
The Tl;Dr is that it's possible to make this happen, but the changes are critical so we need to go slow & then this will require a lot of testing on staging in order to make sure we don't break anything.