diff --git a/bin/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs index ca451db15e954..4ba355e8f36d4 100644 --- a/bin/node/runtime/src/lib.rs +++ b/bin/node/runtime/src/lib.rs @@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to equal spec_version. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 197, + spec_version: 198, impl_version: 198, apis: RUNTIME_API_VERSIONS, }; diff --git a/frame/democracy/src/lib.rs b/frame/democracy/src/lib.rs index 54044cd1fa818..33fe6453fc7df 100644 --- a/frame/democracy/src/lib.rs +++ b/frame/democracy/src/lib.rs @@ -283,7 +283,7 @@ decl_storage! { map ReferendumIndex => Option<(ReferendumInfo)>; /// Queue of successful referenda to be dispatched. pub DispatchQueue get(fn dispatch_queue): - map T::BlockNumber => Vec>; + map hasher(twox_64_concat) T::BlockNumber => Vec>; /// Get the voters for the current proposal. pub VotersFor get(fn voters_for): map ReferendumIndex => Vec; diff --git a/primitives/sr-version/src/lib.rs b/primitives/sr-version/src/lib.rs index b567904b16bd4..edb4aa851e7e8 100644 --- a/primitives/sr-version/src/lib.rs +++ b/primitives/sr-version/src/lib.rs @@ -173,8 +173,8 @@ impl NativeVersion { self.runtime_version.spec_name, other.spec_name, )) - } else if (self.runtime_version.authoring_version != other.authoring_version - && !self.can_author_with.contains(&other.authoring_version)) + } else if self.runtime_version.authoring_version != other.authoring_version + && !self.can_author_with.contains(&other.authoring_version) { Err(format!( "`authoring_version` does not match `{version}` vs `{other_version}` and \