Closed shumkov closed 3 years ago
To pass only necessary data to the client and allow to recreate error instances from a code and additional required information we should implement:
AbstractConsensusError#getConstructorArguments()
ConsensusError
createConsenusError
With integration and unit tests
Some validation errors are changed.
For repository code-owners and collaborators only
Issue being fixed or feature implemented
To pass only necessary data to the client and allow to recreate error instances from a code and additional required information we should implement:
What was done?
AbstractConsensusError#getConstructorArguments()
method to return information necesarry to reinstantiate an errorConsensusError
class abstractcreateConsenusError
functionHow Has This Been Tested?
With integration and unit tests
Breaking Changes
Some validation errors are changed.
Checklist:
For repository code-owners and collaborators only