mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 22:49:49 +00:00
Move registration of ReadRuntimeVersionExt to ExecutionExtension (#13820)
Instead of registering `ReadRuntimeVersionExt` in `sp-state-machine` it is moved to `ExecutionExtension` which provides the default extensions.
This commit is contained in:
1 parent
d3f5c70dde
commit
495773f96d
14 files changed
+40
-27
No files matched your search
@@ -290,12 +290,13 @@ impl<Block: BlockT, D, Backend, G: GenesisInit>
|
||||
});
|
||||
let executor = LocalCallExecutor::new(
|
||||
self.backend.clone(),
|
||||
executor,
|
||||
executor.clone(),
|
||||
Default::default(),
|
||||
ExecutionExtensions::new(
|
||||
self.execution_strategies.clone(),
|
||||
self.keystore.clone(),
|
||||
sc_offchain::OffchainDb::factory_from_backend(&*self.backend),
|
||||
Arc::new(executor),
|
||||
),
|
||||
)
|
||||
.expect("Creates LocalCallExecutor");
|
||||
|
||||
Reference in new issue
Block a user