Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from renlabs-dev/main
Browse files Browse the repository at this point in the history
fix: metadata removal
functor-flow authored Oct 18, 2024
2 parents a0efa98 + 854264b commit 5c766e3
Showing 6 changed files with 312 additions and 269 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

spec version `125`

updated metadata removal variable

spec version `124`

enforcing whitelist on genral subnet, lowering the min weights to 1
569 changes: 304 additions & 265 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pallets/subspace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-subspace"
version = "1.8.5"
version = "1.8.6"
description = "FRAME pallet for runtime logic of Subspace Blockchain."
authors = ["Commune Community"]
homepage = "https://commune.com"
2 changes: 1 addition & 1 deletion pallets/subspace/src/module.rs
Original file line number Diff line number Diff line change
@@ -285,7 +285,7 @@ impl<T: Config> Pallet<T> {
Address::<T>::remove(netuid, replace_uid);

// HANDLE THE METADATA
Metadata::<T>::remove(netuid, &replace_key);
Metadata::<T>::remove(netuid, &module_key);

// HANDLE THE NAMES
Name::<T>::insert(netuid, uid, Name::<T>::get(netuid, replace_uid));
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node-subspace-runtime"
version = "1.8.5"
version = "1.8.6"
description = "A Substrate node for commune-ai"
authors = ["Commune Community"]
homepage = "https://substrate.io/"
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -176,7 +176,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 124,
spec_version: 125,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,

0 comments on commit 5c766e3

Please sign in to comment.