-
Notifications
You must be signed in to change notification settings - Fork 711
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
Feature/denunciation reloaded #3666
Conversation
sydhds
commented
Mar 9, 2023
•
edited
Loading
edited
- document all added functions
- try in sandbox /simulation/labnet
- unit tests on the added/changed features
- make tests compile
- make tests pass
- add logs allowing easy debugging in case the changes caused problems
- if the API has changed, update the API specification
I find it a bit weird to use a Serializer for DenunciationData because:
This can be simplified by having two strucutres (we don't need an enum there, does not serve any genericity purpose anyway):
I would also define the EndorsementDenunciationData within the endorsement.rs file to avoid circular dependencies between denunciation.rs and endorsement.rs. Would do the same for the block header. What do you think ? |
Done |