We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 811b845 commit f929fa3Copy full SHA for f929fa3
1 file changed
apps/ibc-attestor/src/error.rs
@@ -67,7 +67,12 @@ impl From<AttestorError> for Status {
67
AttestorError::SignerError(_) | AttestorError::SignerInitError(_) => {
68
Self::new(Code::Internal, value.to_string())
69
}
70
- _ => Self::new(Code::Internal, value.to_string()),
+ AttestorError::MalformedCommitmentError(_) => {
71
+ Self::new(Code::InvalidArgument, value.to_string())
72
+ }
73
+ AttestorError::AbiError(_) | AttestorError::AdapterError(_) => {
74
+ Self::new(Code::Internal, value.to_string())
75
76
77
78
0 commit comments