encointer / accounting-frontend

frontend for historical events on Encointer Network. statstics and monthly statements
https://accounting.encointer.org
0 stars 0 forks source link

provide all history back to genesis #8

Closed brenzi closed 1 year ago

brenzi commented 1 year ago

It is undesireable that 2022 has to be analyzed with an Excel spreadsheet which doesn't even last until the end of 2022, but the accounting frontend only seems to show 2023. Moreover, we need to manually add Event's that didn't exist for previous runtime versions. Our indexer should be enriched with the past (for consistent generic graphQL queries) and the frontend should use it

brenzi commented 1 year ago

evtl. bei subquery auch fixen, dass cindex für jeden block geindext wird

pifragile commented 1 year ago

encointerCeremonies.rewardsIssued does not need to be derived, they are already there.

pifragile commented 1 year ago

estimate

  1. add custom events (derive rewardsissued) - 4
    1. read csv
    2. fake rewards issued for 12
    3. fake issued for all
  2. fake cids - 1
  3. exclude rescue ceremonies - 1
  4. design experience for accounting tool (select year for businesses, for overall charts go back to genesis) - 3
  5. implement new accounting tool features - 5
  6. how to redeploy indexer with zero downtime? - 3
  7. update subql cli deps and redo design because subquery changed constructors - 3
  8. in block: cindex, phase, last ceremony block, next phase timestamp, reputation lifetime - 3
  9. buffer for reindexing and setup - 5

total 27h