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 摘要。