srml-utility: Store errors as DispatchError to make the decodable (#3766)

This commit is contained in:
Bastian Köcher
2019-10-05 13:06:38 +02:00
committed by Gavin Wood
parent 954e980ae3
commit 1a327cd894
2 changed files with 9 additions and 14 deletions
+3 -3
View File
@@ -84,8 +84,8 @@ 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: 171,
impl_version: 171,
spec_version: 172,
impl_version: 172,
apis: RUNTIME_API_VERSIONS,
};
@@ -497,7 +497,7 @@ construct_runtime!(
UncheckedExtrinsic = UncheckedExtrinsic
{
System: system::{Module, Call, Storage, Config, Event},
Utility: utility::{Module, Call, Event<T>},
Utility: utility::{Module, Call, Event},
Babe: babe::{Module, Call, Storage, Config, Inherent(Timestamp)},
Timestamp: timestamp::{Module, Call, Storage, Inherent},
Authorship: authorship::{Module, Call, Storage, Inherent},