Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
65797c00
Commit
65797c00
authored
4 years ago
by
joe petrowski
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
update comments (#1445)
parent
106bd929
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/runtime/polkadot/src/lib.rs
+2
-3
2 additions, 3 deletions
polkadot/runtime/polkadot/src/lib.rs
with
2 additions
and
3 deletions
polkadot/runtime/polkadot/src/lib.rs
+
2
−
3
View file @
65797c00
...
...
@@ -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
>
},
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment