mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
committed by
GitHub
parent
37ec3f1748
commit
8151b175bc
@@ -269,6 +269,10 @@ impl sp_externalities::Externalities for ValidationExternalities {
|
|||||||
fn commit(&mut self) {
|
fn commit(&mut self) {
|
||||||
panic!("commit: unsupported feature for parachain validation")
|
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 {
|
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 blockchain = Arc::new(sc_client::light::blockchain::Blockchain::new(storage));
|
||||||
let backend = Arc::new(LightBackend::new(blockchain.clone()));
|
let backend = Arc::new(LightBackend::new(blockchain.clone()));
|
||||||
let executor = new_native_executor();
|
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(
|
let call_executor = LightExecutor::new(
|
||||||
backend.clone(),
|
backend.clone(),
|
||||||
local_call_executor,
|
local_call_executor,
|
||||||
|
|||||||
Reference in New Issue
Block a user