mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
* Adding `MaxKeys` `MaxPeerInHeartbeats` and `MaxPeerDataEncodingSize` to paller `im_online` after substrate changes * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+154
-154
File diff suppressed because it is too large
Load Diff
@@ -702,6 +702,9 @@ parameter_types! {
|
|||||||
pub const BountyValueMinimum: Balance = 200 * CENTS;
|
pub const BountyValueMinimum: Balance = 200 * CENTS;
|
||||||
pub const MaxApprovals: u32 = 100;
|
pub const MaxApprovals: u32 = 100;
|
||||||
pub const MaxAuthorities: u32 = 100_000;
|
pub const MaxAuthorities: u32 = 100_000;
|
||||||
|
pub const MaxKeys: u32 = 10_000;
|
||||||
|
pub const MaxPeerInHeartbeats: u32 = 10_000;
|
||||||
|
pub const MaxPeerDataEncodingSize: u32 = 1_000;
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApproveOrigin = EnsureOneOf<
|
type ApproveOrigin = EnsureOneOf<
|
||||||
@@ -774,6 +777,9 @@ impl pallet_im_online::Config for Runtime {
|
|||||||
type ReportUnresponsiveness = Offences;
|
type ReportUnresponsiveness = Offences;
|
||||||
type UnsignedPriority = ImOnlineUnsignedPriority;
|
type UnsignedPriority = ImOnlineUnsignedPriority;
|
||||||
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
||||||
|
type MaxKeys = MaxKeys;
|
||||||
|
type MaxPeerInHeartbeats = MaxPeerInHeartbeats;
|
||||||
|
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_grandpa::Config for Runtime {
|
impl pallet_grandpa::Config for Runtime {
|
||||||
|
|||||||
@@ -688,6 +688,9 @@ parameter_types! {
|
|||||||
pub const BountyValueMinimum: Balance = 10 * DOLLARS;
|
pub const BountyValueMinimum: Balance = 10 * DOLLARS;
|
||||||
pub const MaxApprovals: u32 = 100;
|
pub const MaxApprovals: u32 = 100;
|
||||||
pub const MaxAuthorities: u32 = 100_000;
|
pub const MaxAuthorities: u32 = 100_000;
|
||||||
|
pub const MaxKeys: u32 = 10_000;
|
||||||
|
pub const MaxPeerInHeartbeats: u32 = 10_000;
|
||||||
|
pub const MaxPeerDataEncodingSize: u32 = 1_000;
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApproveOrigin = EnsureOneOf<
|
type ApproveOrigin = EnsureOneOf<
|
||||||
@@ -760,6 +763,9 @@ impl pallet_im_online::Config for Runtime {
|
|||||||
type ReportUnresponsiveness = Offences;
|
type ReportUnresponsiveness = Offences;
|
||||||
type UnsignedPriority = ImOnlineUnsignedPriority;
|
type UnsignedPriority = ImOnlineUnsignedPriority;
|
||||||
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
||||||
|
type MaxKeys = MaxKeys;
|
||||||
|
type MaxPeerInHeartbeats = MaxPeerInHeartbeats;
|
||||||
|
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_grandpa::Config for Runtime {
|
impl pallet_grandpa::Config for Runtime {
|
||||||
|
|||||||
@@ -377,6 +377,9 @@ parameter_types! {
|
|||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const ImOnlineUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
|
pub const ImOnlineUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
|
||||||
|
pub const MaxKeys: u32 = 10_000;
|
||||||
|
pub const MaxPeerInHeartbeats: u32 = 10_000;
|
||||||
|
pub const MaxPeerDataEncodingSize: u32 = 1_000;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_im_online::Config for Runtime {
|
impl pallet_im_online::Config for Runtime {
|
||||||
@@ -387,6 +390,9 @@ impl pallet_im_online::Config for Runtime {
|
|||||||
type ReportUnresponsiveness = Offences;
|
type ReportUnresponsiveness = Offences;
|
||||||
type UnsignedPriority = ImOnlineUnsignedPriority;
|
type UnsignedPriority = ImOnlineUnsignedPriority;
|
||||||
type WeightInfo = ();
|
type WeightInfo = ();
|
||||||
|
type MaxKeys = MaxKeys;
|
||||||
|
type MaxPeerInHeartbeats = MaxPeerInHeartbeats;
|
||||||
|
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
|
|||||||
@@ -483,6 +483,9 @@ impl pallet_authority_discovery::Config for Runtime {
|
|||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const NposSolutionPriority: TransactionPriority = TransactionPriority::max_value() / 2;
|
pub const NposSolutionPriority: TransactionPriority = TransactionPriority::max_value() / 2;
|
||||||
pub const ImOnlineUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
|
pub const ImOnlineUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
|
||||||
|
pub const MaxKeys: u32 = 10_000;
|
||||||
|
pub const MaxPeerInHeartbeats: u32 = 10_000;
|
||||||
|
pub const MaxPeerDataEncodingSize: u32 = 1_000;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_im_online::Config for Runtime {
|
impl pallet_im_online::Config for Runtime {
|
||||||
@@ -493,6 +496,9 @@ impl pallet_im_online::Config for Runtime {
|
|||||||
type ReportUnresponsiveness = Offences;
|
type ReportUnresponsiveness = Offences;
|
||||||
type UnsignedPriority = ImOnlineUnsignedPriority;
|
type UnsignedPriority = ImOnlineUnsignedPriority;
|
||||||
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
||||||
|
type MaxKeys = MaxKeys;
|
||||||
|
type MaxPeerInHeartbeats = MaxPeerInHeartbeats;
|
||||||
|
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_grandpa::Config for Runtime {
|
impl pallet_grandpa::Config for Runtime {
|
||||||
|
|||||||
Reference in New Issue
Block a user