diff --git a/crates/shared/src/constants.rs b/crates/shared/src/constants.rs index 733740e4b..20304caa9 100644 --- a/crates/shared/src/constants.rs +++ b/crates/shared/src/constants.rs @@ -78,4 +78,4 @@ pub const SIGNER_THRESHOLD: u8 = 2; pub const TEST_RESHARE_BLOCK_NUMBER: u32 = 5; /// Program version number, must be incremented if version number changes -pub const PROGRAM_VERSION_NUMBER: u8 = 0; \ No newline at end of file +pub const PROGRAM_VERSION_NUMBER: u8 = 0; diff --git a/crates/test-cli/Cargo.toml b/crates/test-cli/Cargo.toml index e8c625ceb..c32f8f000 100644 --- a/crates/test-cli/Cargo.toml +++ b/crates/test-cli/Cargo.toml @@ -20,4 +20,4 @@ hex ="0.4.3" bincode ="1.3.3" x25519-dalek ="2.0.1" sp-runtime ={ version="32.0.0", default-features=false } -entropy-shared ={ version="0.2.0", path="../shared" } +entropy-shared={ version="0.2.0", path="../shared" } diff --git a/crates/test-cli/src/lib.rs b/crates/test-cli/src/lib.rs index f6f398d9b..b8b314a6b 100644 --- a/crates/test-cli/src/lib.rs +++ b/crates/test-cli/src/lib.rs @@ -30,6 +30,7 @@ use entropy_client::{ VERIFYING_KEY_LENGTH, }, }; +pub use entropy_shared::PROGRAM_VERSION_NUMBER; use sp_core::{sr25519, Hasher, Pair}; use sp_runtime::traits::BlakeTwo256; use std::{fs, path::PathBuf}; @@ -38,7 +39,6 @@ use subxt::{ utils::{AccountId32 as SubxtAccountId32, H256}, OnlineClient, }; -pub use entropy_shared::PROGRAM_VERSION_NUMBER; #[derive(Parser, Debug, Clone)] #[clap(