mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
Update substrate (#878)
* Switch branch * Small changes * Update substrate branch * Switch * Revert "Switch branch" This reverts commit b9d48b2ce8f5cbfa379dd385e817e80870391d9d. * fix * add `wipe` and `commit` * Remove deprecated_host_interface * Switch branch * HasherFor -> HashFor * More HasherFor changes * Final touches * Revert "Switch branch" This reverts commit d0da27313839559de01f59690f3826fe587becb8. Co-authored-by: thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ use polkadot_primitives::{
|
||||
ParachainHost, AvailableData, OmittedValidationData,
|
||||
},
|
||||
};
|
||||
use sp_runtime::traits::{BlakeTwo256, Hash as HashT, HasherFor};
|
||||
use sp_runtime::traits::{BlakeTwo256, Hash as HashT, HashFor};
|
||||
use sp_blockchain::{Result as ClientResult};
|
||||
use client::{
|
||||
BlockchainEvents, BlockBody,
|
||||
@@ -199,7 +199,7 @@ impl Store {
|
||||
P::Api: ParachainHost<Block>,
|
||||
P::Api: ApiExt<Block, Error=sp_blockchain::Error>,
|
||||
// Rust bug: https://github.com/rust-lang/rust/issues/24159
|
||||
sp_api::StateBackendFor<P, Block>: sp_api::StateBackend<HasherFor<Block>>,
|
||||
sp_api::StateBackendFor<P, Block>: sp_api::StateBackend<HashFor<Block>>,
|
||||
{
|
||||
let to_worker = self.to_worker.clone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user