subquery / subql-examples

Apache License 2.0
11 stars 8 forks source link

improve validator threshold example #14

Closed ianhe8x closed 3 years ago

ianhe8x commented 3 years ago

Issues to address:

  1. takes a long time to indexing: a lot of api queries in mapping function and triggered for every blocks
  2. redundant data in db: validator set only changed for each era but currently we create a record for each block