alloy-rs / alloy-rs/ruint

Replace `B256` aliases with `u8` arrays `B256([u8;32])`

未關閉
#228 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
225
分支
70
平均合併
16 小時 54 分鐘
30 天內合併 PR
8

描述

Hi @recmo are you open to replacing current `B` types that are aliases for `U` with [u8;32], we will do the legwork if you approve it.

Current B types in revm that i need are made with `primitive-types` macros and have some From/Serde added to them:
https://github.com/bluealloy/revm/blob/afc30663270f77df9b4399ad9d4cfb0ad2b814ec/crates/primitives/src/bits.rs#L4-L21

This would make a lot of projects be able to directly import ruint: ethers, reth, foundry, revm.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。