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
0ea96d1c
Unverified
Commit
0ea96d1c
authored
Jul 27, 2020
by
joe petrowski
Committed by
GitHub
Jul 27, 2020
Browse files
update comments (#1445)
parent
12a02556
Pipeline
#101736
failed with stages
in 21 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
runtime/polkadot/src/lib.rs
View file @
0ea96d1c
...
...
@@ -329,7 +329,7 @@ parameter_types! {
pub
const
SlashDeferDuration
:
staking
::
EraIndex
=
28
;
pub
const
RewardCurve
:
&
'static
PiecewiseLinear
<
'static
>
=
&
REWARD_CURVE
;
pub
const
MaxNominatorRewardedPerValidator
:
u32
=
64
;
//
quar
te
r
of the last session will be for election.
//
last 15 minu
te
s
of the last session will be for election.
pub
const
ElectionLookahead
:
BlockNumber
=
EPOCH_DURATION_IN_BLOCKS
/
16
;
pub
const
MaxIterations
:
u32
=
10
;
pub
MinSolutionScoreBump
:
Perbill
=
Perbill
::
from_rational_approximation
(
5u32
,
10_000
);
...
...
@@ -1107,8 +1107,7 @@ construct_runtime! {
ImOnline
:
im_online
::{
Module
,
Call
,
Storage
,
Event
<
T
>
,
ValidateUnsigned
,
Config
<
T
>
},
AuthorityDiscovery
:
authority_discovery
::{
Module
,
Call
,
Config
},
// Governance stuff; uncallable initially. Calls should be uncommented once we're ready to
// enable governance.
// Governance stuff.
Democracy
:
democracy
::{
Module
,
Call
,
Storage
,
Config
,
Event
<
T
>
},
Council
:
collective
::
<
Instance1
>
::{
Module
,
Call
,
Storage
,
Origin
<
T
>
,
Event
<
T
>
,
Config
<
T
>
},
TechnicalCommittee
:
collective
::
<
Instance2
>
::{
Module
,
Call
,
Storage
,
Origin
<
T
>
,
Event
<
T
>
,
Config
<
T
>
},
...
...
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