Support authoring for multiple runtime versions (#816)

This commit is contained in:
Arkadiy Paronyan authored and Gav Wood committed 2018-09-27 13:56:40 +01:00
1 parent 5eb1aefde6
commit 29c9719568
11 files changed
+77 -32

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ mod local_executor {
#![allow(missing_docs)]
use super::runtime;
// TODO: change the macro and pass in the `BlakeHasher` that dispatch needs from here instead
native_executor_instance!(pub LocalExecutor, runtime::api::dispatch, runtime::VERSION, include_bytes!("../../test-runtime/wasm/target/wasm32-unknown-unknown/release/substrate_test_runtime.compact.wasm"));
native_executor_instance!(pub LocalExecutor, runtime::api::dispatch, runtime::native_version, include_bytes!("../../test-runtime/wasm/target/wasm32-unknown-unknown/release/substrate_test_runtime.compact.wasm"));
}
/// Native executor used for tests.