The signup-sequencer currently doesn't make a distinction between identity commitments not being in the merkle tree or being invalid. This makes it harder to build logic that can differentiate those cases in the clients to this service.
Solution
In this PR we change the IdentityCommitmentNotFound to return a 404 - NotFound instad of a 400 - BadRequest.
Motivation
The
signup-sequencer
currently doesn't make a distinction between identity commitments not being in the merkle tree or being invalid. This makes it harder to build logic that can differentiate those cases in the clients to this service.Solution
In this PR we change the
IdentityCommitmentNotFound
to return a404 - NotFound
instad of a400 - BadRequest
.