Bump Substrate (#3215)

* fix warning

* Update lib.rs
This commit is contained in:
Shawn Tabrizi
2021-06-12 11:41:38 +01:00
committed by GitHub
parent 8c3bc2b2bb
commit 7e7b40d11c
3 changed files with 157 additions and 158 deletions
+155 -156
View File
File diff suppressed because it is too large Load Diff
@@ -54,7 +54,7 @@ impl<C> crate::inclusion::RewardValidators for RewardValidatorsWithEraPoints<C>
.into_iter()
.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>) { }
+1 -1
View File
@@ -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 {