Status field is no longer used and removing it will help to simplify the project.
Solution
Removed status field from all responses.
Removed mined tree (as no longer used).
The source of leaf ids for recovery is now a database instead of processed tree.
Tests are changed to not use status field:
for on-chain mode identity is considered processed when root is returned for /inclusionProof request and can be verified on chain using queryRoot contract method (mocked chain for testing)
for off-chain mode identity is considered processed when root is returned for /inclusionProof request (no checking on chain)
Motivation
Status field is no longer used and removing it will help to simplify the project.
Solution
Removed status field from all responses. Removed mined tree (as no longer used). The source of leaf ids for recovery is now a database instead of processed tree. Tests are changed to not use status field:
/inclusionProof
request and can be verified on chain usingqueryRoot
contract method (mocked chain for testing)/inclusionProof
request (no checking on chain)PR Checklist