mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 13:25:44 +00:00
companion for try-runtime revamp (#6187)
* update to reflect latest try-runtime stuff
* update to latest version
* fix
* fix miner
* update
* update
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -302,7 +302,7 @@ async fn create_election_ext<T, B>(
|
||||
) -> Result<Ext, Error<T>>
|
||||
where
|
||||
T: EPM::Config,
|
||||
B: BlockT,
|
||||
B: BlockT + DeserializeOwned,
|
||||
B::Header: DeserializeOwned,
|
||||
{
|
||||
use frame_support::{storage::generator::StorageMap, traits::PalletInfo};
|
||||
@@ -317,13 +317,14 @@ where
|
||||
transport: client.into_inner().into(),
|
||||
at,
|
||||
pallets,
|
||||
hashed_prefixes: vec![<frame_system::BlockHash<T>>::prefix_hash()],
|
||||
hashed_keys: vec![[twox_128(b"System"), twox_128(b"Number")].concat()],
|
||||
..Default::default()
|
||||
}))
|
||||
.inject_hashed_prefix(&<frame_system::BlockHash<T>>::prefix_hash())
|
||||
.inject_hashed_key(&[twox_128(b"System"), twox_128(b"Number")].concat())
|
||||
.build()
|
||||
.await
|
||||
.map_err(|why| Error::RemoteExternalities(why))
|
||||
.map(|rx| rx.inner_ext)
|
||||
}
|
||||
|
||||
/// Compute the election. It expects to NOT be `Phase::Off`. In other words, the snapshot must
|
||||
|
||||
Reference in New Issue
Block a user