Skip to content

feat(rust/signed-doc): Implement new Catalyst Signed Doc #338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

bkioshn
Copy link
Contributor

@bkioshn bkioshn commented May 19, 2025

Description

Feature base branch for new Catalyst Signed Doc

Related Issue(s)

Closes #330

Related Pull Requests

bkioshn added 2 commits May 19, 2025 20:26
@bkioshn bkioshn marked this pull request as draft May 19, 2025 13:32
@bkioshn bkioshn added the do not merge yet PR is not ready to merge yet label May 20, 2025
bkioshn and others added 3 commits May 22, 2025 14:44
* feat(signed-doc): add new type DocType

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): add conversion policy

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): doc type

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): doc type error

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): seperate test

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): format

Signed-off-by: bkioshn <[email protected]>

---------

Signed-off-by: bkioshn <[email protected]>
…gned Documents (#349)

* wip

* wip

* fix fmt

* fix spelling

* fix clippy
bkioshn and others added 3 commits May 29, 2025 13:37
* feat(signed-doc): add new type DocType

Signed-off-by: bkioshn <[email protected]>

* wip: apply doctype

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): add more function to DocType

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): map old doctype to new doctype

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): add eq to uuidv4

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): fix validator

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): minor fixes

Signed-off-by: bkioshn <[email protected]>

* fix(catalyst-types): add hash to uuidv4

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): decoding test

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): doctype

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): minor fixes

Signed-off-by: bkioshn <[email protected]>

* chore(sign-doc): fix comment

Signed-off-by: bkioshn <[email protected]>

* fix(catalyst-types): add fromstr to uuidv4 and 7

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): restructure doctypes

Signed-off-by: bkioshn <[email protected]>

* fix(signed-doc): test

Signed-off-by: bkioshn <[email protected]>

* Update rust/signed_doc/tests/proposal.rs

* Update rust/signed_doc/tests/comment.rs

* Update rust/signed_doc/tests/submission.rs

---------

Signed-off-by: bkioshn <[email protected]>
Co-authored-by: Alex Pozhylenkov <[email protected]>
…350)

* feat: initial

* test: minor check

* test: more test

* fix: minor

* Update rust/signed_doc/src/validator/rules/content_type.rs

Co-authored-by: Alex Pozhylenkov <[email protected]>

* chore: remove proptest

* chore: cleanup

* chore: split json and cbor

* chore: minor adjustment

* Update rust/signed_doc/src/validator/rules/content_type.rs

Co-authored-by: Artur Helmanau <[email protected]>

* fix: import json raw value

---------

Co-authored-by: Alex Pozhylenkov <[email protected]>
Co-authored-by: Artur Helmanau <[email protected]>
@Mr-Leshiy Mr-Leshiy marked this pull request as ready for review May 30, 2025 03:12
Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 338/338}$ | ${\color{red}Fail: 0/338}$ |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge yet PR is not ready to merge yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Catalyst Signed Document updates
4 participants