Joystream / hydra

A Substrate indexing framework
49 stars 44 forks source link

WIP: Dealing with upgradability #306

Open bedeho opened 3 years ago

bedeho commented 3 years ago

Please flesh out what the developer experience will be.

dzhelezov commented 3 years ago

See https://dzhelezov.gitbook.io/hydra/faq#how-do-i-deal-with-runtime-upgrades

In a nutshell, Hydra v3 allows filtering by specVersion and/or height range. So one can easily have different mappings for different events

For bootstrapping the data, one should use pre-block hook at the upgrade hook