Eradicate native_equivalent (#3494)

* Add ability to supply extra storage in test-client

* Don't use native_equivalent in tests.

* Get rid of native_equivalent

* Try to make fields private

* Apply Basti's suggestions

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Sergei Pepyakin
2019-08-27 22:20:47 +02:00
committed by GitHub
parent 095c7de7ff
commit 36ef4c067b
9 changed files with 70 additions and 51 deletions
+2 -3
View File
@@ -18,8 +18,7 @@ pub use substrate_executor::NativeExecutor;
native_executor_instance!(
pub Executor,
node_template_runtime::api::dispatch,
node_template_runtime::native_version,
WASM_BINARY
node_template_runtime::native_version
);
construct_simple_protocol! {
@@ -72,7 +71,7 @@ macro_rules! new_full_start {
Ok(import_queue)
})?;
(builder, import_setup, inherent_data_providers, tasks_to_spawn)
}}
}