You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It probably makes sense for the initial version of script to interact directly with the database. We can use the same tooling as our end-to-end tests (python + psycopg) to avoid introducing additional dependencies and keep tooling consistent. Perhaps we'll want/need to upgrade to something more robust and/or javascript-native in the future. I would also propose that it would be good for maintainability and onboarding if the script employed inversion of control to support distinct genesis state handler functions, defined separately. I would suggest considering ReactiveX (PyPI) which implements the observer pattern flavor of IoC. This design also allows for concern-scoped handlers to be reasoned about and maintained independently.
I imagine we can use a kubernetes job to run through once at the beginning of indexing but we should ensure that the job doesn't start until after the SubQuery node is up (i.e. has created all tables).
The text was updated successfully, but these errors were encountered:
bryanchriswhite
changed the title
Processing genesis for initial state
Process genesis for initial state
Sep 8, 2022
Acceptance Criteria
NativeBalanceGenesis
entity.Proposal
The text was updated successfully, but these errors were encountered: