Skip to content

Commit

Permalink
Companion PR for paritytech#5200 (paritytech#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Apr 24, 2020
1 parent 2123c90 commit e3530f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions parachain/src/wasm_executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion runtime/test-runtime/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e3530f9

Please sign in to comment.