-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
refactoring 🛠️Code refactoring and enhancementsCode refactoring and enhancements
Description
Why
The AggregatorClient trait has a confusing name and may have too much responsibility. We want to refactor it and split it in multiple traits.
What
Refactor the AggregatorClient trait in multiple simple traits.
How
- Remove the
register_signaturefunction and use directly thepublishfunction from theSignaturePublisher - Implement the
SignaturePublisheron the internal aggregator client - Move the
register_signerfunction to a newSignerRegistrationPublishertrait - Implement the
SignerRegistrationPublisheron the internal aggregator client - Remove the
retrieve_aggregator_featureswhich is not used in production test - Rename the
retrieve_epoch_settingsfunction toretrieve_all_signer_registrationsin a newSignersRegistrationRetriever(name to be refined) - Refactor the integration test extensions which use
retrieve_aggregator_featuresandretrieve_epoch_settings(and renamecertificate_handlerto a better name)
Metadata
Metadata
Assignees
Labels
refactoring 🛠️Code refactoring and enhancementsCode refactoring and enhancements