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

ergoplatform / sigma-rust / 19909456309

03 Dec 2025 09:29PM UTC coverage: 86.947% (+8.5%) from 78.463%
19909456309

Pull #838

github

web-flow
Merge 717ebc4b7 into 2f840d387
Pull Request #838: Fix CI, bump dependencies and rust toolchain

20 of 24 new or added lines in 12 files covered. (83.33%)

1614 existing lines in 221 files now uncovered.

27478 of 31603 relevant lines covered (86.95%)

506307.07 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 {
6✔
17
        let BlockId(digest32) = value;
6✔
18
        digest32.into()
6✔
19
    }
6✔
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