Simplify runtime api error handling (#8114)

* Ahh

* Work work work

* Fix all the compilation errors

* Fix test

* More fixes...
This commit is contained in:
Bastian Köcher authored and GitHub committed 2021-02-15 11:55:40 +00:00
1 parent b5e692104c
commit 33f9becf41
48 files changed
+270 -415

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ pub fn executor() -> NativeExecutor<Executor> {
pub fn executor_call<
R:Decode + Encode + PartialEq,
NC: FnOnce() -> std::result::Result<R, String> + std::panic::UnwindSafe
NC: FnOnce() -> std::result::Result<R, Box<dyn std::error::Error + Send + Sync>> + std::panic::UnwindSafe
>(
t: &mut TestExternalities<BlakeTwo256>,
method: &str,