Bump Substrate (#3215)

* fix warning

* Update lib.rs
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2021-06-12 12:41:38 +02:00
1 parent 8c3bc2b2bb
commit 7e7b40d11c
3 files changed
+157 -158

No files matched your search

+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 {