Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
c56ef44d
Unverified
Commit
c56ef44d
authored
Sep 14, 2021
by
Shawn Tabrizi
Committed by
GitHub
Sep 14, 2021
Browse files
fix complaints in CI (#3838)
parent
dee14847
Pipeline
#156983
canceled with stages
in 9 minutes and 41 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
runtime/common/src/elections.rs
View file @
c56ef44d
...
...
@@ -60,14 +60,15 @@ impl pallet_election_provider_multi_phase::BenchmarkingConfig for BenchmarkConfi
pub
type
OnOnChainAccuracy
=
sp_runtime
::
Perbill
;
/// The election provider of the genesis
pub
type
GenesisElectionOf
<
T
>
=
frame_election_provider_support
::
onchain
::
OnChainSequentialPhragmen
<
T
>
;
pub
type
GenesisElectionOf
<
T
>
=
frame_election_provider_support
::
onchain
::
OnChainSequentialPhragmen
<
T
>
;
/// Maximum number of iterations for balancing that will be executed in the embedded miner of
/// pallet-election-provider-multi-phase.
pub
const
MINER_MAX_ITERATIONS
:
u32
=
10
;
/// A source of random balance for the NPoS Solver, which is meant to be run by the
OCW election
/// miner.
/// A source of random balance for the NPoS Solver, which is meant to be run by the
offchain worker
///
election
miner.
pub
struct
OffchainRandomBalancing
;
impl
frame_support
::
pallet_prelude
::
Get
<
Option
<
(
usize
,
sp_npos_elections
::
ExtendedBalance
)
>>
for
OffchainRandomBalancing
...
...
runtime/kusama/src/weights/pallet_collective_council.rs
View file @
c56ef44d
...
...
@@ -41,7 +41,7 @@
use
frame_support
::{
traits
::
Get
,
weights
::
Weight
};
use
sp_std
::
marker
::
PhantomData
;
/// Weight functions for pallet_collective.
/// Weight functions for
`
pallet_collective
`
.
pub
struct
WeightInfo
<
T
>
(
PhantomData
<
T
>
);
impl
<
T
:
frame_system
::
Config
>
pallet_collective
::
WeightInfo
for
WeightInfo
<
T
>
{
// Storage: Instance1Collective Members (r:1 w:1)
...
...
runtime/kusama/src/weights/pallet_collective_technical_committee.rs
View file @
c56ef44d
...
...
@@ -41,7 +41,7 @@
use
frame_support
::{
traits
::
Get
,
weights
::
Weight
};
use
sp_std
::
marker
::
PhantomData
;
/// Weight functions for pallet_collective.
/// Weight functions for
`
pallet_collective
`
.
pub
struct
WeightInfo
<
T
>
(
PhantomData
<
T
>
);
impl
<
T
:
frame_system
::
Config
>
pallet_collective
::
WeightInfo
for
WeightInfo
<
T
>
{
// Storage: Instance2Collective Members (r:1 w:1)
...
...
runtime/polkadot/src/weights/pallet_collective_council.rs
View file @
c56ef44d
...
...
@@ -41,7 +41,7 @@
use
frame_support
::{
traits
::
Get
,
weights
::
Weight
};
use
sp_std
::
marker
::
PhantomData
;
/// Weight functions for pallet_collective.
/// Weight functions for
`
pallet_collective
`
.
pub
struct
WeightInfo
<
T
>
(
PhantomData
<
T
>
);
impl
<
T
:
frame_system
::
Config
>
pallet_collective
::
WeightInfo
for
WeightInfo
<
T
>
{
// Storage: Instance1Collective Members (r:1 w:1)
...
...
runtime/polkadot/src/weights/pallet_collective_technical_committee.rs
View file @
c56ef44d
...
...
@@ -41,7 +41,7 @@
use
frame_support
::{
traits
::
Get
,
weights
::
Weight
};
use
sp_std
::
marker
::
PhantomData
;
/// Weight functions for pallet_collective.
/// Weight functions for
`
pallet_collective
`
.
pub
struct
WeightInfo
<
T
>
(
PhantomData
<
T
>
);
impl
<
T
:
frame_system
::
Config
>
pallet_collective
::
WeightInfo
for
WeightInfo
<
T
>
{
// Storage: Instance2Collective Members (r:1 w:1)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment