alloy-rs / alloy-rs/ruint

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

Đang mở
#228 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
225
Fork
70
Merge trung bình
16 giờ 54 phút
Pull request đã merge (30 ngày)
8

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.