Skip to content

Commit

Permalink
chore: bump substrate to newest version (#93)
Browse files Browse the repository at this point in the history
Bumps the substrate version to a decently new one used by Polkadot 1.10. Closes #73.
  • Loading branch information
saiintbrisson committed Jun 5, 2024
1 parent 9ce2448 commit c1536d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/substrate-developer-hub>"]
homepage = "https://communeai.org/"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion pallets/subspace/tests/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ pub fn get_stakes(netuid: u16) -> Vec<u64> {
#[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)]
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pub type Migrations = (
pallet_grandpa::migrations::MigrateV4ToV5<Runtime>,
pallet_subspace::migrations::v10::MigrateToV10<Runtime>,
);

// To learn more about runtime versioning, see:
// https://docs.substrate.io/main-docs/build/upgrade#runtime-versioning
#[sp_version::runtime_version]
Expand Down Expand Up @@ -457,7 +458,6 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
Migrations,
>;

impl fp_self_contained::SelfContainedCall for RuntimeCall {
Expand Down

0 comments on commit c1536d2

Please sign in to comment.