0xMiden / 0xMiden/protocol

Implement hex decoders for ID types

未关闭
#3,452 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
rust
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
110

描述

Add at least `impl FromStr for TransactionId` to decode one from a hex string. We may want to make sure all IDs that encode to a hex string have a reverse decode path.

For API consistency, we may want to consider moving all `fn from_hex` to a `FromStr` impl, or the other way around.

Context: https://github.com/0xMiden/node/pull/2393#discussion_r3676405199

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。