Skip to content

Adding ProblemReport to the CatalystSignedDocument #164

@Mr-Leshiy

Description

@Mr-Leshiy

Summary

Add a ProblemReport gathering during decoding for the CatalystSignedDocument

Description

  • Modify the minicbor::Decode trait implementation of the CatalystSignedDocument struct. Replace errors: Vec<anyhow::Error> with the ProblemReport.
  • Modify the TryFrom trait implementation of the Metadata struct. Replace errors: Vec<anyhow::Error> with the ProblemReport.
  • Modify the TryFrom trait implementation of the AdditionalFields struct. Replace errors: Vec<anyhow::Error> with the ProblemReport.
  • Modify the TryFrom trait implementation of the Signatures struct. Replace errors: Vec<anyhow::Error> with the ProblemReport.
  • Store gathered ProblemReport inside CatalystSignedDocument as field.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

🔬 Ready For QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions