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

Implement Claim Publisher database functionalities #480

Closed
2 tasks
Tracked by #375
GMKrieger opened this issue Jun 25, 2024 · 1 comment
Closed
2 tasks
Tracked by #375

Implement Claim Publisher database functionalities #480

GMKrieger opened this issue Jun 25, 2024 · 1 comment
Assignees
Labels
#feat:db Feature: database
Milestone

Comments

@GMKrieger
Copy link
Contributor

📚 Context

The input reader update (#348) was meant solely for the input reader, and did not take any other service into consideration.

The claim publisher will need additional support to execute its task, and the repository needs to be updated beforehand to accommodate this. We will need to create additional tables, relations, constraints, as well as implement ways to interact with this information in a safe and atomic way.

It's important to bring attention to how we interact with the data to keep the database consistent, as some transactions are only valid if all the parts move accordingly.

✔️ Solution

The claim publisher functionalities do not require an update on the database model, as of the moment of writing this issue (2024-06-25).

The claim publisher will need to get the latest claim generated by the validator after finishing an epoch, and all associated proofs. This is the only functionality the Claim Publisher requires from the database.

📈 Subtasks

  • Implement necessary repository functions
  • Create tests for the new functions
@GMKrieger GMKrieger added the #feat:db Feature: database label Jun 25, 2024
@GMKrieger GMKrieger added this to the 2.0.0 milestone Jun 25, 2024
@GMKrieger GMKrieger self-assigned this Jun 25, 2024
@GMKrieger GMKrieger moved this to 📋 Backlog in Node Unit Jun 25, 2024
@GMKrieger
Copy link
Contributor Author

This issue is obsolete with #493, as the Claim Publisher will no longer exist.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Node Unit Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#feat:db Feature: database
Projects
Status: Done
Development

No branches or pull requests

1 participant