quantus-cli 1.3.0

Command line interface and library for interacting with the Quantus Network
1
2
3
4
5
6
7
8
9
10
11
//! Configuration management module
//!
//! This module handles runtime compatibility information.

/// List of runtime spec versions that this CLI is compatible with
pub const COMPATIBLE_RUNTIME_VERSIONS: &[u32] = &[123];

/// Check if a runtime version is compatible with this CLI
pub fn is_runtime_compatible(spec_version: u32) -> bool {
	COMPATIBLE_RUNTIME_VERSIONS.contains(&spec_version)
}