This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
primitives/sr-version/src Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
7878 // and set impl_version to equal spec_version. If only runtime
7979 // implementation changes and behavior does not, then leave spec_version as
8080 // is and increment impl_version.
81- spec_version : 197 ,
81+ spec_version : 198 ,
8282 impl_version : 198 ,
8383 apis : RUNTIME_API_VERSIONS ,
8484} ;
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ decl_storage! {
283283 map ReferendumIndex => Option <( ReferendumInfo <T :: BlockNumber , T :: Hash >) >;
284284 /// Queue of successful referenda to be dispatched.
285285 pub DispatchQueue get( fn dispatch_queue) :
286- map T :: BlockNumber => Vec <Option <( T :: Hash , ReferendumIndex ) >>;
286+ map hasher ( twox_64_concat ) T :: BlockNumber => Vec <Option <( T :: Hash , ReferendumIndex ) >>;
287287
288288 /// Get the voters for the current proposal.
289289 pub VotersFor get( fn voters_for) : map ReferendumIndex => Vec <T :: AccountId >;
Original file line number Diff line number Diff line change @@ -173,8 +173,8 @@ impl NativeVersion {
173173 self . runtime_version. spec_name,
174174 other. spec_name,
175175 ) )
176- } else if ( self . runtime_version . authoring_version != other. authoring_version
177- && !self . can_author_with . contains ( & other. authoring_version ) )
176+ } else if self . runtime_version . authoring_version != other. authoring_version
177+ && !self . can_author_with . contains ( & other. authoring_version )
178178 {
179179 Err ( format ! (
180180 "`authoring_version` does not match `{version}` vs `{other_version}` and \
You can’t perform that action at this time.
0 commit comments