Unverified Commit 0795cb57 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Bump Substrate (#3215)

* fix warning

* Update lib.rs
parent b9204405
Pipeline #141889 passed with stages
in 33 minutes and 53 seconds
This diff is collapsed.
...@@ -54,7 +54,7 @@ impl<C> crate::inclusion::RewardValidators for RewardValidatorsWithEraPoints<C> ...@@ -54,7 +54,7 @@ impl<C> crate::inclusion::RewardValidators for RewardValidatorsWithEraPoints<C>
.into_iter() .into_iter()
.map(|v| (v.clone(), BACKING_POINTS)); .map(|v| (v.clone(), BACKING_POINTS));
<pallet_staking::Module<C>>::reward_by_ids(rewards); <pallet_staking::Pallet<C>>::reward_by_ids(rewards);
} }
fn reward_bitfields(_validators: impl IntoIterator<Item=ValidatorIndex>) { } fn reward_bitfields(_validators: impl IntoIterator<Item=ValidatorIndex>) { }
......
...@@ -317,7 +317,7 @@ impl frame_election_provider_support::onchain::Config for Runtime { ...@@ -317,7 +317,7 @@ impl frame_election_provider_support::onchain::Config for Runtime {
type BlockNumber = <Self as frame_system::Config>::BlockNumber; type BlockNumber = <Self as frame_system::Config>::BlockNumber;
type BlockWeights = (); type BlockWeights = ();
type Accuracy = sp_runtime::Perbill; type Accuracy = sp_runtime::Perbill;
type DataProvider = pallet_staking::Module<Self>; type DataProvider = Staking;
} }
impl pallet_staking::Config for Runtime { impl pallet_staking::Config for Runtime {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment