Skip to content
Snippets Groups Projects
Commit 8151b175 authored by Bernhard Schuster's avatar Bernhard Schuster Committed by GitHub
Browse files

Companion PR for #5200 (#1025)

parent 37ec3f17
No related merge requests found
......@@ -269,6 +269,10 @@ impl sp_externalities::Externalities for ValidationExternalities {
fn commit(&mut self) {
panic!("commit: unsupported feature for parachain validation")
}
fn set_offchain_storage(&mut self, _: &[u8], _: std::option::Option<&[u8]>) {
panic!("set_offchain_storage: unsupported feature for parachain validation")
}
}
impl sp_externalities::ExtensionStore for ValidationExternalities {
......
......@@ -285,7 +285,7 @@ pub fn new_light() -> (
let blockchain = Arc::new(sc_client::light::blockchain::Blockchain::new(storage));
let backend = Arc::new(LightBackend::new(blockchain.clone()));
let executor = new_native_executor();
let local_call_executor = sc_client::LocalCallExecutor::new(backend.clone(), executor, sp_core::tasks::executor(),);
let local_call_executor = sc_client::LocalCallExecutor::new(backend.clone(), executor, sp_core::tasks::executor(), Default::default(),);
let call_executor = LightExecutor::new(
backend.clone(),
local_call_executor,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment