dcgtc / dgrants

Decentralized Grant platform that implements quadratic funding.
GNU Affero General Public License v3.0
84 stars 39 forks source link

Clearing cache (and IndexDB) is required when switching networks/contracts #599

Open phutchins opened 2 years ago

phutchins commented 2 years ago

In development when changing the grantRegistry and grantRoundManager contract addresses (in chains.ts) you must clear cache and clear the IndexDB in order to see the correct grants. This should happen automatically. I.E. we could keep the other cached data but index new data under a new key and point to the appropriate set of data depending on contracts being used.