mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 15:37:56 +00:00
* companion for #12212 * cargo fmt * fix build * update Cargo.lock * update Cargo.lock
This commit is contained in:
@@ -295,11 +295,16 @@ frame_support::parameter_types! {
|
||||
|
||||
/// Build the Ext at hash with all the data of `ElectionProviderMultiPhase` and any additional
|
||||
/// pallets.
|
||||
async fn create_election_ext<T: EPM::Config, B: BlockT + DeserializeOwned>(
|
||||
async fn create_election_ext<T, B>(
|
||||
client: SharedRpcClient,
|
||||
at: Option<B::Hash>,
|
||||
additional: Vec<String>,
|
||||
) -> Result<Ext, Error<T>> {
|
||||
) -> Result<Ext, Error<T>>
|
||||
where
|
||||
T: EPM::Config,
|
||||
B: BlockT,
|
||||
B::Header: DeserializeOwned,
|
||||
{
|
||||
use frame_support::{storage::generator::StorageMap, traits::PalletInfo};
|
||||
use sp_core::hashing::twox_128;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user