• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ergoplatform / sigma-rust / 19957094785

05 Dec 2025 08:23AM UTC coverage: 86.918% (+8.5%) from 78.463%
19957094785

Pull #837

github

web-flow
Merge dec08367a into 2f840d387
Pull Request #837: Split TransactionHintsBag hints properly

44 of 53 new or added lines in 13 files covered. (83.02%)

1621 existing lines in 221 files now uncovered.

27453 of 31585 relevant lines covered (86.92%)

253204.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

57.14
/ergo-chain-types/src/block_id.rs
1
//! Main "remote" type for [BlockId]()
2

3
use alloc::{string::String, vec::Vec};
4
use derive_more::{Display, FromStr};
5

6
use crate::DigestNError;
7

8
use super::digest32::Digest32;
9

10
/// Block id
11
#[cfg_attr(feature = "json", derive(serde::Serialize, serde::Deserialize))]
12
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug, Copy, Clone, Hash, Display, FromStr)]
13
pub struct BlockId(pub Digest32);
14

15
impl From<BlockId> for Vec<i8> {
16
    fn from(value: BlockId) -> Self {
3✔
17
        let BlockId(digest32) = value;
3✔
18
        digest32.into()
3✔
19
    }
3✔
20
}
21

22
impl TryFrom<String> for BlockId {
23
    type Error = DigestNError;
24

25
    fn try_from(value: String) -> Result<Self, Self::Error> {
×
26
        value.try_into().map(Self)
×
UNCOV
27
    }
×
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc