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

tari-project / tari / 18097567115

29 Sep 2025 12:50PM UTC coverage: 58.554% (-2.3%) from 60.88%
18097567115

push

github

web-flow
chore(ci): switch rust toolchain to stable (#7524)

Description
switch rust toolchain to stable

Motivation and Context
use stable rust toolchain


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Standardized Rust toolchain on stable across CI workflows for more
predictable builds.
* Streamlined setup by removing unnecessary components and aligning
toolchain configuration with environment variables.
  * Enabled an environment flag to improve rustup behavior during CI.
* Improved coverage workflow consistency with dynamic toolchain
selection.

* **Tests**
* Removed nightly-only requirements, simplifying test commands and
improving compatibility.
* Expanded CI triggers to include ci-* branches for better pre-merge
validation.
* Maintained existing job logic while improving reliability and
maintainability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

66336 of 113291 relevant lines covered (58.55%)

551641.45 hits per line

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

33.33
/base_layer/sidechain/src/command.rs
1
// Copyright 2024 The Tari Project
2
// SPDX-License-Identifier: BSD-3-Clause
3

4
use borsh::{BorshDeserialize, BorshSerialize};
5
use serde::{Deserialize, Serialize};
6
use tari_common_types::types::FixedHash;
7
use tari_hashing::layer2::command_hasher;
8

9
use crate::eviction_proof::EvictNodeAtom;
10

11
pub trait ToCommand {
12
    fn to_command(&self) -> Command;
13
}
14

15
#[derive(Debug, Clone, Hash, PartialEq, Eq, Deserialize, Serialize, BorshSerialize, BorshDeserialize)]
×
16
pub enum Command {
17
    LocalOnly,
18
    LocalPrepare,
19
    LocalAccept,
20
    AllAccept,
21
    SomeAccept,
22
    ForeignProposal,
23
    EvictNode(EvictNodeAtom),
24
    EndEpoch,
25
}
26

27
impl Command {
28
    pub fn evict_node(&self) -> Option<&EvictNodeAtom> {
×
29
        match self {
×
30
            Self::EvictNode(evict_node_atom) => Some(evict_node_atom),
×
31
            _ => None,
×
32
        }
33
    }
×
34

35
    pub fn hash(&self) -> FixedHash {
2✔
36
        command_hasher().chain(self).finalize().into()
2✔
37
    }
2✔
38
}
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

© 2026 Coveralls, Inc