mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
Switch to latest impl-trait-for-tuples (#8082)
Switches to the latest version everywhere now, as I fixed the problems in the crate ;)
This commit is contained in:
@@ -25,7 +25,7 @@ frame-support = { version = "2.0.0", default-features = false, path = "../suppor
|
||||
frame-system = { version = "2.0.0", default-features = false, path = "../system" }
|
||||
pallet-timestamp = { version = "2.0.0", default-features = false, path = "../timestamp" }
|
||||
sp-trie = { version = "2.0.0", optional = true, default-features = false, path = "../../primitives/trie" }
|
||||
impl-trait-for-tuples = "0.1"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
|
||||
[dev-dependencies]
|
||||
sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" }
|
||||
|
||||
@@ -258,10 +258,8 @@ pub trait SessionHandler<ValidatorId> {
|
||||
}
|
||||
|
||||
#[impl_trait_for_tuples::impl_for_tuples(1, 30)]
|
||||
#[tuple_types_no_default_trait_bound]
|
||||
#[tuple_types_custom_trait_bound(OneSessionHandler<AId>)]
|
||||
impl<AId> SessionHandler<AId> for Tuple {
|
||||
for_tuples!( where #( Tuple: OneSessionHandler<AId> )* );
|
||||
|
||||
for_tuples!(
|
||||
const KEY_TYPE_IDS: &'static [KeyTypeId] = &[ #( <Tuple::Key as RuntimeAppPublic>::ID ),* ];
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user