remove unused staking trait bound (#11942)

This commit is contained in:
Kian Paimani
2022-08-01 11:44:56 +01:00
committed by GitHub
parent 658b179686
commit f73ce5795c
5 changed files with 3 additions and 38 deletions
+1 -10
View File
@@ -33,7 +33,7 @@ use sp_core::H256;
use sp_io;
use sp_runtime::{
curve::PiecewiseLinear,
testing::{Header, TestXt, UintAuthorityId},
testing::{Header, UintAuthorityId},
traits::{IdentityLookup, Zero},
};
use sp_staking::offence::{DisableStrategy, OffenceDetails, OnOffenceHandler};
@@ -304,15 +304,6 @@ impl crate::pallet::pallet::Config for Test {
type WeightInfo = ();
}
impl<LocalCall> frame_system::offchain::SendTransactionTypes<LocalCall> for Test
where
Call: From<LocalCall>,
{
type OverarchingCall = Call;
type Extrinsic = Extrinsic;
}
pub type Extrinsic = TestXt<Call, ()>;
pub(crate) type StakingCall = crate::Call<Test>;
pub(crate) type TestRuntimeCall = <Test as frame_system::Config>::Call;