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

@@ -31,7 +31,7 @@ use blockchain::Backend as ChainBackend;
use call_executor::{CallExecutor, CallResult};
use error::{Error as ClientError, ErrorKind as ClientErrorKind, Result as ClientResult};
use light::fetcher::{Fetcher, RemoteCallRequest};
use executor::RuntimeVersion;
use executor::{RuntimeVersion, NativeVersion};
use codec::Decode;
use heapsize::HeapSizeOf;
use trie::MemoryDB;
@@ -118,7 +118,7 @@ where
Err(ClientErrorKind::NotAvailableOnLightClient.into())
}
fn native_runtime_version(&self) -> Option<RuntimeVersion> {
fn native_runtime_version(&self) -> Option<&NativeVersion> {
None
}
}