Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new database for 2.0.0 #336

Closed
4 tasks done
GMKrieger opened this issue Mar 6, 2024 · 1 comment
Closed
4 tasks done

Create new database for 2.0.0 #336

GMKrieger opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
epic A issue with several steps #feat:output-unification Feature: Output Unification

Comments

@GMKrieger
Copy link
Contributor

GMKrieger commented Mar 6, 2024

📚 Context

For the 2.0.0 release, major changes will need to be implemented to take into consideration the first part of the output unification. This effort requires a change in how the node stores data relating to the inputs, outputs and proofs

This release will also include several major changes to how the node operates, its architecture and the flow of data between the services. One such change is the deprecation of Redis, and therefore the indexer, and concentrating all the information on the database.

Both these tasks require a new database design, as well as the new GraphQL API proposed in #242 uses PostGraphile, that in on itself also is built on top of database schema.

✔️ Solution

The first step is creating the base repository, with the migrations and functions related to the basic operation of the node. This will allow other services to start being built on top of it.

Then, each service will bring forth personal needs from the database. In an effort to better divide each service's scope, most functionalities related to the database will be covered in the repository or inside the database, and the issues will be part of this epic.

A new view in a separate schema will be created for the PostGraphile.

To conclude, new tests need to be created and the previous database, indexer and GraphQL API in rust need to be deprecated.

📈 Subtasks

@GMKrieger GMKrieger self-assigned this Mar 6, 2024
@GMKrieger GMKrieger added #feat:output-unification Feature: Output Unification ! High priority labels Mar 6, 2024
@GMKrieger GMKrieger added this to the 2.0.0 milestone Mar 6, 2024
@gligneul gligneul added the epic A issue with several steps label Mar 11, 2024
@GMKrieger GMKrieger changed the title Implement new GraphQL API for output unification Create new database for 2.0.0 Apr 3, 2024
@gligneul gligneul removed the ! High priority label Apr 8, 2024
@GMKrieger
Copy link
Contributor Author

This epic is now obsolete, as we moved all 2.0.0 issues to #375.

@torives torives removed this from the 2.0.0 milestone Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A issue with several steps #feat:output-unification Feature: Output Unification
Projects
Archived in project
Development

No branches or pull requests

3 participants