mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
* Companion for #6576 * 'Update substrate' Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+137
-137
File diff suppressed because it is too large
Load Diff
@@ -539,10 +539,10 @@ impl<T: Trait> sp_runtime::traits::ValidateUnsigned for Module<T> {
|
|||||||
/// otherwise free to place on chain.
|
/// otherwise free to place on chain.
|
||||||
#[derive(Encode, Decode, Clone, Eq, PartialEq)]
|
#[derive(Encode, Decode, Clone, Eq, PartialEq)]
|
||||||
pub struct PrevalidateAttests<T: Trait + Send + Sync>(sp_std::marker::PhantomData<T>) where
|
pub struct PrevalidateAttests<T: Trait + Send + Sync>(sp_std::marker::PhantomData<T>) where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>;
|
<T as system::Trait>::Call: IsSubType<Call<T>>;
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> Debug for PrevalidateAttests<T> where
|
impl<T: Trait + Send + Sync> Debug for PrevalidateAttests<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result {
|
fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result {
|
||||||
@@ -556,7 +556,7 @@ impl<T: Trait + Send + Sync> Debug for PrevalidateAttests<T> where
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> PrevalidateAttests<T> where
|
impl<T: Trait + Send + Sync> PrevalidateAttests<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
/// Create new `SignedExtension` to check runtime version.
|
/// Create new `SignedExtension` to check runtime version.
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
@@ -565,7 +565,7 @@ impl<T: Trait + Send + Sync> PrevalidateAttests<T> where
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> SignedExtension for PrevalidateAttests<T> where
|
impl<T: Trait + Send + Sync> SignedExtension for PrevalidateAttests<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
type AccountId = T::AccountId;
|
type AccountId = T::AccountId;
|
||||||
type Call = <T as system::Trait>::Call;
|
type Call = <T as system::Trait>::Call;
|
||||||
|
|||||||
@@ -1605,7 +1605,7 @@ pub enum DoubleVoteValidityError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> SignedExtension for ValidateDoubleVoteReports<T> where
|
impl<T: Trait + Send + Sync> SignedExtension for ValidateDoubleVoteReports<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
const IDENTIFIER: &'static str = "ValidateDoubleVoteReports";
|
const IDENTIFIER: &'static str = "ValidateDoubleVoteReports";
|
||||||
type AccountId = T::AccountId;
|
type AccountId = T::AccountId;
|
||||||
|
|||||||
@@ -561,10 +561,10 @@ impl<T: Trait> ActiveParas for Module<T> {
|
|||||||
/// Ensure that parathread selections happen prioritized by fees.
|
/// Ensure that parathread selections happen prioritized by fees.
|
||||||
#[derive(Encode, Decode, Clone, Eq, PartialEq)]
|
#[derive(Encode, Decode, Clone, Eq, PartialEq)]
|
||||||
pub struct LimitParathreadCommits<T: Trait + Send + Sync>(sp_std::marker::PhantomData<T>) where
|
pub struct LimitParathreadCommits<T: Trait + Send + Sync>(sp_std::marker::PhantomData<T>) where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>;
|
<T as system::Trait>::Call: IsSubType<Call<T>>;
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> LimitParathreadCommits<T> where
|
impl<T: Trait + Send + Sync> LimitParathreadCommits<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
/// Create a new `LimitParathreadCommits` struct.
|
/// Create a new `LimitParathreadCommits` struct.
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
@@ -573,7 +573,7 @@ impl<T: Trait + Send + Sync> LimitParathreadCommits<T> where
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> sp_std::fmt::Debug for LimitParathreadCommits<T> where
|
impl<T: Trait + Send + Sync> sp_std::fmt::Debug for LimitParathreadCommits<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result {
|
fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result {
|
||||||
write!(f, "LimitParathreadCommits<T>")
|
write!(f, "LimitParathreadCommits<T>")
|
||||||
@@ -590,7 +590,7 @@ pub enum ValidityError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Trait + Send + Sync> SignedExtension for LimitParathreadCommits<T> where
|
impl<T: Trait + Send + Sync> SignedExtension for LimitParathreadCommits<T> where
|
||||||
<T as system::Trait>::Call: IsSubType<Module<T>, T>
|
<T as system::Trait>::Call: IsSubType<Call<T>>
|
||||||
{
|
{
|
||||||
const IDENTIFIER: &'static str = "LimitParathreadCommits";
|
const IDENTIFIER: &'static str = "LimitParathreadCommits";
|
||||||
type AccountId = T::AccountId;
|
type AccountId = T::AccountId;
|
||||||
|
|||||||
@@ -928,7 +928,7 @@ construct_runtime! {
|
|||||||
RandomnessCollectiveFlip: randomness_collective_flip::{Module, Storage},
|
RandomnessCollectiveFlip: randomness_collective_flip::{Module, Storage},
|
||||||
|
|
||||||
// Must be before session.
|
// Must be before session.
|
||||||
Babe: babe::{Module, Call, Storage, Config, Inherent(Timestamp), ValidateUnsigned},
|
Babe: babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned},
|
||||||
|
|
||||||
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
||||||
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
||||||
|
|||||||
@@ -934,7 +934,7 @@ construct_runtime! {
|
|||||||
Scheduler: scheduler::{Module, Call, Storage, Event<T>},
|
Scheduler: scheduler::{Module, Call, Storage, Event<T>},
|
||||||
|
|
||||||
// Must be before session.
|
// Must be before session.
|
||||||
Babe: babe::{Module, Call, Storage, Config, Inherent(Timestamp), ValidateUnsigned},
|
Babe: babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned},
|
||||||
|
|
||||||
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
||||||
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ construct_runtime! {
|
|||||||
RandomnessCollectiveFlip: randomness_collective_flip::{Module, Storage},
|
RandomnessCollectiveFlip: randomness_collective_flip::{Module, Storage},
|
||||||
|
|
||||||
// Must be before session.
|
// Must be before session.
|
||||||
Babe: babe::{Module, Call, Storage, Config, Inherent(Timestamp)},
|
Babe: babe::{Module, Call, Storage, Config, Inherent},
|
||||||
|
|
||||||
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
||||||
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
||||||
|
|||||||
@@ -692,7 +692,7 @@ construct_runtime! {
|
|||||||
RandomnessCollectiveFlip: randomness_collective_flip::{Module, Storage},
|
RandomnessCollectiveFlip: randomness_collective_flip::{Module, Storage},
|
||||||
|
|
||||||
// Must be before session.
|
// Must be before session.
|
||||||
Babe: babe::{Module, Call, Storage, Config, Inherent(Timestamp), ValidateUnsigned},
|
Babe: babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned},
|
||||||
|
|
||||||
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
Timestamp: timestamp::{Module, Call, Storage, Inherent},
|
||||||
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
Indices: indices::{Module, Call, Storage, Config<T>, Event<T>},
|
||||||
|
|||||||
Reference in New Issue
Block a user