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
0795cb57
Unverified
Commit
0795cb57
authored
Jun 12, 2021
by
Shawn Tabrizi
Committed by
GitHub
Jun 12, 2021
Browse files
Bump Substrate (#3215)
* fix warning * Update lib.rs
parent
b9204405
Pipeline
#141889
passed with stages
in 33 minutes and 53 seconds
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
0795cb57
This diff is collapsed.
Click to expand it.
runtime/parachains/src/reward_points.rs
View file @
0795cb57
...
...
@@ -54,7 +54,7 @@ impl<C> crate::inclusion::RewardValidators for RewardValidatorsWithEraPoints<C>
.into_iter
()
.map
(|
v
|
(
v
.clone
(),
BACKING_POINTS
));
<
pallet_staking
::
Modu
le
<
C
>>
::
reward_by_ids
(
rewards
);
<
pallet_staking
::
Pal
le
t
<
C
>>
::
reward_by_ids
(
rewards
);
}
fn
reward_bitfields
(
_validators
:
impl
IntoIterator
<
Item
=
ValidatorIndex
>
)
{
}
...
...
runtime/test-runtime/src/lib.rs
View file @
0795cb57
...
...
@@ -317,7 +317,7 @@ impl frame_election_provider_support::onchain::Config for Runtime {
type
BlockNumber
=
<
Self
as
frame_system
::
Config
>
::
BlockNumber
;
type
BlockWeights
=
();
type
Accuracy
=
sp_runtime
::
Perbill
;
type
DataProvider
=
pallet_staking
::
Module
<
Self
>
;
type
DataProvider
=
Staking
;
}
impl
pallet_staking
::
Config
for
Runtime
{
...
...
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