Implement hex decoders for ID types
未關閉
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 還沒有評估資料。