mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 07:01:05 +00:00
companion for substrate#9788 (#3858)
* companion for https://github.com/paritytech/substrate/pull/9788 * fmt * Some fixes * final fixes * fix a few small things * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -389,15 +389,15 @@ async fn create_election_ext<T: EPM::Config, B: BlockT>(
|
||||
use frame_support::{storage::generator::StorageMap, traits::PalletInfo};
|
||||
use sp_core::hashing::twox_128;
|
||||
|
||||
let mut modules = vec![<T as frame_system::Config>::PalletInfo::name::<EPM::Pallet<T>>()
|
||||
let mut pallets = vec![<T as frame_system::Config>::PalletInfo::name::<EPM::Pallet<T>>()
|
||||
.expect("Pallet always has name; qed.")
|
||||
.to_string()];
|
||||
modules.extend(additional);
|
||||
pallets.extend(additional);
|
||||
Builder::<B>::new()
|
||||
.mode(Mode::Online(OnlineConfig {
|
||||
transport: uri.into(),
|
||||
at,
|
||||
modules,
|
||||
pallets,
|
||||
..Default::default()
|
||||
}))
|
||||
.inject_hashed_prefix(&<frame_system::BlockHash<T>>::prefix_hash())
|
||||
|
||||
Reference in New Issue
Block a user