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

Update authority-claimer to read from repository #493

Open
3 tasks
GMKrieger opened this issue Jun 27, 2024 · 0 comments
Open
3 tasks

Update authority-claimer to read from repository #493

GMKrieger opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
#feat:claimer Feature: claimer
Milestone

Comments

@GMKrieger
Copy link
Contributor

📚 Context

With the update in the Node architecture, Redis has become deprecated as all information circulates through the repository. The way the contracts handle claims also changed, with a new event being emitted when the claim is submitted and accepted.

Both of this changes change the way the authority-claimer needs to handle claims, and the code needs to be updated to handle these demands.

✔️ Solution

The authority-claimer in Rust will no longer get the information from the Broker and Redis, and retrieve the information directly from the database. A repository interface and methods need to be implemented on the claimer for it to correctly operate. The claimer will also need to update the database once the claim is submitted, correctly signaling that it has done its job.

The connection with Redis needs to be deprecated, and its functionalities removed.

📈 Subtasks

  • Created repository interface
  • Update claimer algorithm
  • Remove deprecated code
@GMKrieger GMKrieger added the #feat:claimer Feature: claimer label Jun 27, 2024
@GMKrieger GMKrieger added this to the 2.0.0 milestone Jun 27, 2024
@GMKrieger GMKrieger moved this to 📋 Backlog in Node Unit Jun 27, 2024
@GMKrieger GMKrieger moved this from 📋 Backlog to 🏗 In progress 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:claimer Feature: claimer
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant