-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
refactoring 🛠️Code refactoring and enhancementsCode refactoring and enhancements
Description
Why
We have some code that is duplicated for the aggregator client in all the crates that need to communicate with an aggregator (aggregator, signer, client). We want to remove the duplicated code for easier maintenance.
What
Create a new internal crate for supporting the communications with an aggregator and publish it.
How
- Create a new internal
mithril-aggregator-clientcrate - Abstract the requests to be executed by the client with a trait instead of the existing enums (as what has been done in the
Querytrait) - Define new queries for all existing request on the duplicated clients (not for the Mithril client library yet)
- Deprecate the
with_aggregator_clientfunction in client builder
Metadata
Metadata
Assignees
Labels
refactoring 🛠️Code refactoring and enhancementsCode refactoring and enhancements