ergoplatform / sigma-rust

Rust implementation of ErgoTree interpreter and wallet-related features
Creative Commons Zero v1.0 Universal
69 stars 48 forks source link

Replace num256 with bnum #779

Open SethDusek opened 1 week ago

SethDusek commented 1 week ago

num256 has no no_std support and uses BigInt internally, so it'll be less efficient for fixed-size ops compared to bnum

Part of #778

coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 11835992403

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
ergotree-ir/src/bigint256.rs 44 49 89.8%
<!-- Total: 65 70 92.86% -->
Files with Coverage Reduction New Missed Lines %
ergotree-ir/src/sigma_protocol/sigma_boolean.rs 1 69.03%
ergo-p2p/src/peer_database/in_memory.rs 1 86.36%
ergotree-ir/src/serialization/types.rs 6 82.58%
<!-- Total: 8 -->
Totals Coverage Status
Change from base Build 11817168621: 0.005%
Covered Lines: 11009
Relevant Lines: 13996

💛 - Coveralls