diff --git a/node/Cargo.toml b/node/Cargo.toml index 249cfce36..a802dee04 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "node-subspace" version = "1.7.5" -description = "A fresh FRAME-based Substrate node, ready for hacking." +description = "The node implementation for Commune's subspace chain." authors = ["Substrate DevHub "] homepage = "https://communeai.org/" edition = "2021" diff --git a/pallets/subspace/tests/mock.rs b/pallets/subspace/tests/mock.rs index 87c8d2f0f..3b5fff71d 100644 --- a/pallets/subspace/tests/mock.rs +++ b/pallets/subspace/tests/mock.rs @@ -361,7 +361,7 @@ pub fn get_stakes(netuid: u16) -> Vec { #[allow(dead_code)] pub fn get_total_subnet_balance(netuid: u16) -> u64 { let keys = SubspaceModule::get_keys(netuid); - keys.iter().map(|x| SubspaceModule::get_balance_u64(x)).sum() + keys.iter().map(SubspaceModule::get_balance_u64).sum() } #[allow(dead_code)] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 74778968c..ddb97317c 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -112,6 +112,7 @@ pub type Migrations = ( pallet_grandpa::migrations::MigrateV4ToV5, pallet_subspace::migrations::v10::MigrateToV10, ); + // To learn more about runtime versioning, see: // https://docs.substrate.io/main-docs/build/upgrade#runtime-versioning #[sp_version::runtime_version] @@ -457,7 +458,6 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - Migrations, >; impl fp_self_contained::SelfContainedCall for RuntimeCall {