Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Add key sort #140

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Add key sort #140

merged 2 commits into from
Oct 15, 2024

Conversation

nitro-neal
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Oct 11, 2024

TBD Spec Test Vectors Report (tbdex-rs)

Total Test VectorsTotal Test Cases✅ Passed❌ Failed⚠️ Skipped
109900
ℹ️ 9 out of 10 test vectors passed successfully.

❌ Missing Vectors (1)

These are test vectors without any test cases.
FeatureName
Protocolparse_orderinstructions

Automatically generated at: 2024-10-15T17:48:54.818Z

Copy link

github-actions bot commented Oct 11, 2024

TBD Spec Test Vectors Report (tbdex-core-kt)

Total Test VectorsTotal Test Cases✅ Passed❌ Failed⚠️ Skipped
10101000
✅ All test vectors passed
Automatically generated at: 2024-10-15T17:52:30.995Z

impl ResourceKind {
pub fn typesafe_id(&self) -> Result<String> {
let dynamic_type = DynamicType::new(&self.to_string())?;
Ok(TypeSafeId::from_type_and_uuid(dynamic_type, Uuid::new_v4()).to_string())
let timestamp_nanos = Utc::now().timestamp_nanos_opt().unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we map the error into a TbdexError instead of risking a panic from the unwrap?

@nitro-neal nitro-neal merged commit 2e56ab6 into main Oct 15, 2024
20 checks passed
@nitro-neal nitro-neal deleted the key-sort branch October 15, 2024 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants