companion for #13555 (#6842)

* companion for #13555

* update lockfile for {"substrate"}

* fix: `decl_TryRuntime` -> `decl_for_try_runtime`

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Niklas Adolfsson
2023-03-15 14:34:02 +01:00
committed by GitHub
parent ca787cddd4
commit b6593bbfa5
5 changed files with 213 additions and 196 deletions
+2 -1
View File
@@ -433,6 +433,7 @@ impl pallet_election_provider_multi_phase::MinerConfig for Runtime {
as
frame_election_provider_support::ElectionDataProvider
>::MaxVotesPerVoter;
type MaxWinners = MaxActiveValidators;
// The unsigned submissions have to respect the weight of the submit_unsigned call, thus their
// weight estimate function is wired to this call's weight.
@@ -2256,7 +2257,7 @@ mod multiplier_tests {
#[cfg(all(test, feature = "try-runtime"))]
mod remote_tests {
use super::*;
use frame_try_runtime::{runtime_decl_for_TryRuntime::TryRuntime, UpgradeCheckSelect};
use frame_try_runtime::{runtime_decl_for_try_runtime::TryRuntime, UpgradeCheckSelect};
use remote_externalities::{
Builder, Mode, OfflineConfig, OnlineConfig, SnapshotConfig, Transport,
};