You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the catalyst-signed-doc crate add tests to cover all topics based on the spec
Description
Add a Rust integration tests for the catalyst-signed-doc crate, by adding them under signed_doc/tests dir.
Need to test our public API of the crate by the following sections:
Decoding tests (move and probably extend current catalyst_signed_doc_cbor_roundtrip_test test).
Signature validation (move and probably update current signature_verification_test test).
Summary
For the
catalyst-signed-doc
crate add tests to cover all topics based on the specDescription
Add a Rust integration tests for the
catalyst-signed-doc
crate, by adding them undersigned_doc/tests
dir.Need to test our public API of the crate by the following sections:
catalyst_signed_doc_cbor_roundtrip_test
test).signature_verification_test
test).pub async fn validate<Provider>( doc: &CatalystSignedDocument, provider: &Provider, ) -> anyhow::Result<bool>
)As a reference how to build and run this validation you can take a look for each rules unit test (
catalyst-libs/rust/signed_doc/src/validator/rules
)The text was updated successfully, but these errors were encountered: